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