The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Erlang::Parser::Node::FunRef - a reference to a function

DESCRIPTION

A reference to a function (as a first-class value), either local to this module, or external.

Accessors

module

An optional Erlang::Parser::Node which returns as an atom the name of the module to find the function in.

function

The name of the function (a plain string).

arity

The arity of the function (a number).

Methods

print

Pretty-prints the node to its filehandle argument.

EXAMPLE

        fun ?MODULE:code_change/0