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::Directive - a compiler directive

DESCRIPTION

Any pragma to the compiler.

Accessors

directive

The name of the pragma.

args

A list of Erlang::Parser::Nodes which make up the arguments of the directive, if any.

Methods

print

Pretty-prints the node to its filehandle argument.

EXAMPLE

        -export([a/0]).