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 ofPathExpressionParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description PathExpressionParserBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TvisitArray_index(PathExpressionParser.Array_indexContext ctx)Visit a parse tree produced byPathExpressionParser.array_index().TvisitId(PathExpressionParser.IdContext ctx)Visit a parse tree produced byPathExpressionParser.id().TvisitPath(PathExpressionParser.PathContext ctx)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, visitTerminal
-
-
-
-
Method Detail
-
visitPath
public T visitPath(PathExpressionParser.PathContext ctx)
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
public T visitId(PathExpressionParser.IdContext ctx)
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
public T visitArray_index(PathExpressionParser.Array_indexContext ctx)
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
-
-