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.
On this page:
ClassMethod newNode
($o,@p) -> \$if
ClassMethod newLeaf
($val,$type) -> \$if
ObjectMethod evaluate
(...) -> $result
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.
This topic: System
>
TWikiInfixNodeDotPm
Topic revision:
11 Oct 2010,
TWikiContributor
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback