Class MitabLineParserTokenManager

    • Field Detail

      • debugStream

        public PrintStream debugStream
        Debug output.
      • jjstrLiteralImages

        public static final String[] jjstrLiteralImages
        Token literal values.
      • lexStateNames

        public static final String[] lexStateNames
        Lexer state names.
      • curChar

        protected char curChar
    • Constructor Detail

      • MitabLineParserTokenManager

        public MitabLineParserTokenManager​(JavaCharStream stream)
        Constructor.
        Parameters:
        stream - a JavaCharStream object.
      • MitabLineParserTokenManager

        public MitabLineParserTokenManager​(JavaCharStream stream,
                                           int lexState)
        Constructor.
        Parameters:
        stream - a JavaCharStream object.
        lexState - an int value.
    • Method Detail

      • setDebugStream

        public void setDebugStream​(PrintStream ds)
        Set debug output.
        Parameters:
        ds - a PrintStream object.
      • ReInit

        public void ReInit​(JavaCharStream stream,
                           int lexState)
        Reinitialise parser.
        Parameters:
        stream - a JavaCharStream object.
        lexState - an int value.
      • SwitchTo

        public void SwitchTo​(int lexState)
        Switch to specified lex state.
        Parameters:
        lexState - an int value.
      • jjFillToken

        protected Token jjFillToken()
      • getNextToken

        public Token getNextToken()
        Get the next Token.
        Returns:
        a Token object.