Class ASTPtFunctionalIfNode

  • All Implemented Interfaces:
    java.lang.Cloneable, Node

    public class ASTPtFunctionalIfNode
    extends ASTPtRootNode
    The parse tree created from the expression string consists of a hierarchy of node objects. This class represents functional if-then-else nodes.

    A functional if-then-else if of the form booleanToken ? token : token The token returned depends on the value of the boolean.

    Since:
    Ptolemy II 0.2
    Version:
    $Id$
    Author:
    Neil Smyth
    See Also:
    ASTPtRootNode, PtParser, Token
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (nsmyth)
    • Constructor Detail

      • ASTPtFunctionalIfNode

        public ASTPtFunctionalIfNode​(int id)
      • ASTPtFunctionalIfNode

        public ASTPtFunctionalIfNode​(PtParser p,
                                     int id)