Parse::RandGen::Literal - Literal terminal Condition element


Parse-RandGen documentation  | view source Contained in the Parse-RandGen distribution.

Index


NAME

Top

Parse::RandGen::Literal - Literal terminal Condition element

DESCRIPTION

Top

Literal is a terminal Condition element that matches the literal. The only choice for picking a good Literal is the literal itself.

METHODS

Top

new

Creates a new Literal. The first argument (required) is the literal element (e.g. "Hello Washington!"). All other arguments are named pairs.

element

Returns the Literal element (i.e. the literal itself).

SEE ALSO

Top

Parse::RandGen::Condition, Parse::RandGen::Rule, Parse::RandGen::Production, and Parse::RandGen

AUTHORS

Top

Jeff Dutton


Parse-RandGen documentation  | view source Contained in the Parse-RandGen distribution.