Package org.hibernate.sql.ordering.antlr
Class GeneratedOrderByLexer
- java.lang.Object
-
- antlr.CharScanner
-
- org.hibernate.sql.ordering.antlr.GeneratedOrderByLexer
-
- All Implemented Interfaces:
antlr.TokenStream
,OrderByTemplateTokenTypes
public class GeneratedOrderByLexer extends antlr.CharScanner implements OrderByTemplateTokenTypes, antlr.TokenStream
Lexer for the order-by fragment parser
-
-
Field Summary
Fields Modifier and Type Field Description static antlr.collections.impl.BitSet
_tokenSet_0
static antlr.collections.impl.BitSet
_tokenSet_1
static antlr.collections.impl.BitSet
_tokenSet_2
static antlr.collections.impl.BitSet
_tokenSet_3
static antlr.collections.impl.BitSet
_tokenSet_4
-
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
-
Fields inherited from interface org.hibernate.sql.ordering.antlr.OrderByTemplateTokenTypes
ASCENDING, CLOSE_PAREN, COLLATE, COLUMN_REF, COMMA, DESCENDING, DOT, EOF, ESCqs, EXPONENT, EXPR_LIST, FIRST, FLOAT_SUFFIX, HARD_QUOTE, HEX_DIGIT, ID_LETTER, ID_START_LETTER, IDENT, IDENT_LIST, LAST, LITERAL_ascending, LITERAL_descending, NULL_ORDER, NULL_TREE_LOOKAHEAD, NULLS, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OPEN_PAREN, ORDER_BY, ORDER_SPEC, QUOTED_STRING, SORT_KEY, SORT_SPEC, WS
-
-
Constructor Summary
Constructors Constructor Description GeneratedOrderByLexer(antlr.InputBuffer ib)
GeneratedOrderByLexer(antlr.LexerSharedInputState state)
GeneratedOrderByLexer(java.io.InputStream in)
GeneratedOrderByLexer(java.io.Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mCLOSE_PAREN(boolean _createToken)
void
mCOMMA(boolean _createToken)
protected void
mESCqs(boolean _createToken)
protected void
mEXPONENT(boolean _createToken)
protected void
mFLOAT_SUFFIX(boolean _createToken)
void
mHARD_QUOTE(boolean _createToken)
protected void
mHEX_DIGIT(boolean _createToken)
protected void
mID_LETTER(boolean _createToken)
protected void
mID_START_LETTER(boolean _createToken)
void
mIDENT(boolean _createToken)
void
mNUM_INT(boolean _createToken)
void
mOPEN_PAREN(boolean _createToken)
void
mQUOTED_STRING(boolean _createToken)
void
mWS(boolean _createToken)
antlr.Token
nextToken()
-
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 Detail
-
_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
-
-
Constructor Detail
-
GeneratedOrderByLexer
public GeneratedOrderByLexer(java.io.InputStream in)
-
GeneratedOrderByLexer
public GeneratedOrderByLexer(java.io.Reader in)
-
GeneratedOrderByLexer
public GeneratedOrderByLexer(antlr.InputBuffer ib)
-
GeneratedOrderByLexer
public GeneratedOrderByLexer(antlr.LexerSharedInputState state)
-
-
Method Detail
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException
- Specified by:
nextToken
in interfaceantlr.TokenStream
- Throws:
antlr.TokenStreamException
-
mOPEN_PAREN
public final void mOPEN_PAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCLOSE_PAREN
public final void mCLOSE_PAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mHARD_QUOTE
public final void mHARD_QUOTE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mIDENT
public final void mIDENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- 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
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mID_LETTER
protected final void mID_LETTER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mQUOTED_STRING
public final void mQUOTED_STRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mESCqs
protected final void mESCqs(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mNUM_INT
public final void mNUM_INT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mEXPONENT
protected final void mEXPONENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mFLOAT_SUFFIX
protected final void mFLOAT_SUFFIX(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mHEX_DIGIT
protected final void mHEX_DIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mWS
public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
-