Erlang::Parser::Node - performed by all AST nodes
package Erlang::Parser::Node::Quux; use Moose; with 'Erlang::Parser::Node';
Erlang::Parser::Node is the Moose::Role performed by all Erlang::Parser AST nodes. So far, it requires one definition to be provided by the class performing it; print, which takes a filehandle, and pretty-prints the node contents (in Erlang) to it.
print
It provides no (!) function of its own, other than ensuring all AST nodes know how to pretty-print themselves, and providing a type-name in the Moose type hierarchy; see Moose::Util::TypeConstraints.
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.