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.

Class Method newNode ($o,@p) -> \$if

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

Class Method newLeaf ($val,$type) -> \$if

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

Object Method evaluate (...) -> $result

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



Topic TWikiInfixNodeDotPm . { Edit | Attach | Backlinks: Web All webs | Printable | History: r1 More }