Class StateParserTokenManager

java.lang.Object
com.yahoo.documentapi.messagebus.systemstate.parser.StateParserTokenManager
All Implemented Interfaces:
StateParserConstants

public class StateParserTokenManager extends Object implements StateParserConstants
Token Manager.
  • Field Details

    • jjstrLiteralImages

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

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

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

      protected SimpleCharStream input_stream
    • curChar

      protected int curChar
  • Constructor Details

    • StateParserTokenManager

      public StateParserTokenManager(SimpleCharStream stream)
      Constructor.
    • StateParserTokenManager

      public StateParserTokenManager(SimpleCharStream stream, int lexState)
      Constructor.
  • Method Details

    • jjFillToken

      protected Token jjFillToken()
    • getNextToken

      public Token getNextToken()
      Get the next Token.
    • ReInit

      public void ReInit(SimpleCharStream stream)
      Reinitialise parser.
    • ReInit

      public void ReInit(SimpleCharStream stream, int lexState)
      Reinitialise parser.
    • SwitchTo

      public void SwitchTo(int lexState)
      Switch to specified lex state.