Package org.apache.openjpa.kernel.jpql
Class JPQLTokenManager
java.lang.Object
org.apache.openjpa.kernel.jpql.JPQLTokenManager
- All Implemented Interfaces:
JPQLConstants
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.openjpa.kernel.jpql.JPQLConstants
ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BOOLEAN_LITERAL, BOTH, BY, CASE, CHARACTER_LITERAL, CLASS, COALESCE, COMMA, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DATE_LITERAL, DECIMAL_LITERAL, DEFAULT, DELETE, DESC, DIGIT, DISTINCT, DIV, DOT, ELSE, EMPTY, END, ENTRY, EOF, EQ, ESCAPE, EXISTS, EXPONENT, FETCH, FROM, GE, GROUP, GT, HAVING, IDENTIFIER, IN, INDEX, INNER, INTEGER_LITERAL, IS, JOIN, KEY, LE, LEADING, LEFT, LENGTH, LETTER, LIKE, LOCATE, LOWER, LT, MAX, MEMBER, MIN, MINUS, MOD, NE, NEW, NOT, NULL, NULLIF, OBJECT, OF, OR, ORDER, OUTER, PLUS, SELECT, SET, SIZE, SOME, SQRT, STRING_LITERAL, STRING_LITERAL2, SUBSTRING, SUM, THEN, TIME_LITERAL, TIMES, TIMESTAMP_LITERAL, tokenImage, TRAILING, TRIM, TYPE, UPDATE, UPPER, VALUE, WHEN, WHERE
-
Constructor Summary
ConstructorDescriptionJPQLTokenManager
(JavaCharStream stream) Constructor.JPQLTokenManager
(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
-
JPQLTokenManager
Constructor. -
JPQLTokenManager
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.
-