
Erlang::Parser::Node::Def - a match in a function definition

Contains a single pattern match and guard expr/seq list, with the body of the function.
defThe name of the function.
argsA list of Erlang::Parser::Nodes which constitute the argument patterns to be matched.
whensThe Erlang::Parser::Node::WhenList containing guard expressions/sequences.
stmtsA list of Erlang::Parser::Nodes; the body for the function.
printPretty-prints the node to its filehandle argument.

x(Y) ->
Z = Y + Y,
Z * 2