Class SQLTemplateParserTokenManager
java.lang.Object
org.apache.cayenne.template.parser.SQLTemplateParserTokenManager
- All Implemented Interfaces:
SQLTemplateParserConstants
Token Manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected charDebug output.protected JavaCharStreamstatic final int[]Lex State array.static final String[]Token literal values.static final String[]Lexer state names.Fields inherited from interface 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, WithinSingleQuoteLiteralModifier and TypeFieldDescriptionstatic final intLexical state.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intLexical state.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intEnd of File.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intLexical state.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intLexical state.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final intRegularExpression Id.static final String[]Literal token values.static final intRegularExpression Id.static final intLexical state.static final intLexical state. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.SQLTemplateParserTokenManager(JavaCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected TokenvoidReInit(JavaCharStream stream) Reinitialise parser.voidReInit(JavaCharStream stream, int lexState) Reinitialise parser.voidSet debug output.voidSwitchTo(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.
-