NAME
Erlang::Parser::Node - performed by all AST nodes
SYNOPSIS
package Erlang::Parser::Node::Quux;
use Moose;
with 'Erlang::Parser::Node';
DESCRIPTION
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.
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.