Interface JsonPathVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
JsonPathBaseVisitor
public interface JsonPathVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>This interface defines a complete generic visitor for a parse tree produced byJsonPath.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitAndExpression(JsonPath.AndExpressionContext ctx)Visit a parse tree produced by theAndExpressionlabeled alternative inJsonPath.expression().TvisitBinaryExpression(JsonPath.BinaryExpressionContext ctx)Visit a parse tree produced by theBinaryExpressionlabeled alternative inJsonPath.expression().TvisitBracketOperator(JsonPath.BracketOperatorContext ctx)Visit a parse tree produced by theBracketOperatorlabeled alternative inJsonPath.object().TvisitDotOperator(JsonPath.DotOperatorContext ctx)Visit a parse tree produced by theDotOperatorlabeled alternative inJsonPath.object().TvisitEnd(JsonPath.EndContext ctx)Visit a parse tree produced byJsonPath.end().TvisitFilterExpression(JsonPath.FilterExpressionContext ctx)Visit a parse tree produced by theFilterExpressionlabeled alternative inJsonPath.expression().TvisitIdentifier(JsonPath.IdentifierContext ctx)Visit a parse tree produced by theIdentifierlabeled alternative inJsonPath.expression().TvisitJsonpath(JsonPath.JsonpathContext ctx)Visit a parse tree produced byJsonPath.jsonpath().TvisitLiteralExpression(JsonPath.LiteralExpressionContext ctx)Visit a parse tree produced by theLiteralExpressionlabeled alternative inJsonPath.expression().TvisitLitExpression(JsonPath.LitExpressionContext ctx)Visit a parse tree produced byJsonPath.litExpression().TvisitParentheticalExpression(JsonPath.ParentheticalExpressionContext ctx)Visit a parse tree produced by theParentheticalExpressionlabeled alternative inJsonPath.expression().TvisitPathExpression(JsonPath.PathExpressionContext ctx)Visit a parse tree produced by thePathExpressionlabeled alternative inJsonPath.expression().TvisitRangeOp(JsonPath.RangeOpContext ctx)Visit a parse tree produced byJsonPath.rangeOp().TvisitRangeOperator(JsonPath.RangeOperatorContext ctx)Visit a parse tree produced by theRangeOperatorlabeled alternative inJsonPath.object().TvisitRecursiveDescent(JsonPath.RecursiveDescentContext ctx)Visit a parse tree produced by theRecursiveDescentlabeled alternative inJsonPath.object().TvisitScopedPathExpression(JsonPath.ScopedPathExpressionContext ctx)Visit a parse tree produced by theScopedPathExpressionlabeled alternative inJsonPath.expression().TvisitStart(JsonPath.StartContext ctx)Visit a parse tree produced byJsonPath.start().TvisitUnionOperator(JsonPath.UnionOperatorContext ctx)Visit a parse tree produced by theUnionOperatorlabeled alternative inJsonPath.object().TvisitWildcardExpression(JsonPath.WildcardExpressionContext ctx)Visit a parse tree produced by theWildcardExpressionlabeled alternative inJsonPath.expression().
-
-
-
Method Detail
-
visitJsonpath
T visitJsonpath(JsonPath.JsonpathContext ctx)
Visit a parse tree produced byJsonPath.jsonpath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBracketOperator
T visitBracketOperator(JsonPath.BracketOperatorContext ctx)
Visit a parse tree produced by theBracketOperatorlabeled alternative inJsonPath.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotOperator
T visitDotOperator(JsonPath.DotOperatorContext ctx)
Visit a parse tree produced by theDotOperatorlabeled alternative inJsonPath.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecursiveDescent
T visitRecursiveDescent(JsonPath.RecursiveDescentContext ctx)
Visit a parse tree produced by theRecursiveDescentlabeled alternative inJsonPath.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionOperator
T visitUnionOperator(JsonPath.UnionOperatorContext ctx)
Visit a parse tree produced by theUnionOperatorlabeled alternative inJsonPath.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRangeOperator
T visitRangeOperator(JsonPath.RangeOperatorContext ctx)
Visit a parse tree produced by theRangeOperatorlabeled alternative inJsonPath.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRangeOp
T visitRangeOp(JsonPath.RangeOpContext ctx)
Visit a parse tree produced byJsonPath.rangeOp().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStart
T visitStart(JsonPath.StartContext ctx)
Visit a parse tree produced byJsonPath.start().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnd
T visitEnd(JsonPath.EndContext ctx)
Visit a parse tree produced byJsonPath.end().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParentheticalExpression
T visitParentheticalExpression(JsonPath.ParentheticalExpressionContext ctx)
Visit a parse tree produced by theParentheticalExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
T visitIdentifier(JsonPath.IdentifierContext ctx)
Visit a parse tree produced by theIdentifierlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
T visitAndExpression(JsonPath.AndExpressionContext ctx)
Visit a parse tree produced by theAndExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathExpression
T visitPathExpression(JsonPath.PathExpressionContext ctx)
Visit a parse tree produced by thePathExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScopedPathExpression
T visitScopedPathExpression(JsonPath.ScopedPathExpressionContext ctx)
Visit a parse tree produced by theScopedPathExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExpression
T visitBinaryExpression(JsonPath.BinaryExpressionContext ctx)
Visit a parse tree produced by theBinaryExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression
T visitLiteralExpression(JsonPath.LiteralExpressionContext ctx)
Visit a parse tree produced by theLiteralExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildcardExpression
T visitWildcardExpression(JsonPath.WildcardExpressionContext ctx)
Visit a parse tree produced by theWildcardExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFilterExpression
T visitFilterExpression(JsonPath.FilterExpressionContext ctx)
Visit a parse tree produced by theFilterExpressionlabeled alternative inJsonPath.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLitExpression
T visitLitExpression(JsonPath.LitExpressionContext ctx)
Visit a parse tree produced byJsonPath.litExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-