T - The return type of the visit operation. Use Void for
operations with no return type.public class XpathBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements XpathVisitor<T>
XpathVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
XpathBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitMain(XpathParser.MainContext ctx)
XpathParser.main().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMain in interface XpathVisitor<T>ctx - the parse treepublic T visitLocationPath(XpathParser.LocationPathContext ctx)
XpathParser.locationPath().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLocationPath in interface XpathVisitor<T>ctx - the parse treepublic T visitAbsoluteLocationPathNoroot(XpathParser.AbsoluteLocationPathNorootContext ctx)
XpathParser.absoluteLocationPathNoroot().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAbsoluteLocationPathNoroot in interface XpathVisitor<T>ctx - the parse treepublic T visitRelativeLocationPath(XpathParser.RelativeLocationPathContext ctx)
XpathParser.relativeLocationPath().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRelativeLocationPath in interface XpathVisitor<T>ctx - the parse treepublic T visitStep(XpathParser.StepContext ctx)
XpathParser.step().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStep in interface XpathVisitor<T>ctx - the parse treepublic T visitAxisSpecifier(XpathParser.AxisSpecifierContext ctx)
XpathParser.axisSpecifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAxisSpecifier in interface XpathVisitor<T>ctx - the parse treepublic T visitNodeTest(XpathParser.NodeTestContext ctx)
XpathParser.nodeTest().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNodeTest in interface XpathVisitor<T>ctx - the parse treepublic T visitPredicate(XpathParser.PredicateContext ctx)
XpathParser.predicate().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPredicate in interface XpathVisitor<T>ctx - the parse treepublic T visitAbbreviatedStep(XpathParser.AbbreviatedStepContext ctx)
XpathParser.abbreviatedStep().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAbbreviatedStep in interface XpathVisitor<T>ctx - the parse treepublic T visitExpr(XpathParser.ExprContext ctx)
XpathParser.expr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitPrimaryExpr(XpathParser.PrimaryExprContext ctx)
XpathParser.primaryExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPrimaryExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitFunctionCall(XpathParser.FunctionCallContext ctx)
XpathParser.functionCall().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFunctionCall in interface XpathVisitor<T>ctx - the parse treepublic T visitUnionExprNoRoot(XpathParser.UnionExprNoRootContext ctx)
XpathParser.unionExprNoRoot().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitUnionExprNoRoot in interface XpathVisitor<T>ctx - the parse treepublic T visitPathExprNoRoot(XpathParser.PathExprNoRootContext ctx)
XpathParser.pathExprNoRoot().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPathExprNoRoot in interface XpathVisitor<T>ctx - the parse treepublic T visitFilterExpr(XpathParser.FilterExprContext ctx)
XpathParser.filterExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFilterExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitOrExpr(XpathParser.OrExprContext ctx)
XpathParser.orExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOrExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitAndExpr(XpathParser.AndExprContext ctx)
XpathParser.andExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAndExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitEqualityExpr(XpathParser.EqualityExprContext ctx)
XpathParser.equalityExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitEqualityExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitRelationalExpr(XpathParser.RelationalExprContext ctx)
XpathParser.relationalExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRelationalExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitAdditiveExpr(XpathParser.AdditiveExprContext ctx)
XpathParser.additiveExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAdditiveExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitMultiplicativeExpr(XpathParser.MultiplicativeExprContext ctx)
XpathParser.multiplicativeExpr().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMultiplicativeExpr in interface XpathVisitor<T>ctx - the parse treepublic T visitUnaryExprNoRoot(XpathParser.UnaryExprNoRootContext ctx)
XpathParser.unaryExprNoRoot().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitUnaryExprNoRoot in interface XpathVisitor<T>ctx - the parse treepublic T visitQName(XpathParser.QNameContext ctx)
XpathParser.qName().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitQName in interface XpathVisitor<T>ctx - the parse treepublic T visitFunctionName(XpathParser.FunctionNameContext ctx)
XpathParser.functionName().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFunctionName in interface XpathVisitor<T>ctx - the parse treepublic T visitVariableReference(XpathParser.VariableReferenceContext ctx)
XpathParser.variableReference().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableReference in interface XpathVisitor<T>ctx - the parse treepublic T visitNameTest(XpathParser.NameTestContext ctx)
XpathParser.nameTest().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNameTest in interface XpathVisitor<T>ctx - the parse treepublic T visitNCName(XpathParser.NCNameContext ctx)
XpathParser.nCName().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNCName in interface XpathVisitor<T>ctx - the parse treeCopyright © 2018. All Rights Reserved.