Class JsonPathParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,JsonPathParserVisitor<T>
JsonPathParserVisitor,
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 byJsonPathParser.binaryExpression().Visit a parse tree produced byJsonPathParser.bracketOperator().Visit a parse tree produced byJsonPathParser.containsExpression().Visit a parse tree produced byJsonPathParser.dotOperator().Visit a parse tree produced byJsonPathParser.end().Visit a parse tree produced byJsonPathParser.expression().Visit a parse tree produced byJsonPathParser.filter().Visit a parse tree produced byJsonPathParser.filterExpression().Visit a parse tree produced byJsonPathParser.indexes().Visit a parse tree produced byJsonPathParser.jsonPath().Visit a parse tree produced byJsonPathParser.literalExpression().Visit a parse tree produced byJsonPathParser.property().Visit a parse tree produced byJsonPathParser.recursiveDecent().Visit a parse tree produced byJsonPathParser.regexExpression().Visit a parse tree produced byJsonPathParser.slice().Visit a parse tree produced byJsonPathParser.start().Visit a parse tree produced byJsonPathParser.unaryExpression().Visit a parse tree produced byJsonPathParser.wildcard().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
-
JsonPathParserBaseVisitor
public JsonPathParserBaseVisitor()
-
-
Method Details
-
visitJsonPath
Visit a parse tree produced byJsonPathParser.jsonPath().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJsonPathin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byJsonPathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotOperator
Visit a parse tree produced byJsonPathParser.dotOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDotOperatorin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecursiveDecent
Visit a parse tree produced byJsonPathParser.recursiveDecent().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecursiveDecentin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBracketOperator
Visit a parse tree produced byJsonPathParser.bracketOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBracketOperatorin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFilter
Visit a parse tree produced byJsonPathParser.filter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFilterin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFilterExpression
Visit a parse tree produced byJsonPathParser.filterExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFilterExpressionin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExpression
Visit a parse tree produced byJsonPathParser.binaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryExpressionin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContainsExpression
Visit a parse tree produced byJsonPathParser.containsExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContainsExpressionin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegexExpression
Visit a parse tree produced byJsonPathParser.regexExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRegexExpressionin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryExpression
Visit a parse tree produced byJsonPathParser.unaryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryExpressionin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression
Visit a parse tree produced byJsonPathParser.literalExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralExpressionin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProperty
Visit a parse tree produced byJsonPathParser.property().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertyin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildcard
Visit a parse tree produced byJsonPathParser.wildcard().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWildcardin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlice
Visit a parse tree produced byJsonPathParser.slice().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlicein interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStart
Visit a parse tree produced byJsonPathParser.start().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStartin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnd
Visit a parse tree produced byJsonPathParser.end().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEndin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexes
Visit a parse tree produced byJsonPathParser.indexes().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexesin interfaceJsonPathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-