data/TWiki/TWikiInfixNodeDotPm.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
     1 head	1.1;
     2 access;
     3 symbols;
     4 locks; strict;
     5 comment	@# @;
     6 
     7 
     8 1.1
     9 date	2008.01.22.03.21.28;	author TWikiContributor;	state Exp;
    10 branches;
    11 next	;
    12 
    13 
    14 desc
    15 @buildrelease
    16 @
    17 
    18 
    19 1.1
    20 log
    21 @buildrelease
    22 @
    23 text
    24 @---+ Package =TWiki::Infix::Node=
    25 
    26 Base class for node types generated by Infix::Parser. You don't *have* to use
    27 it, but it may be useful.
    28 
    29 
    30 %TOC%
    31 
    32 ---++ ClassMethod *newNode* <tt>($o,@@p) -> \$if</tt>
    33 
    34 Construct a new parse node (contract with Infix::Parser)
    35 
    36 
    37 
    38 ---++ ClassMethod *newLeaf* <tt>($val,$type) -> \$if</tt>
    39 
    40 Construct a new terminal node (contract with Infix::Parser)
    41 
    42 
    43 
    44 ---++ ObjectMethod *evaluate* <tt>(...) -> $result</tt>
    45 
    46 Execute the parse node. The parameter array is passed on, by reference,
    47 to the evaluation functions.
    48 
    49 
    50 @