Class SQLTemplateParserTokenManager

java.lang.Object
org.apache.cayenne.template.parser.SQLTemplateParserTokenManager
All Implemented Interfaces:
SQLTemplateParserConstants

public class SQLTemplateParserTokenManager extends Object implements SQLTemplateParserConstants
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 JavaCharStream input_stream
    • curChar

      protected char curChar
  • Constructor Details

    • SQLTemplateParserTokenManager

      public SQLTemplateParserTokenManager(JavaCharStream stream)
      Constructor.
    • SQLTemplateParserTokenManager

      public SQLTemplateParserTokenManager(JavaCharStream stream, int lexState)
      Constructor.
  • Method Details

    • setDebugStream

      public void setDebugStream(PrintStream ds)
      Set debug output.
    • jjFillToken

      protected Token jjFillToken()
    • getNextToken

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

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

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

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