There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

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