internal package Foswiki::Infix::Node

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Infix::Node

Base class for node types generated by Infix::Parser. You don't have to use it, but it may be useful.

ClassMethod newNode( $o, @p ) → \$if

Construct a new parse node (contract with Infix::Parser)

ClassMethod newLeaf( $val, $type ) → \$if

Construct a new terminal node (contract with Infix::Parser)

ObjectMethod evaluate(...) → $result

Execute the parse node. The parameter array is passed on, by reference, to the evaluation functions.

Topic revision: r1 - 19 Apr 2011, ProjectContributor
 
This site is powered by FoswikiCopyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki? Send feedback