Class VmParserTokenManager

    • Field Detail

      • debugPrint

        public boolean debugPrint
        Deprecated.
      • inDirective

        public boolean inDirective
        Deprecated.
      • inSet

        public boolean inSet
        Deprecated.
      • debugStream

        public PrintStream debugStream
        Deprecated.
        Debug output.
      • jjstrLiteralImages

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

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

        public static final int[] jjnewLexState
        Deprecated.
        Lex State array.
      • input_stream

        protected CharStream input_stream
        Deprecated.
      • curChar

        protected char curChar
        Deprecated.
    • Constructor Detail

      • VmParserTokenManager

        public VmParserTokenManager​(CharStream stream)
        Deprecated.
        Constructor.
      • VmParserTokenManager

        public VmParserTokenManager​(CharStream stream,
                                    int lexState)
        Deprecated.
        Constructor.
    • Method Detail

      • stateStackPop

        public boolean stateStackPop()
        Deprecated.
        pushes the current state onto the 'state stack', and maintains the parens counts public because we need it in PD & VM handling
        Returns:
        boolean : success. It can fail if the state machine gets messed up (do don't mess it up :)
      • stateStackPush

        public boolean stateStackPush()
        Deprecated.
        pops a state off the stack, and restores paren counts
        Returns:
        boolean : success of operation
      • clearStateVars

        public void clearStateVars()
        Deprecated.
        Clears all state variables, resets to start values, clears stateStack. Call before parsing.
      • setDebugStream

        public void setDebugStream​(PrintStream ds)
        Deprecated.
        Set debug output.
      • ReInit

        public void ReInit​(CharStream stream)
        Deprecated.
        Reinitialise parser.
      • ReInit

        public void ReInit​(CharStream stream,
                           int lexState)
        Deprecated.
        Reinitialise parser.
      • SwitchTo

        public void SwitchTo​(int lexState)
        Deprecated.
        Switch to specified lex state.
      • jjFillToken

        protected Token jjFillToken()
        Deprecated.
      • getNextToken

        public Token getNextToken()
        Deprecated.
        Get the next Token.