Package com.werken.xpath.parser
Class XPathLexer
java.lang.Object
antlr.CharScanner
com.werken.xpath.parser.XPathLexer
- All Implemented Interfaces:
antlr.TokenStream
,XPathLexerTokenTypes
public class XPathLexer
extends antlr.CharScanner
implements XPathLexerTokenTypes, antlr.TokenStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
Fields inherited from interface com.werken.xpath.parser.XPathLexerTokenTypes
AT, COLON, COMMA, DIGIT, DIV, DOLLAR_SIGN, DOT, DOT_DOT, DOUBLE_COLON, DOUBLE_QUOTE_STRING, DOUBLE_SLASH, EOF, EQUALS, GT, GTE, IDENTIFIER, KW_AND, KW_OR, LEFT_BRACKET, LEFT_PAREN, LITERAL, LT, LTE, MINUS, MOD, NOT_EQUALS, NULL_TREE_LOOKAHEAD, NUMBER, PIPE, PLUS, RIGHT_BRACKET, RIGHT_PAREN, SINGLE_QUOTE_STRING, SLASH, STAR, WS
-
Constructor Summary
ConstructorsConstructorDescriptionXPathLexer
(antlr.InputBuffer ib) XPathLexer
(antlr.LexerSharedInputState state) XPathLexer
(Reader in) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
mAT
(boolean _createToken) final void
mCOLON
(boolean _createToken) final void
mCOMMA
(boolean _createToken) protected final void
mDIGIT
(boolean _createToken) final void
mDOLLAR_SIGN
(boolean _createToken) final void
mDOT
(boolean _createToken) final void
mDOT_DOT
(boolean _createToken) final void
mDOUBLE_COLON
(boolean _createToken) protected final void
mDOUBLE_QUOTE_STRING
(boolean _createToken) final void
mDOUBLE_SLASH
(boolean _createToken) final void
mEQUALS
(boolean _createToken) final void
mGT
(boolean _createToken) final void
mGTE
(boolean _createToken) final void
mIDENTIFIER
(boolean _createToken) final void
mLEFT_BRACKET
(boolean _createToken) final void
mLEFT_PAREN
(boolean _createToken) final void
mLITERAL
(boolean _createToken) final void
mLT
(boolean _createToken) final void
mLTE
(boolean _createToken) final void
mMINUS
(boolean _createToken) final void
mNOT_EQUALS
(boolean _createToken) final void
mNUMBER
(boolean _createToken) final void
mPIPE
(boolean _createToken) final void
mPLUS
(boolean _createToken) final void
mRIGHT_BRACKET
(boolean _createToken) final void
mRIGHT_PAREN
(boolean _createToken) protected final void
mSINGLE_QUOTE_STRING
(boolean _createToken) final void
mSLASH
(boolean _createToken) final void
mSTAR
(boolean _createToken) final void
mWS
(boolean _createToken) antlr.Token
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
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
-
-
Constructor Details
-
XPathLexer
-
XPathLexer
-
XPathLexer
public XPathLexer(antlr.InputBuffer ib)
-
-
Method Details
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException- Specified by:
nextToken
in interfaceantlr.TokenStream
- Throws:
antlr.TokenStreamException
-
mWS
public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDIGIT
protected final void mDIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSINGLE_QUOTE_STRING
protected final void mSINGLE_QUOTE_STRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDOUBLE_QUOTE_STRING
protected final void mDOUBLE_QUOTE_STRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLITERAL
public final void mLITERAL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mNUMBER
public final void mNUMBER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mIDENTIFIER
public final void mIDENTIFIER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLEFT_PAREN
public final void mLEFT_PAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRIGHT_PAREN
public final void mRIGHT_PAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLEFT_BRACKET
public final void mLEFT_BRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRIGHT_BRACKET
public final void mRIGHT_BRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mPIPE
public final void mPIPE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDOT
public final void mDOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDOT_DOT
public final void mDOT_DOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT
public final void mAT(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
-
mDOUBLE_COLON
public final void mDOUBLE_COLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCOLON
public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSLASH
public final void mSLASH(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDOUBLE_SLASH
public final void mDOUBLE_SLASH(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDOLLAR_SIGN
public final void mDOLLAR_SIGN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mPLUS
public final void mPLUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mMINUS
public final void mMINUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mEQUALS
public final void mEQUALS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mNOT_EQUALS
public final void mNOT_EQUALS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLT
public final void mLT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLTE
public final void mLTE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mGT
public final void mGT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mGTE
public final void mGTE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSTAR
public final void mSTAR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-