Class DrillParserImplTokenManager

java.lang.Object
org.apache.drill.exec.planner.sql.parser.impl.DrillParserImplTokenManager
All Implemented Interfaces:
DrillParserImplConstants

public class DrillParserImplTokenManager extends Object implements DrillParserImplConstants
Token Manager.
  • Field Details

    • debugStream

      public PrintStream debugStream
      Debug output.
    • 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 char curChar
  • Constructor Details

    • DrillParserImplTokenManager

      public DrillParserImplTokenManager(SimpleCharStream stream)
      Constructor.
    • DrillParserImplTokenManager

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

    • setDebugStream

      public void setDebugStream(PrintStream ds)
      Set debug output.
    • 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.
    • jjFillToken

      protected Token jjFillToken()
    • getNextToken

      public Token getNextToken()
      Get the next Token.