Class JsonPathBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
JsonPathVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
JsonPathVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theabsMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by theaccessorExpressionDefaultlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thearrayAccessorlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thebinarylabeled alternative inJsonPathParser.pathExpression().Visit a parse tree produced byJsonPathParser.booleanLiteral().Visit a parse tree produced by theceilingMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced byJsonPathParser.comparisonOperator().Visit a parse tree produced by thecomparisonPredicatelabeled alternative inJsonPathParser.predicatePrimary().Visit a parse tree produced by theconjunctionPredicatelabeled alternative inJsonPathParser.predicate().Visit a parse tree produced by thecontextVariablelabeled alternative inJsonPathParser.variable().Visit a parse tree produced by thedatetimeMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thedecimalLiterallabeled alternative inJsonPathParser.numericLiteral().Visit a parse tree produced by thedescendantMemberAccessorlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thedisjunctionPredicatelabeled alternative inJsonPathParser.predicate().Visit a parse tree produced by thedoubleLiterallabeled alternative inJsonPathParser.numericLiteral().Visit a parse tree produced by thedoubleMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by theexistsPredicatelabeled alternative inJsonPathParser.delimitedPredicate().Visit a parse tree produced by theexpressionDefaultlabeled alternative inJsonPathParser.pathExpression().Visit a parse tree produced by thefilterlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thefloorMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced byJsonPathParser.identifier().Visit a parse tree produced by theintegerLiterallabeled alternative inJsonPathParser.numericLiteral().Visit a parse tree produced by theisUnknownPredicatelabeled alternative inJsonPathParser.predicatePrimary().Visit a parse tree produced by thekeyValueMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thelastIndexVariablelabeled alternative inJsonPathParser.variable().Visit a parse tree produced by thelikeRegexPredicatelabeled alternative inJsonPathParser.predicatePrimary().Visit a parse tree produced byJsonPathParser.literal().Visit a parse tree produced by theliteralPrimarylabeled alternative inJsonPathParser.pathPrimary().Visit a parse tree produced by thememberAccessorlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thenamedVariablelabeled alternative inJsonPathParser.variable().Visit a parse tree produced by thenegationPredicatelabeled alternative inJsonPathParser.predicate().Visit a parse tree produced byJsonPathParser.nonReserved().Visit a parse tree produced byJsonPathParser.nullLiteral().Visit a parse tree produced by theparenthesizedPathlabeled alternative inJsonPathParser.pathPrimary().Visit a parse tree produced by theparenthesizedPredicatelabeled alternative inJsonPathParser.delimitedPredicate().Visit a parse tree produced byJsonPathParser.path().Visit a parse tree produced byJsonPathParser.pathMode().Visit a parse tree produced by thepredicateCurrentItemVariablelabeled alternative inJsonPathParser.variable().Visit a parse tree produced by thepredicateDefaultlabeled alternative inJsonPathParser.predicate().Visit a parse tree produced by thepredicatePrimaryDefaultlabeled alternative inJsonPathParser.predicatePrimary().Visit a parse tree produced by thesignedUnarylabeled alternative inJsonPathParser.pathExpression().Visit a parse tree produced by thesizeMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thestartsWithPredicatelabeled alternative inJsonPathParser.predicatePrimary().Visit a parse tree produced byJsonPathParser.stringLiteral().Visit a parse tree produced byJsonPathParser.subscript().Visit a parse tree produced by thetypeMethodlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thevariablePrimarylabeled alternative inJsonPathParser.pathPrimary().Visit a parse tree produced by thewildcardArrayAccessorlabeled alternative inJsonPathParser.accessorExpression().Visit a parse tree produced by thewildcardMemberAccessorlabeled alternative inJsonPathParser.accessorExpression().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
JsonPathBaseVisitor
public JsonPathBaseVisitor()
-
-
Method Details
-
visitPath
Visit a parse tree produced byJsonPathParser.path().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPathin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathMode
Visit a parse tree produced byJsonPathParser.pathMode().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPathModein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionDefault
Visit a parse tree produced by theexpressionDefaultlabeled alternative inJsonPathParser.pathExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionDefaultin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSignedUnary
Visit a parse tree produced by thesignedUnarylabeled alternative inJsonPathParser.pathExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSignedUnaryin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinary
Visit a parse tree produced by thebinarylabeled alternative inJsonPathParser.pathExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDescendantMemberAccessor
Visit a parse tree produced by thedescendantMemberAccessorlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDescendantMemberAccessorin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleMethod
Visit a parse tree produced by thedoubleMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoubleMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDatetimeMethod
Visit a parse tree produced by thedatetimeMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDatetimeMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAbsMethod
Visit a parse tree produced by theabsMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAbsMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberAccessor
Visit a parse tree produced by thememberAccessorlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberAccessorin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayAccessor
Visit a parse tree produced by thearrayAccessorlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayAccessorin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFilter
Visit a parse tree produced by thefilterlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFilterin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildcardArrayAccessor
Visit a parse tree produced by thewildcardArrayAccessorlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWildcardArrayAccessorin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCeilingMethod
Visit a parse tree produced by theceilingMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCeilingMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloorMethod
Visit a parse tree produced by thefloorMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFloorMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeMethod
Visit a parse tree produced by thetypeMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAccessorExpressionDefault
Visit a parse tree produced by theaccessorExpressionDefaultlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAccessorExpressionDefaultin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildcardMemberAccessor
Visit a parse tree produced by thewildcardMemberAccessorlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWildcardMemberAccessorin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSizeMethod
Visit a parse tree produced by thesizeMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSizeMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValueMethod
Visit a parse tree produced by thekeyValueMethodlabeled alternative inJsonPathParser.accessorExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyValueMethodin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced byJsonPathParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubscript
Visit a parse tree produced byJsonPathParser.subscript().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubscriptin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralPrimary
Visit a parse tree produced by theliteralPrimarylabeled alternative inJsonPathParser.pathPrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralPrimaryin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariablePrimary
Visit a parse tree produced by thevariablePrimarylabeled alternative inJsonPathParser.pathPrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariablePrimaryin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedPath
Visit a parse tree produced by theparenthesizedPathlabeled alternative inJsonPathParser.pathPrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedPathin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byJsonPathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecimalLiteral
Visit a parse tree produced by thedecimalLiterallabeled alternative inJsonPathParser.numericLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecimalLiteralin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleLiteral
Visit a parse tree produced by thedoubleLiterallabeled alternative inJsonPathParser.numericLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoubleLiteralin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
Visit a parse tree produced by theintegerLiterallabeled alternative inJsonPathParser.numericLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntegerLiteralin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Visit a parse tree produced byJsonPathParser.stringLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringLiteralin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
Visit a parse tree produced byJsonPathParser.nullLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullLiteralin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteral
Visit a parse tree produced byJsonPathParser.booleanLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanLiteralin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContextVariable
Visit a parse tree produced by thecontextVariablelabeled alternative inJsonPathParser.variable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContextVariablein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamedVariable
Visit a parse tree produced by thenamedVariablelabeled alternative inJsonPathParser.variable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamedVariablein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastIndexVariable
Visit a parse tree produced by thelastIndexVariablelabeled alternative inJsonPathParser.variable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastIndexVariablein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicateCurrentItemVariable
Visit a parse tree produced by thepredicateCurrentItemVariablelabeled alternative inJsonPathParser.variable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicateCurrentItemVariablein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNegationPredicate
Visit a parse tree produced by thenegationPredicatelabeled alternative inJsonPathParser.predicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNegationPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicateDefault
Visit a parse tree produced by thepredicateDefaultlabeled alternative inJsonPathParser.predicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicateDefaultin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDisjunctionPredicate
Visit a parse tree produced by thedisjunctionPredicatelabeled alternative inJsonPathParser.predicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDisjunctionPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConjunctionPredicate
Visit a parse tree produced by theconjunctionPredicatelabeled alternative inJsonPathParser.predicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConjunctionPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicatePrimaryDefault
Visit a parse tree produced by thepredicatePrimaryDefaultlabeled alternative inJsonPathParser.predicatePrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredicatePrimaryDefaultin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonPredicate
Visit a parse tree produced by thecomparisonPredicatelabeled alternative inJsonPathParser.predicatePrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLikeRegexPredicate
Visit a parse tree produced by thelikeRegexPredicatelabeled alternative inJsonPathParser.predicatePrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLikeRegexPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStartsWithPredicate
Visit a parse tree produced by thestartsWithPredicatelabeled alternative inJsonPathParser.predicatePrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStartsWithPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIsUnknownPredicate
Visit a parse tree produced by theisUnknownPredicatelabeled alternative inJsonPathParser.predicatePrimary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIsUnknownPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExistsPredicate
Visit a parse tree produced by theexistsPredicatelabeled alternative inJsonPathParser.delimitedPredicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExistsPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedPredicate
Visit a parse tree produced by theparenthesizedPredicatelabeled alternative inJsonPathParser.delimitedPredicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedPredicatein interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonOperator
Visit a parse tree produced byJsonPathParser.comparisonOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonOperatorin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonReserved
Visit a parse tree produced byJsonPathParser.nonReserved().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonReservedin interfaceJsonPathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-