Arlen Cuss > Erlang-Parser-0.5.1 > Erlang::Parser::Node::IfExpr

Download:
Erlang-Parser-0.5.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Erlang::Parser::Node::IfExpr - a case in an if statement

DESCRIPTION ^

A block of statements; a glorified parenthesis.

Accessors

seq

The guard sequence; a list of Erlang::Parser::Nodes.

exprs

The body of Erlang::Parser::Nodes to be executed if seq evalutes true.

Methods

print

Pretty-prints the node to its filehandle argument.

EXAMPLE ^

        X>Y ->
                true
syntax highlighting: