类 HqlBaseLexer
- java.lang.Object
-
- antlr.CharScanner
-
- org.hibernate.hql.internal.antlr.HqlBaseLexer
-
- 所有已实现的接口:
antlr.TokenStream,HqlTokenTypes
public class HqlBaseLexer extends antlr.CharScanner implements HqlTokenTypes, antlr.TokenStream
Hibernate Query Language Lexer
This lexer provides the HQL parser with tokens.- 作者:
- Joshua Davis (pgmjsd@sourceforge.net)
-
-
字段概要
字段 修饰符和类型 字段 说明 static antlr.collections.impl.BitSet_tokenSet_0static antlr.collections.impl.BitSet_tokenSet_1static antlr.collections.impl.BitSet_tokenSet_2static antlr.collections.impl.BitSet_tokenSet_3static antlr.collections.impl.BitSet_tokenSet_4-
从类继承的字段 antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
-
从接口继承的字段 org.hibernate.hql.internal.antlr.HqlTokenTypes
AGGREGATE, ALIAS, ALL, AND, ANY, AS, ASCENDING, AVG, BETWEEN, BOTH, CASE, CASE2, CAST, 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, FIRST, 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, LAST, 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, NULLS, 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, UPDATE, VALUE, VECTOR_EXPR, VERSIONED, WEIRD_IDENT, WHEN, WHERE, WITH, WS
-
-
构造器概要
构造器 构造器 说明 HqlBaseLexer(antlr.InputBuffer ib)HqlBaseLexer(antlr.LexerSharedInputState state)HqlBaseLexer(InputStream in)HqlBaseLexer(Reader in)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidmCLOSE(boolean _createToken)voidmCLOSE_BRACKET(boolean _createToken)voidmCOLON(boolean _createToken)voidmCOMMA(boolean _createToken)voidmCONCAT(boolean _createToken)voidmDIV(boolean _createToken)voidmEQ(boolean _createToken)protected voidmESCqs(boolean _createToken)protected voidmEXPONENT(boolean _createToken)protected voidmFLOAT_SUFFIX(boolean _createToken)voidmGE(boolean _createToken)voidmGT(boolean _createToken)protected voidmHEX_DIGIT(boolean _createToken)protected voidmID_LETTER(boolean _createToken)protected voidmID_START_LETTER(boolean _createToken)voidmIDENT(boolean _createToken)voidmLE(boolean _createToken)voidmLT(boolean _createToken)voidmMINUS(boolean _createToken)voidmMOD(boolean _createToken)voidmNE(boolean _createToken)voidmNUM_INT(boolean _createToken)voidmOPEN(boolean _createToken)voidmOPEN_BRACKET(boolean _createToken)voidmPARAM(boolean _createToken)voidmPLUS(boolean _createToken)voidmQUOTED_STRING(boolean _createToken)voidmSQL_NE(boolean _createToken)voidmSTAR(boolean _createToken)voidmWS(boolean _createToken)antlr.TokennextToken()protected voidsetPossibleID(boolean possibleID)-
从类继承的方法 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
-
-
-
-
字段详细资料
-
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
-
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
-
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
-
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
-
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
-
-
构造器详细资料
-
HqlBaseLexer
public HqlBaseLexer(InputStream in)
-
HqlBaseLexer
public HqlBaseLexer(Reader in)
-
HqlBaseLexer
public HqlBaseLexer(antlr.InputBuffer ib)
-
HqlBaseLexer
public HqlBaseLexer(antlr.LexerSharedInputState state)
-
-
方法详细资料
-
setPossibleID
protected void setPossibleID(boolean possibleID)
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException- 指定者:
nextToken在接口中antlr.TokenStream- 抛出:
antlr.TokenStreamException
-
mEQ
public final void mEQ(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mLT
public final void mLT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mGT
public final void mGT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSQL_NE
public final void mSQL_NE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNE
public final void mNE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mLE
public final void mLE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mGE
public final void mGE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mOPEN
public final void mOPEN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCLOSE
public final void mCLOSE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mOPEN_BRACKET
public final void mOPEN_BRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCLOSE_BRACKET
public final void mCLOSE_BRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCONCAT
public final void mCONCAT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mPLUS
public final void mPLUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mMINUS
public final void mMINUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSTAR
public final void mSTAR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mDIV
public final void mDIV(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mMOD
public final void mMOD(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCOLON
public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mPARAM
public final void mPARAM(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mIDENT
public final void mIDENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mID_START_LETTER
protected final void mID_START_LETTER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mID_LETTER
protected final void mID_LETTER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mQUOTED_STRING
public final void mQUOTED_STRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mESCqs
protected final void mESCqs(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mWS
public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNUM_INT
public final void mNUM_INT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mEXPONENT
protected final void mEXPONENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mFLOAT_SUFFIX
protected final void mFLOAT_SUFFIX(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mHEX_DIGIT
protected final void mHEX_DIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- 抛出:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
-