• This web contains the official documentation of the
TWiki Release 4.3, code named
GeorgetownRelease. It is a read-only web for reference.
• This is an older release, see
TWiki-6.1 for the latest release documentation.
Package TWiki::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.