Class ASTPtOrderedRecordConstructNode

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

    public class ASTPtOrderedRecordConstructNode
    extends ASTPtRecordConstructNode
    The parse tree created from the expression string consists of a hierarchy of node objects. This class represents record construction using the following syntax: {foo = "abc", bar = 1}. The result of parsing and evaluating this expression is a record token with two fields: a field foo containing a StringToken of value "abc", and a field bar containing a IntToken of value 1.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Ben Leinfelder, based on ASTPtRecordConstructNode by Xiaojun Liu, Steve Neuendorffer
    See Also:
    ASTPtRootNode, PtParser, Token
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (liuxj)
    • Constructor Detail

      • ASTPtOrderedRecordConstructNode

        public ASTPtOrderedRecordConstructNode​(int id)
      • ASTPtOrderedRecordConstructNode

        public ASTPtOrderedRecordConstructNode​(PtParser p,
                                               int id)