Package org.apache.cayenne.ejbql.parser
Class EJBQLTokenManager
java.lang.Object
org.apache.cayenne.ejbql.parser.EJBQLTokenManager
- All Implemented Interfaces:
EJBQLConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionprotected char
Debug output.protected JavaCharStream
static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface org.apache.cayenne.ejbql.parser.EJBQLConstants
ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BOOLEAN_LITERAL, BOTH, BY, CHARACTER_LITERAL, COMMA, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DECIMAL_LITERAL, DEFAULT, DELETE, DESC, DIGIT, DISTINCT, DIV, DOT, EMPTY, EOF, EQ, ESCAPE, EXISTS, EXPONENT, FETCH, FROM, GE, GROUP, GT, HAVING, IDENTIFIER, IN, INNER, INTEGER_LITERAL, IS, JOIN, LE, LEADING, LEFT, LENGTH, LETTER, LIKE, LOCATE, LOWER, LT, MAX, MEMBER, MIN, MINUS, MOD, NE, NEW, NOT, NULL, OBJECT, OF, OR, ORDER, OUTER, PLUS, SELECT, SET, SIZE, SOME, SQRT, STRING_LITERAL, SUBSTRING, SUM, TIMES, tokenImage, TRAILING, TRIM, UPDATE, UPPER, WHERE
-
Constructor Summary
ConstructorDescriptionEJBQLTokenManager
(JavaCharStream stream) Constructor.EJBQLTokenManager
(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. -
input_stream
-
curChar
protected char curChar
-
-
Constructor Details
-
EJBQLTokenManager
Constructor. -
EJBQLTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state. -
jjFillToken
-
getNextToken
Get the next Token.
-