Arlen Cuss > Erlang-Parser-0.5 > Erlang::Parser::Node::If

Download:
Erlang-Parser-0.5.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Erlang-Parser-0.5.1

NAME ^

Erlang::Parser::Node::If - an 'if' statement

DESCRIPTION ^

A list of guards and statement blocks to execute if one is true.

Accessors

cases

A list of Erlang::Parser::Node::IfExprs.

Methods

print

Pretty-prints the node to its filehandle argument.

EXAMPLE ^

        if
                X>Y ->
                        true;
                true ->
                        false
        end
syntax highlighting: