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::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]).