NAME

Config::HAProxy::Node::Statement - simple statement node in HAProxy tree

DESCRIPTION

Objects of this class represent simple statements in HAProxy configuration file. A simple statement is any statement excepting: global, defaults, frontend, and backend.

METHODS

is_statement

Returns true.

kw

Returns the configuration keyword.

argv

Returns the list of arguments to the configuration keyword.

arg

$s = $node->arg($n)

Returns the $nth argument.

orig

Returns original line as it appeared in the configuration file.

locus

Returns the location of this statement in the configuration file (the Text::Locus object).

SEE ALSO

Config::HAProxy::Node, Config::HAProxy, Text::Locus.