equal
deleted
inserted
replaced
|
1 ---+ Package =TWiki::Infix::Node= |
|
2 |
|
3 Base class for node types generated by Infix::Parser. You don't *have* to use |
|
4 it, but it may be useful. |
|
5 |
|
6 |
|
7 %TOC% |
|
8 |
|
9 ---++ ClassMethod *newNode* <tt>($o,@p) -> \$if</tt> |
|
10 |
|
11 Construct a new parse node (contract with Infix::Parser) |
|
12 |
|
13 |
|
14 |
|
15 ---++ ClassMethod *newLeaf* <tt>($val,$type) -> \$if</tt> |
|
16 |
|
17 Construct a new terminal node (contract with Infix::Parser) |
|
18 |
|
19 |
|
20 |
|
21 ---++ ObjectMethod *evaluate* <tt>(...) -> $result</tt> |
|
22 |
|
23 Execute the parse node. The parameter array is passed on, by reference, |
|
24 to the evaluation functions. |
|
25 |
|
26 |