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

NAME

Erlang::Parser::Node::FunLocalCase - one case in a local fun

DESCRIPTION

To Erlang::Parser::Node::FunLocal as Erlang::Parser::Node::Def is to Erlang::Parser::Node::DefList.

Accessors

args

A list of Erlang::Parser::Nodes which constitute the argument patterns to be matched.

whens

The Erlang::Parser::Node::WhenList containing guard expressions/sequences.

stmts

A list of Erlang::Parser::Nodes; the body for the function.

Methods

print

Pretty-prints the node to its filehandle argument.

EXAMPLE

        (X) when is_bool(X) -> 4