Interface XPathParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
XPathParserBaseVisitor
public interface XPathParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
XPathParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byXPathParser.abbreviatedStep().Visit a parse tree produced byXPathParser.absoluteLocationPath().Visit a parse tree produced byXPathParser.andExpr().Visit a parse tree produced byXPathParser.argument().Visit a parse tree produced byXPathParser.attributeStep().Visit a parse tree produced byXPathParser.axisName().Visit a parse tree produced byXPathParser.axisSpecifier().Visit a parse tree produced byXPathParser.bracketedExpr().Visit a parse tree produced byXPathParser.equalityExpr().Visit a parse tree produced byXPathParser.expr().Visit a parse tree produced byXPathParser.filterExpr().Visit a parse tree produced byXPathParser.functionCall().Visit a parse tree produced byXPathParser.functionCallExpr().Visit a parse tree produced byXPathParser.functionName().Visit a parse tree produced byXPathParser.literal().Visit a parse tree produced byXPathParser.literalOrNumber().Visit a parse tree produced byXPathParser.locationPath().Visit a parse tree produced byXPathParser.nameTest().Visit a parse tree produced byXPathParser.nodeTest().Visit a parse tree produced byXPathParser.nodeType().Visit a parse tree produced byXPathParser.orExpr().Visit a parse tree produced byXPathParser.pathExpr().Visit a parse tree produced byXPathParser.pathSeparator().Visit a parse tree produced byXPathParser.predicate().Visit a parse tree produced byXPathParser.predicateExpr().Visit a parse tree produced byXPathParser.primaryExpr().Visit a parse tree produced byXPathParser.relationalExpr().Visit a parse tree produced byXPathParser.relativeLocationPath().Visit a parse tree produced byXPathParser.step().Visit a parse tree produced byXPathParser.unaryExpr().Visit a parse tree produced byXPathParser.unionExpr().Visit a parse tree produced byXPathParser.xpathExpression().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitXpathExpression
Visit a parse tree produced byXPathParser.xpathExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
Visit a parse tree produced byXPathParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrExpr
Visit a parse tree produced byXPathParser.orExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpr
Visit a parse tree produced byXPathParser.andExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpr
Visit a parse tree produced byXPathParser.equalityExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpr
Visit a parse tree produced byXPathParser.relationalExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryExpr
Visit a parse tree produced byXPathParser.unaryExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionExpr
Visit a parse tree produced byXPathParser.unionExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathExpr
Visit a parse tree produced byXPathParser.pathExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCallExpr
Visit a parse tree produced byXPathParser.functionCallExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBracketedExpr
Visit a parse tree produced byXPathParser.bracketedExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralOrNumber
Visit a parse tree produced byXPathParser.literalOrNumber().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFilterExpr
Visit a parse tree produced byXPathParser.filterExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryExpr
Visit a parse tree produced byXPathParser.primaryExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocationPath
Visit a parse tree produced byXPathParser.locationPath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAbsoluteLocationPath
Visit a parse tree produced byXPathParser.absoluteLocationPath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelativeLocationPath
Visit a parse tree produced byXPathParser.relativeLocationPath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathSeparator
Visit a parse tree produced byXPathParser.pathSeparator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStep
Visit a parse tree produced byXPathParser.step().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAxisSpecifier
Visit a parse tree produced byXPathParser.axisSpecifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAxisName
Visit a parse tree produced byXPathParser.axisName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAbbreviatedStep
Visit a parse tree produced byXPathParser.abbreviatedStep().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttributeStep
Visit a parse tree produced byXPathParser.attributeStep().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNodeTest
Visit a parse tree produced byXPathParser.nodeTest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNameTest
Visit a parse tree produced byXPathParser.nameTest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNodeType
Visit a parse tree produced byXPathParser.nodeType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicate
Visit a parse tree produced byXPathParser.predicate().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredicateExpr
Visit a parse tree produced byXPathParser.predicateExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced byXPathParser.functionCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionName
Visit a parse tree produced byXPathParser.functionName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgument
Visit a parse tree produced byXPathParser.argument().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byXPathParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-