Class PathExpressionParserBaseVisitor<T>
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.api.jsonata4java.expressions.path.generated.PathExpressionParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
PathExpressionParserVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
PathExpressionVisitor
public class PathExpressionParserBaseVisitor<T>
extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
implements PathExpressionParserVisitor<T>
This class provides an empty implementation of
PathExpressionParserVisitor,
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 byPathExpressionParser.array_index().Visit a parse tree produced byPathExpressionParser.id().Visit a parse tree produced by thepathlabeled alternative inPathExpressionParser.expr().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
-
PathExpressionParserBaseVisitor
public PathExpressionParserBaseVisitor()
-
-
Method Details
-
visitPath
Visit a parse tree produced by thepathlabeled alternative inPathExpressionParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPathin interfacePathExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitId
Visit a parse tree produced byPathExpressionParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdin interfacePathExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArray_index
Visit a parse tree produced byPathExpressionParser.array_index().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArray_indexin interfacePathExpressionParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-