The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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