Text::UberText::Node - Superclass Node Object


ubertext documentation  | view source Contained in the ubertext distribution.

Index


NAME

Top

Text::UberText::Node - Superclass Node Object

DESCRIPTION

Top

Text::UberText::Node is a super-class for the Text::UberText::Node::Text and Text::UberText::Node::Command classes. The methods listed below are implemented in both subclasses. The POD documentation for both classes only lists methods that are unique to the particular module, or methods that have different bahavior from the methods listed below.

COMMON METHODS

Top

$node=Text::UberText::Node->new();

Creates a new node object.

$node->input($string);

Text string to be processed by the node.

$text=$node->output();

Output generated after the node has been processed and run

$node->process();

Parsing and examination of the node input, completed before it is actually run.

$node->run();

Process external commands using data from the node object.

$node->info();

Returns information on the data within the node

$node->tree();

Returns the $tree object that created the node.

$node->index();

Returns the tree index pointer for the node.

$node->class();

Returns the lest segment of the Perl class for the node. For example, if the actual class is "Text::UberText::Node::Command:, "Command" is returned.

$node->lineNumber();

Returns the line number of the source input that the node text started on.

AUTHOR

Top

Chris Josephes <cpj1@visi.com>

SEE ALSO

Top

Text::UberText::Node::Command, Text::UberText::Node::Text

COPYRIGHT

Top


ubertext documentation  | view source Contained in the ubertext distribution.