Class JsonQueryParser
- java.lang.Object
-
- antlr.Parser
-
- antlr.LLkParser
-
- net.sf.jasperreports.engine.json.parser.JsonQueryParser
-
- All Implemented Interfaces:
JsonQueryParserTokenTypes
public class JsonQueryParser extends antlr.LLkParser implements JsonQueryParserTokenTypes
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]_tokenNamesstatic antlr.collections.impl.BitSet_tokenSet_0static antlr.collections.impl.BitSet_tokenSet_1static antlr.collections.impl.BitSet_tokenSet_2-
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
Fields inherited from interface net.sf.jasperreports.engine.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 Modifier Constructor Description JsonQueryParser(antlr.ParserSharedInputState state)JsonQueryParser(antlr.TokenBuffer tokenBuf)protectedJsonQueryParser(antlr.TokenBuffer tokenBuf, int k)JsonQueryParser(antlr.TokenStream lexer)protectedJsonQueryParser(antlr.TokenStream lexer, int k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidandExpr()voidarrayConstructionExpr()voidarrayExpr()voidarraySliceExpr()voidbasicExpr()protected voidbuildTokenTypeASTClassMap()voidcomplexKeyExpr()voidfilterExpr()voidfilterExprMain()voidfilterNaviExpr()voidmemberExpr()voidmultiLevelUpExpr()voidnon_string_value()voidnotExpr()voidobjectConstructionExpr()voidoperator_to_value()voidpathExpr()voidpathNaviExpr()voidpathTypeCheckExpr()voidsimpleKeyExpr()voidsizeFnExpr()voidvalueFnExpr()-
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
-
-
-
-
Constructor Detail
-
JsonQueryParser
protected JsonQueryParser(antlr.TokenBuffer tokenBuf, int k)
-
JsonQueryParser
public JsonQueryParser(antlr.TokenBuffer tokenBuf)
-
JsonQueryParser
protected JsonQueryParser(antlr.TokenStream lexer, int k)
-
JsonQueryParser
public JsonQueryParser(antlr.TokenStream lexer)
-
JsonQueryParser
public JsonQueryParser(antlr.ParserSharedInputState state)
-
-
Method Detail
-
pathExpr
public final void pathExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
memberExpr
public final void memberExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
pathNaviExpr
public final void pathNaviExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
filterExprMain
public final void filterExprMain() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
simpleKeyExpr
public final void simpleKeyExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
complexKeyExpr
public final void complexKeyExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
objectConstructionExpr
public final void objectConstructionExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
arrayExpr
public final void arrayExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
arrayConstructionExpr
public final void arrayConstructionExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
arraySliceExpr
public final void arraySliceExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
multiLevelUpExpr
public final void multiLevelUpExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
filterExpr
public final void filterExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
andExpr
public final void andExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
notExpr
public final void notExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
basicExpr
public final void basicExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
filterNaviExpr
public final void filterNaviExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
pathTypeCheckExpr
public final void pathTypeCheckExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
sizeFnExpr
public final void sizeFnExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
valueFnExpr
public final void valueFnExpr() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
operator_to_value
public final void operator_to_value() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
non_string_value
public final void non_string_value() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.TokenStreamException
-
buildTokenTypeASTClassMap
protected void buildTokenTypeASTClassMap()
-
-