Class SQLTemplateParserTokenManager
java.lang.Object
org.apache.cayenne.template.parser.SQLTemplateParserTokenManager
- All Implemented Interfaces:
SQLTemplateParserConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionprotected char
Debug output.protected JavaCharStream
static final int[]
Lex State array.static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface org.apache.cayenne.template.parser.SQLTemplateParserConstants
ARGS, COMMA, DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DOLLAR, DOT, DOUBLE_QUOTED_STRING, ELSE, END, EOF, ESC, EXPONENT, FALSE, FLOAT_LITERAL, FLT_SUFF, IDENTIFIER, IF, IN_SINGLE_LINE_COMMENT, INT_LITERAL, LBRACKET, LETTER, LSBRACKET, NOT_TEXT, RBRACKET, RSBRACKET, SHARP, SINGLE_LINE_COMMENT_END, SINGLE_QUOTED_STRING, STRING_ESC, TEXT, TEXT_OTHER, tokenImage, TRUE, WithinDoubleQuoteLiteral, WithinSingleQuoteLiteral
-
Constructor Summary
ConstructorDescriptionConstructor.SQLTemplateParserTokenManager
(JavaCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected Token
void
ReInit
(JavaCharStream stream) Reinitialise parser.void
ReInit
(JavaCharStream stream, int lexState) Reinitialise parser.void
Set debug output.void
SwitchTo
(int lexState) Switch to specified lex state.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
jjnewLexState
public static final int[] jjnewLexStateLex State array. -
input_stream
-
curChar
protected char curChar
-
-
Constructor Details
-
SQLTemplateParserTokenManager
Constructor. -
SQLTemplateParserTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
jjFillToken
-
getNextToken
Get the next Token. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state.
-