Daya Bay Reactor Neutrino Experiment
TWiki > TWikiInfixNodeDotPm
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go

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.

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.

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | Raw edit | More topic actions

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiInfixNodeDotPm.