Package org.hibernate.hql.antlr
Class HqlBaseLexer
java.lang.Object
antlr.CharScanner
org.hibernate.hql.antlr.HqlBaseLexer
- All Implemented Interfaces:
antlr.TokenStream,HqlTokenTypes
Hibernate Query Language Lexer
This lexer provides the HQL parser with tokens.
This lexer provides the HQL parser with tokens.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetFields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepthFields inherited from interface org.hibernate.hql.antlr.HqlTokenTypes
AGGREGATE, ALIAS, ALL, AND, ANY, AS, ASCENDING, AVG, BETWEEN, BOTH, CASE, CASE2, CLASS, CLOSE, CLOSE_BRACKET, COLON, COMMA, CONCAT, CONSTANT, CONSTRUCTOR, COUNT, DELETE, DESCENDING, DISTINCT, DIV, DOT, ELEMENTS, ELSE, EMPTY, END, ENTRY, EOF, EQ, ESCAPE, ESCqs, EXISTS, EXPONENT, EXPR_LIST, FALSE, FETCH, FILTER_ENTITY, FLOAT_SUFFIX, FROM, FULL, GE, GROUP, GT, HAVING, HEX_DIGIT, ID_LETTER, ID_START_LETTER, IDENT, IN, IN_LIST, INDEX_OP, INDICES, INNER, INSERT, INTO, IS, IS_NOT_NULL, IS_NULL, JAVA_CONSTANT, JOIN, KEY, LE, LEADING, LEFT, LIKE, LITERAL_ascending, LITERAL_by, LITERAL_descending, LT, MAX, MEMBER, METHOD_CALL, MIN, MINUS, MOD, NE, NEW, NOT, NOT_BETWEEN, NOT_IN, NOT_LIKE, NULL, NULL_TREE_LOOKAHEAD, NUM_BIG_DECIMAL, NUM_BIG_INTEGER, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OBJECT, OF, ON, OPEN, OPEN_BRACKET, OR, ORDER, ORDER_ELEMENT, OUTER, PARAM, PLUS, PROPERTIES, QUERY, QUOTED_STRING, RANGE, RIGHT, ROW_STAR, SELECT, SELECT_FROM, SET, SOME, SQL_NE, STAR, SUM, THEN, TRAILING, TRUE, UNARY_MINUS, UNARY_PLUS, UNION, UPDATE, VALUE, VECTOR_EXPR, VERSIONED, WEIRD_IDENT, WHEN, WHERE, WITH, WS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidmCLOSE(boolean _createToken) final voidmCLOSE_BRACKET(boolean _createToken) final voidmCOLON(boolean _createToken) final voidmCOMMA(boolean _createToken) final voidmCONCAT(boolean _createToken) final voidmDIV(boolean _createToken) final voidmEQ(boolean _createToken) protected final voidmESCqs(boolean _createToken) protected final voidmEXPONENT(boolean _createToken) protected final voidmFLOAT_SUFFIX(boolean _createToken) final voidmGE(boolean _createToken) final voidmGT(boolean _createToken) protected final voidmHEX_DIGIT(boolean _createToken) protected final voidmID_LETTER(boolean _createToken) protected final voidmID_START_LETTER(boolean _createToken) final voidmIDENT(boolean _createToken) final voidmLE(boolean _createToken) final voidmLT(boolean _createToken) final voidmMINUS(boolean _createToken) final voidmMOD(boolean _createToken) final voidmNE(boolean _createToken) final voidmNUM_INT(boolean _createToken) final voidmOPEN(boolean _createToken) final voidmOPEN_BRACKET(boolean _createToken) final voidmPARAM(boolean _createToken) final voidmPLUS(boolean _createToken) final voidmQUOTED_STRING(boolean _createToken) final voidmSQL_NE(boolean _createToken) final voidmSTAR(boolean _createToken) final voidmWS(boolean _createToken) protected voidsetPossibleID(boolean possibleID) Methods inherited from class antlr.CharScanner
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setTabSize, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF
-
Field Details
-
_tokenSet_0
-
_tokenSet_1
-
_tokenSet_2
-
_tokenSet_3
-
_tokenSet_4
-
-
Constructor Details
-
HqlBaseLexer
-
HqlBaseLexer
-
HqlBaseLexer
-
-
Method Details
-
setPossibleID
protected void setPossibleID(boolean possibleID) -
nextToken
- Specified by:
nextTokenin interfaceantlr.TokenStream- Throws:
antlr.TokenStreamException
-
mEQ
public final void mEQ(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mLT
public final void mLT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mGT
public final void mGT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mSQL_NE
public final void mSQL_NE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mNE
public final void mNE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mLE
public final void mLE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mGE
public final void mGE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mOPEN
public final void mOPEN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mCLOSE
public final void mCLOSE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mOPEN_BRACKET
public final void mOPEN_BRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mCLOSE_BRACKET
public final void mCLOSE_BRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mCONCAT
public final void mCONCAT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mPLUS
public final void mPLUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mMINUS
public final void mMINUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mSTAR
public final void mSTAR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mDIV
public final void mDIV(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mMOD
public final void mMOD(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mCOLON
public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mPARAM
public final void mPARAM(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mIDENT
public final void mIDENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mID_START_LETTER
protected final void mID_START_LETTER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mID_LETTER
protected final void mID_LETTER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mQUOTED_STRING
public final void mQUOTED_STRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mESCqs
protected final void mESCqs(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mWS
public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mNUM_INT
public final void mNUM_INT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mEXPONENT
protected final void mEXPONENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mFLOAT_SUFFIX
protected final void mFLOAT_SUFFIX(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException -
mHEX_DIGIT
protected final void mHEX_DIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
-