Package net.sf.jasperreports.json.parser
Class JsonQueryLexer
- java.lang.Object
-
- antlr.CharScanner
-
- net.sf.jasperreports.json.parser.JsonQueryLexer
-
- All Implemented Interfaces:
antlr.TokenStream
,JsonQueryParserTokenTypes
public class JsonQueryLexer extends antlr.CharScanner implements JsonQueryParserTokenTypes, antlr.TokenStream
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
-
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
static antlr.collections.impl.BitSet
_tokenSet_5
static antlr.collections.impl.BitSet
_tokenSet_6
-
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
-
Fields inherited from interface net.sf.jasperreports.json.parser.JsonQueryParserTokenTypes
ABSOLUTE, AND, ARRAY_CONSTRUCTION, ARRAY_INDEX, ARRAY_SLICE, AT_IS_ARRAY, AT_IS_NOT_NULL, AT_IS_NULL, AT_IS_OBJECT, AT_IS_VALUE, AT_SIZE, AT_VALUE, CARET, COMMA, COMPLEX_KEY, CONTAINS, DIGIT, DOT, DOTDOT, EOF, EQ, ESC, EXP, FILTER, FRAC, GE, GT, ID, ID_LETTER, ID_OR_ABSOLUTE, ID_START_LETTER, INT, INT_OR_REAL_OR_DOTS, LBRACKET, LCURLY, LE, LITERAL_false, LITERAL_null, LITERAL_true, LPAREN, LT, MEMBER, MULTI_LEVEL_UP, MULTI_LINE_COMMENT, NE, NEWLINE, NOT, NULL_TREE_LOOKAHEAD, OBJECT_CONSTRUCTION, OR, PATH, RBRACKET, RCURLY, REAL, RPAREN, SEMI, SIMPLE_KEY, SINGLE_LINE_COMMENT, STRING, TYPE_CHECK, WILDCARD, WS
-
-
Constructor Summary
Constructors Constructor Description JsonQueryLexer(antlr.InputBuffer ib)
JsonQueryLexer(antlr.LexerSharedInputState state)
JsonQueryLexer(InputStream in)
JsonQueryLexer(Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
mABSOLUTE(boolean _createToken)
void
mAND(boolean _createToken)
protected void
mAT_IS_ARRAY(boolean _createToken)
protected void
mAT_IS_NOT_NULL(boolean _createToken)
protected void
mAT_IS_NULL(boolean _createToken)
protected void
mAT_IS_OBJECT(boolean _createToken)
protected void
mAT_IS_VALUE(boolean _createToken)
void
mAT_SIZE(boolean _createToken)
void
mAT_VALUE(boolean _createToken)
void
mCARET(boolean _createToken)
void
mCOMMA(boolean _createToken)
void
mCONTAINS(boolean _createToken)
protected void
mDIGIT(boolean _createToken)
protected void
mDOT(boolean _createToken)
protected void
mDOTDOT(boolean _createToken)
void
mEQ(boolean _createToken)
protected void
mESC(boolean _createToken)
protected void
mEXP(boolean _createToken)
protected void
mFRAC(boolean _createToken)
void
mGE(boolean _createToken)
void
mGT(boolean _createToken)
protected void
mID(boolean _createToken)
protected void
mID_LETTER(boolean _createToken)
void
mID_OR_ABSOLUTE(boolean _createToken)
protected void
mID_START_LETTER(boolean _createToken)
protected void
mINT(boolean _createToken)
void
mINT_OR_REAL_OR_DOTS(boolean _createToken)
void
mLBRACKET(boolean _createToken)
void
mLCURLY(boolean _createToken)
void
mLE(boolean _createToken)
void
mLPAREN(boolean _createToken)
void
mLT(boolean _createToken)
void
mMULTI_LINE_COMMENT(boolean _createToken)
void
mNE(boolean _createToken)
void
mNEWLINE(boolean _createToken)
void
mNOT(boolean _createToken)
void
mOR(boolean _createToken)
void
mRBRACKET(boolean _createToken)
void
mRCURLY(boolean _createToken)
protected void
mREAL(boolean _createToken)
void
mRPAREN(boolean _createToken)
void
mSEMI(boolean _createToken)
void
mSINGLE_LINE_COMMENT(boolean _createToken)
void
mSTRING(boolean _createToken)
void
mTYPE_CHECK(boolean _createToken)
void
mWILDCARD(boolean _createToken)
protected void
mWS(boolean _createToken)
antlr.Token
nextToken()
void
reportError(antlr.RecognitionException re)
-
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, 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
-
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
-
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
-
-
Constructor Detail
-
JsonQueryLexer
public JsonQueryLexer(InputStream in)
-
JsonQueryLexer
public JsonQueryLexer(Reader in)
-
JsonQueryLexer
public JsonQueryLexer(antlr.InputBuffer ib)
-
JsonQueryLexer
public JsonQueryLexer(antlr.LexerSharedInputState state)
-
-
Method Detail
-
reportError
public void reportError(antlr.RecognitionException re)
- Overrides:
reportError
in classantlr.CharScanner
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException
- Specified by:
nextToken
in interfaceantlr.TokenStream
- Throws:
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
-
mWILDCARD
public final void mWILDCARD(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCARET
public final void mCARET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLCURLY
public final void mLCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRCURLY
public final void mRCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLBRACKET
public final void mLBRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRBRACKET
public final void mRBRACKET(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
-
mAND
public final void mAND(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mOR
public final void mOR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mNOT
public final void mNOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mEQ
public final void mEQ(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mNE
public final void mNE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCONTAINS
public final void mCONTAINS(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
-
mLE
public final void mLE(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
-
mGE
public final void mGE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT_SIZE
public final void mAT_SIZE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT_VALUE
public final void mAT_VALUE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mTYPE_CHECK
public final void mTYPE_CHECK(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT_IS_NOT_NULL
protected final void mAT_IS_NOT_NULL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT_IS_NULL
protected final void mAT_IS_NULL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT_IS_ARRAY
protected final void mAT_IS_ARRAY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT_IS_OBJECT
protected final void mAT_IS_OBJECT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT_IS_VALUE
protected final void mAT_IS_VALUE(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
-
mESC
protected final void mESC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mID_OR_ABSOLUTE
public final void mID_OR_ABSOLUTE(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
-
mID
protected final void mID(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mINT_OR_REAL_OR_DOTS
public final void mINT_OR_REAL_OR_DOTS(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
-
mFRAC
protected final void mFRAC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mREAL
protected final void mREAL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDOTDOT
protected final void mDOTDOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mINT
protected final void mINT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDOT
protected final void mDOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mNEWLINE
public final void mNEWLINE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSINGLE_LINE_COMMENT
public final void mSINGLE_LINE_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mMULTI_LINE_COMMENT
public final void mMULTI_LINE_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mABSOLUTE
protected final void mABSOLUTE(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
-
mEXP
protected final void mEXP(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mWS
protected final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
-