---+ 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. %TOC% ---++ ClassMethod *newNode* <tt>($o,@p) -> \$if</tt> Construct a new parse node (contract with Infix::Parser) ---++ ClassMethod *newLeaf* <tt>($val,$type) -> \$if</tt> Construct a new terminal node (contract with Infix::Parser) ---++ ObjectMethod *evaluate* <tt>(...) -> $result</tt> Execute the parse node. The parameter array is passed on, by reference, to the evaluation functions.
This topic: TWiki
>
TWikiInfixNodeDotPm
Topic revision: r1 - 2008-01-21 - TWikiContributor
Copyright © 1999-2025 by the contributing authors. All material from TWiki is the property of the contributing authors.
Questions, comments, or concerns?
Contact GNHLUG
.
All use of this site subject to our
Legal Notice
(includes Terms of Service).