data/TWiki/TWikiInfixNodeDotPm.txt
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/TWikiInfixNodeDotPm.txt	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +---+ Package =TWiki::Infix::Node=
     1.5 +
     1.6 +Base class for node types generated by Infix::Parser. You don't *have* to use
     1.7 +it, but it may be useful.
     1.8 +
     1.9 +
    1.10 +%TOC%
    1.11 +
    1.12 +---++ ClassMethod *newNode* <tt>($o,@p) -> \$if</tt>
    1.13 +
    1.14 +Construct a new parse node (contract with Infix::Parser)
    1.15 +
    1.16 +
    1.17 +
    1.18 +---++ ClassMethod *newLeaf* <tt>($val,$type) -> \$if</tt>
    1.19 +
    1.20 +Construct a new terminal node (contract with Infix::Parser)
    1.21 +
    1.22 +
    1.23 +
    1.24 +---++ ObjectMethod *evaluate* <tt>(...) -> $result</tt>
    1.25 +
    1.26 +Execute the parse node. The parameter array is passed on, by reference,
    1.27 +to the evaluation functions.
    1.28 +
    1.29 +