Package net.sf.jasperreports.json.parser
Class JsonQueryWalker
- java.lang.Object
-
- antlr.TreeParser
-
- net.sf.jasperreports.json.parser.JsonQueryWalker
-
- All Implemented Interfaces:
JsonQueryParserTokenTypes
public class JsonQueryWalker extends antlr.TreeParser implements JsonQueryParserTokenTypes
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String[]
_tokenNames
-
Fields inherited from class antlr.TreeParser
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, 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 JsonQueryWalker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addArrayIndex(antlr.collections.AST _t, ArrayConstructionExpression arrayConstrExpr)
void
addObjectKey(antlr.collections.AST _t, ObjectConstructionExpression objConstrExpr)
MemberExpression.DIRECTION
direction(antlr.collections.AST _t)
FilterExpression
filterExpr(antlr.collections.AST _t)
FilterExpression
filterExprMain(antlr.collections.AST _t)
BasicFilterExpression
filterExprMinimal(antlr.collections.AST _t)
void
filterMemberExpr(antlr.collections.AST _t, BasicFilterExpression filterExpression)
JsonQLExpression
jsonQLExpression(antlr.collections.AST _t)
void
memberExpr(antlr.collections.AST _t, JsonQLExpression jsonQLExpression)
JsonOperatorEnum
operator(antlr.collections.AST _t)
MemberExpression
pathNaviExpr(antlr.collections.AST _t)
void
pathTypeCheckExpr(antlr.collections.AST _t, BasicFilterExpression filterExpression)
ValueDescriptor
value(antlr.collections.AST _t)
-
-
-
Field Detail
-
_tokenNames
public static final String[] _tokenNames
-
-
Method Detail
-
jsonQLExpression
public final JsonQLExpression jsonQLExpression(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
memberExpr
public final void memberExpr(antlr.collections.AST _t, JsonQLExpression jsonQLExpression) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
pathNaviExpr
public final MemberExpression pathNaviExpr(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
filterExprMain
public final FilterExpression filterExprMain(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
direction
public final MemberExpression.DIRECTION direction(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
addObjectKey
public final void addObjectKey(antlr.collections.AST _t, ObjectConstructionExpression objConstrExpr) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
addArrayIndex
public final void addArrayIndex(antlr.collections.AST _t, ArrayConstructionExpression arrayConstrExpr) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
filterExpr
public final FilterExpression filterExpr(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
filterExprMinimal
public final BasicFilterExpression filterExprMinimal(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
operator
public final JsonOperatorEnum operator(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
value
public final ValueDescriptor value(antlr.collections.AST _t) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
pathTypeCheckExpr
public final void pathTypeCheckExpr(antlr.collections.AST _t, BasicFilterExpression filterExpression) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
filterMemberExpr
public final void filterMemberExpr(antlr.collections.AST _t, BasicFilterExpression filterExpression) throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
-
-