Erlang::Parser::Node::BinOp - a binary operation
An infix binary operation.
op
The operation as a string (i.e. '+' for addition, '--' for list difference).
a
b
The first and second Erlang::Parser::Node arguments to the operation.
print
Pretty-prints the node to its filehandle argument.
1 + 1
To install Erlang::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Erlang::Parser
CPAN shell
perl -MCPAN -e shell install Erlang::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.