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

NAME

Erlang::Parser::Node::WhenList - a guard sequence

DESCRIPTION

Used to restrict the circumstances under which a pattern match will match; comprised of guards separated by semi-colons, each which is comprised of several guard expressions separated by commas. The guard sequence as a whole passes if all guard expressions in any guard pass.

Accessors

groups

A list of a list of Erlang::Parser::Nodes; each individual list of nodes is a guard (and each node a guard expression).

exprs

Used only during construction of the guard sequence; should be empty after parsing is complete.

Methods

print

Pretty-prints the node to its filehandle argument.

EXAMPLE

        when is_bool(X), is_bool(Y); X < Y