Class UParser

  • All Implemented Interfaces:
    UParserConstants

    public class UParser
    extends java.lang.Object
    implements UParserConstants
    This file implements a Unit parser for Ptolemy II using the JavaCC parser generator.
    Since:
    Ptolemy II 4.0
    Version:
    UParser.jj,v 1.9 2004/04/14 14:18:38 rowland Exp
    Author:
    Rowland R Johnson
    Pt.AcceptedRating:
    Red (rowland)
    Pt.ProposedRating:
    Red (rowland)
    • Field Detail

      • token

        public Token token
        Current token.
      • jj_nt

        public Token jj_nt
        Next token.
    • Constructor Detail

      • UParser

        public UParser()
      • UParser

        public UParser​(java.io.InputStream stream)
        Constructor with InputStream.
      • UParser

        public UParser​(java.io.InputStream stream,
                       java.lang.String encoding)
        Constructor with InputStream and supplied encoding
      • UParser

        public UParser​(java.io.Reader stream)
        Constructor.
      • UParser

        public UParser​(UParserTokenManager tm)
        Constructor with generated Token Manager.