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.| 构造器和说明 |
|---|
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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 在接口中 XpathVisitor<T>ctx - the parse treeCopyright © 2018. All Rights Reserved.