The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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