xoql.parser
Class XoqlLexer
java.lang.Object
antlr.CharScanner
xoql.parser.XoqlLexer
- All Implemented Interfaces:
- antlr.TokenStream, XoqlTokenTypes
public class XoqlLexer
- extends antlr.CharScanner
- implements XoqlTokenTypes, antlr.TokenStream
XoqlLexer class extends antlr.CharScanner
- Author:
- simonkm
Field Summary |
static antlr.collections.impl.BitSet |
_tokenSet_0
|
static antlr.collections.impl.BitSet |
_tokenSet_1
|
Fields inherited from class antlr.CharScanner |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth |
Fields inherited from interface xoql.parser.XoqlTokenTypes |
ALL, ALLTREE, AND, ARROBA, AS, ATTR, ATTRIBUTE, ATTRIBUTES, BEFORE, BINDING, BINDINGS, COMMA, CONCAT, CONTAINS, CONTENT, DDOT, DELETE, DIGIT, DISTRIBUTE, DISTRIBUTEW, DIV, DOUBLE, DQUOTE, DR_CL, DRW_CL, DSLASH, ELEMENT, EOF, EQUAL, ETAG, EXCLAMATION, EXIST, FALSE, FARGS, FCALL, FNAME, FOR, FROM, FWR, FWS, FWWR, GE, GT, ID, IN, INSERT, INT, LBRACE, LCASE, LE, LETTER, LIST, LOCATION, LPAREN, LT, MATCH, MBINDING, MCALL, MINUS, NAME, NEW_ELEMENT, NEWATTR, NOT, NOTEQUAL, NULL_TREE_LOOKAHEAD, NUM, OPERATIONS, OR, PLUS, QUOTE, RBRACE, REGEX, REGEX_MATCH, REPLACE, REPLICATE, REPLICATEW, RPAREN, SELECT, SEMI, SHARP, SLASH, STAR, STRICTCONTAINS, STRING, TEXT, TO, TRUE, UCASE, UNARY_MINUS, UNARY_PLUS, UNION, UPD, UPDATE, VALUE, VBAR, VOCAB, WHERE, WITH, WITHBINDINGS, WS |
Constructor Summary |
XoqlLexer(antlr.InputBuffer ib)
|
XoqlLexer(java.io.InputStream in)
|
XoqlLexer(antlr.LexerSharedInputState state)
XoqlLexer constructor |
XoqlLexer(java.io.Reader in)
|
Method Summary |
void |
mARROBA(boolean _createToken)
|
void |
mCOMMA(boolean _createToken)
|
void |
mCONCAT(boolean _createToken)
|
void |
mDDOT(boolean _createToken)
|
protected void |
mDIGIT(boolean _createToken)
|
void |
mDQUOTE(boolean _createToken)
|
void |
mDSLASH(boolean _createToken)
|
void |
mEQUAL(boolean _createToken)
|
void |
mETAG(boolean _createToken)
|
void |
mEXCLAMATION(boolean _createToken)
|
void |
mGE(boolean _createToken)
|
void |
mGT(boolean _createToken)
|
void |
mID(boolean _createToken)
|
void |
mLBRACE(boolean _createToken)
|
protected void |
mLCASE(boolean _createToken)
|
void |
mLE(boolean _createToken)
|
protected void |
mLETTER(boolean _createToken)
|
void |
mLPAREN(boolean _createToken)
|
void |
mLT(boolean _createToken)
|
void |
mMINUS(boolean _createToken)
|
void |
mNOTEQUAL(boolean _createToken)
|
void |
mNUM(boolean _createToken)
|
void |
mPLUS(boolean _createToken)
|
void |
mQUOTE(boolean _createToken)
|
void |
mRBRACE(boolean _createToken)
|
void |
mREGEX(boolean _createToken)
|
void |
mRPAREN(boolean _createToken)
|
void |
mSEMI(boolean _createToken)
|
void |
mSHARP(boolean _createToken)
|
void |
mSLASH(boolean _createToken)
|
void |
mSTAR(boolean _createToken)
|
void |
mSTRING(boolean _createToken)
|
protected void |
mUCASE(boolean _createToken)
|
void |
mVBAR(boolean _createToken)
|
protected void |
mVOCAB(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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
XoqlLexer
public XoqlLexer(java.io.InputStream in)
XoqlLexer
public XoqlLexer(java.io.Reader in)
XoqlLexer
public XoqlLexer(antlr.InputBuffer ib)
XoqlLexer
public XoqlLexer(antlr.LexerSharedInputState state)
- XoqlLexer constructor
- Parameters:
LexerSharedInputState
- state
nextToken
public antlr.Token nextToken()
throws antlr.TokenStreamException
- Specified by:
nextToken
in interface antlr.TokenStream
- Returns:
- Token
- Throws:
antlr.TokenStreamException
mETAG
public final void mETAG(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Parameters:
_createToken
-
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLE
public final void mLE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mGE
public final void mGE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mEQUAL
public final void mEQUAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mNOTEQUAL
public final void mNOTEQUAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mQUOTE
public final void mQUOTE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mDQUOTE
public final void mDQUOTE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLPAREN
public final void mLPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mRPAREN
public final void mRPAREN(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
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
mSEMI
public final void mSEMI(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
mDDOT
public final void mDDOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mEXCLAMATION
public final void mEXCLAMATION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mVBAR
public final void mVBAR(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
mDSLASH
public final void mDSLASH(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mARROBA
public final void mARROBA(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
mGT
public final void mGT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mCONCAT
public final void mCONCAT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLBRACE
public final void mLBRACE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mRBRACE
public final void mRBRACE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mSHARP
public final void mSHARP(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
mSTRING
public final void mSTRING(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mREGEX
public final void mREGEX(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mID
public final void mID(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLETTER
protected final void mLETTER(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
mNUM
public final void mNUM(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLCASE
protected final void mLCASE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mUCASE
protected final void mUCASE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mVOCAB
protected final void mVOCAB(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException