Class XPathParserBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,XPathParserListener
XPathParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byXPathParser.abbreviatedStep().voidEnter a parse tree produced byXPathParser.absoluteLocationPath().voidEnter a parse tree produced byXPathParser.andExpr().voidEnter a parse tree produced byXPathParser.argument().voidEnter a parse tree produced byXPathParser.attributeStep().voidEnter a parse tree produced byXPathParser.axisName().voidEnter a parse tree produced byXPathParser.axisSpecifier().voidEnter a parse tree produced byXPathParser.bracketedExpr().voidEnter a parse tree produced byXPathParser.equalityExpr().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byXPathParser.expr().voidEnter a parse tree produced byXPathParser.filterExpr().voidEnter a parse tree produced byXPathParser.functionCall().voidEnter a parse tree produced byXPathParser.functionCallExpr().voidEnter a parse tree produced byXPathParser.functionName().voidEnter a parse tree produced byXPathParser.literal().voidEnter a parse tree produced byXPathParser.literalOrNumber().voidEnter a parse tree produced byXPathParser.locationPath().voidEnter a parse tree produced byXPathParser.nameTest().voidEnter a parse tree produced byXPathParser.nodeTest().voidEnter a parse tree produced byXPathParser.nodeType().voidEnter a parse tree produced byXPathParser.orExpr().voidEnter a parse tree produced byXPathParser.pathExpr().voidEnter a parse tree produced byXPathParser.pathSeparator().voidEnter a parse tree produced byXPathParser.predicate().voidEnter a parse tree produced byXPathParser.predicateExpr().voidEnter a parse tree produced byXPathParser.primaryExpr().voidEnter a parse tree produced byXPathParser.relationalExpr().voidEnter a parse tree produced byXPathParser.relativeLocationPath().voidEnter a parse tree produced byXPathParser.step().voidEnter a parse tree produced byXPathParser.unaryExpr().voidEnter a parse tree produced byXPathParser.unionExpr().voidEnter a parse tree produced byXPathParser.xpathExpression().voidExit a parse tree produced byXPathParser.abbreviatedStep().voidExit a parse tree produced byXPathParser.absoluteLocationPath().voidExit a parse tree produced byXPathParser.andExpr().voidExit a parse tree produced byXPathParser.argument().voidExit a parse tree produced byXPathParser.attributeStep().voidExit a parse tree produced byXPathParser.axisName().voidExit a parse tree produced byXPathParser.axisSpecifier().voidExit a parse tree produced byXPathParser.bracketedExpr().voidExit a parse tree produced byXPathParser.equalityExpr().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byXPathParser.expr().voidExit a parse tree produced byXPathParser.filterExpr().voidExit a parse tree produced byXPathParser.functionCall().voidExit a parse tree produced byXPathParser.functionCallExpr().voidExit a parse tree produced byXPathParser.functionName().voidExit a parse tree produced byXPathParser.literal().voidExit a parse tree produced byXPathParser.literalOrNumber().voidExit a parse tree produced byXPathParser.locationPath().voidExit a parse tree produced byXPathParser.nameTest().voidExit a parse tree produced byXPathParser.nodeTest().voidExit a parse tree produced byXPathParser.nodeType().voidExit a parse tree produced byXPathParser.orExpr().voidExit a parse tree produced byXPathParser.pathExpr().voidExit a parse tree produced byXPathParser.pathSeparator().voidExit a parse tree produced byXPathParser.predicate().voidExit a parse tree produced byXPathParser.predicateExpr().voidExit a parse tree produced byXPathParser.primaryExpr().voidExit a parse tree produced byXPathParser.relationalExpr().voidExit a parse tree produced byXPathParser.relativeLocationPath().voidExit a parse tree produced byXPathParser.step().voidExit a parse tree produced byXPathParser.unaryExpr().voidExit a parse tree produced byXPathParser.unionExpr().voidExit a parse tree produced byXPathParser.xpathExpression().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
XPathParserBaseListener
public XPathParserBaseListener()
-
-
Method Details
-
enterXpathExpression
Enter a parse tree produced byXPathParser.xpathExpression().The default implementation does nothing.
- Specified by:
enterXpathExpressionin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitXpathExpression
Exit a parse tree produced byXPathParser.xpathExpression().The default implementation does nothing.
- Specified by:
exitXpathExpressionin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterExpr
Enter a parse tree produced byXPathParser.expr().The default implementation does nothing.
- Specified by:
enterExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitExpr
Exit a parse tree produced byXPathParser.expr().The default implementation does nothing.
- Specified by:
exitExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterOrExpr
Enter a parse tree produced byXPathParser.orExpr().The default implementation does nothing.
- Specified by:
enterOrExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitOrExpr
Exit a parse tree produced byXPathParser.orExpr().The default implementation does nothing.
- Specified by:
exitOrExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterAndExpr
Enter a parse tree produced byXPathParser.andExpr().The default implementation does nothing.
- Specified by:
enterAndExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitAndExpr
Exit a parse tree produced byXPathParser.andExpr().The default implementation does nothing.
- Specified by:
exitAndExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterEqualityExpr
Enter a parse tree produced byXPathParser.equalityExpr().The default implementation does nothing.
- Specified by:
enterEqualityExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitEqualityExpr
Exit a parse tree produced byXPathParser.equalityExpr().The default implementation does nothing.
- Specified by:
exitEqualityExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterRelationalExpr
Enter a parse tree produced byXPathParser.relationalExpr().The default implementation does nothing.
- Specified by:
enterRelationalExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitRelationalExpr
Exit a parse tree produced byXPathParser.relationalExpr().The default implementation does nothing.
- Specified by:
exitRelationalExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterUnaryExpr
Enter a parse tree produced byXPathParser.unaryExpr().The default implementation does nothing.
- Specified by:
enterUnaryExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitUnaryExpr
Exit a parse tree produced byXPathParser.unaryExpr().The default implementation does nothing.
- Specified by:
exitUnaryExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterUnionExpr
Enter a parse tree produced byXPathParser.unionExpr().The default implementation does nothing.
- Specified by:
enterUnionExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitUnionExpr
Exit a parse tree produced byXPathParser.unionExpr().The default implementation does nothing.
- Specified by:
exitUnionExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterPathExpr
Enter a parse tree produced byXPathParser.pathExpr().The default implementation does nothing.
- Specified by:
enterPathExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitPathExpr
Exit a parse tree produced byXPathParser.pathExpr().The default implementation does nothing.
- Specified by:
exitPathExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterFunctionCallExpr
Enter a parse tree produced byXPathParser.functionCallExpr().The default implementation does nothing.
- Specified by:
enterFunctionCallExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitFunctionCallExpr
Exit a parse tree produced byXPathParser.functionCallExpr().The default implementation does nothing.
- Specified by:
exitFunctionCallExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterBracketedExpr
Enter a parse tree produced byXPathParser.bracketedExpr().The default implementation does nothing.
- Specified by:
enterBracketedExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitBracketedExpr
Exit a parse tree produced byXPathParser.bracketedExpr().The default implementation does nothing.
- Specified by:
exitBracketedExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterLiteralOrNumber
Enter a parse tree produced byXPathParser.literalOrNumber().The default implementation does nothing.
- Specified by:
enterLiteralOrNumberin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitLiteralOrNumber
Exit a parse tree produced byXPathParser.literalOrNumber().The default implementation does nothing.
- Specified by:
exitLiteralOrNumberin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterFilterExpr
Enter a parse tree produced byXPathParser.filterExpr().The default implementation does nothing.
- Specified by:
enterFilterExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitFilterExpr
Exit a parse tree produced byXPathParser.filterExpr().The default implementation does nothing.
- Specified by:
exitFilterExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterPrimaryExpr
Enter a parse tree produced byXPathParser.primaryExpr().The default implementation does nothing.
- Specified by:
enterPrimaryExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitPrimaryExpr
Exit a parse tree produced byXPathParser.primaryExpr().The default implementation does nothing.
- Specified by:
exitPrimaryExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterLocationPath
Enter a parse tree produced byXPathParser.locationPath().The default implementation does nothing.
- Specified by:
enterLocationPathin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitLocationPath
Exit a parse tree produced byXPathParser.locationPath().The default implementation does nothing.
- Specified by:
exitLocationPathin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterAbsoluteLocationPath
Enter a parse tree produced byXPathParser.absoluteLocationPath().The default implementation does nothing.
- Specified by:
enterAbsoluteLocationPathin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitAbsoluteLocationPath
Exit a parse tree produced byXPathParser.absoluteLocationPath().The default implementation does nothing.
- Specified by:
exitAbsoluteLocationPathin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterRelativeLocationPath
Enter a parse tree produced byXPathParser.relativeLocationPath().The default implementation does nothing.
- Specified by:
enterRelativeLocationPathin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitRelativeLocationPath
Exit a parse tree produced byXPathParser.relativeLocationPath().The default implementation does nothing.
- Specified by:
exitRelativeLocationPathin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterPathSeparator
Enter a parse tree produced byXPathParser.pathSeparator().The default implementation does nothing.
- Specified by:
enterPathSeparatorin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitPathSeparator
Exit a parse tree produced byXPathParser.pathSeparator().The default implementation does nothing.
- Specified by:
exitPathSeparatorin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterStep
Enter a parse tree produced byXPathParser.step().The default implementation does nothing.
- Specified by:
enterStepin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitStep
Exit a parse tree produced byXPathParser.step().The default implementation does nothing.
- Specified by:
exitStepin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterAxisSpecifier
Enter a parse tree produced byXPathParser.axisSpecifier().The default implementation does nothing.
- Specified by:
enterAxisSpecifierin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitAxisSpecifier
Exit a parse tree produced byXPathParser.axisSpecifier().The default implementation does nothing.
- Specified by:
exitAxisSpecifierin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterAxisName
Enter a parse tree produced byXPathParser.axisName().The default implementation does nothing.
- Specified by:
enterAxisNamein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitAxisName
Exit a parse tree produced byXPathParser.axisName().The default implementation does nothing.
- Specified by:
exitAxisNamein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterAbbreviatedStep
Enter a parse tree produced byXPathParser.abbreviatedStep().The default implementation does nothing.
- Specified by:
enterAbbreviatedStepin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitAbbreviatedStep
Exit a parse tree produced byXPathParser.abbreviatedStep().The default implementation does nothing.
- Specified by:
exitAbbreviatedStepin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterAttributeStep
Enter a parse tree produced byXPathParser.attributeStep().The default implementation does nothing.
- Specified by:
enterAttributeStepin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitAttributeStep
Exit a parse tree produced byXPathParser.attributeStep().The default implementation does nothing.
- Specified by:
exitAttributeStepin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterNodeTest
Enter a parse tree produced byXPathParser.nodeTest().The default implementation does nothing.
- Specified by:
enterNodeTestin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitNodeTest
Exit a parse tree produced byXPathParser.nodeTest().The default implementation does nothing.
- Specified by:
exitNodeTestin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterNameTest
Enter a parse tree produced byXPathParser.nameTest().The default implementation does nothing.
- Specified by:
enterNameTestin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitNameTest
Exit a parse tree produced byXPathParser.nameTest().The default implementation does nothing.
- Specified by:
exitNameTestin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterNodeType
Enter a parse tree produced byXPathParser.nodeType().The default implementation does nothing.
- Specified by:
enterNodeTypein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitNodeType
Exit a parse tree produced byXPathParser.nodeType().The default implementation does nothing.
- Specified by:
exitNodeTypein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterPredicate
Enter a parse tree produced byXPathParser.predicate().The default implementation does nothing.
- Specified by:
enterPredicatein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitPredicate
Exit a parse tree produced byXPathParser.predicate().The default implementation does nothing.
- Specified by:
exitPredicatein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterPredicateExpr
Enter a parse tree produced byXPathParser.predicateExpr().The default implementation does nothing.
- Specified by:
enterPredicateExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitPredicateExpr
Exit a parse tree produced byXPathParser.predicateExpr().The default implementation does nothing.
- Specified by:
exitPredicateExprin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterFunctionCall
Enter a parse tree produced byXPathParser.functionCall().The default implementation does nothing.
- Specified by:
enterFunctionCallin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitFunctionCall
Exit a parse tree produced byXPathParser.functionCall().The default implementation does nothing.
- Specified by:
exitFunctionCallin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterFunctionName
Enter a parse tree produced byXPathParser.functionName().The default implementation does nothing.
- Specified by:
enterFunctionNamein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitFunctionName
Exit a parse tree produced byXPathParser.functionName().The default implementation does nothing.
- Specified by:
exitFunctionNamein interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterArgument
Enter a parse tree produced byXPathParser.argument().The default implementation does nothing.
- Specified by:
enterArgumentin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitArgument
Exit a parse tree produced byXPathParser.argument().The default implementation does nothing.
- Specified by:
exitArgumentin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterLiteral
Enter a parse tree produced byXPathParser.literal().The default implementation does nothing.
- Specified by:
enterLiteralin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
exitLiteral
Exit a parse tree produced byXPathParser.literal().The default implementation does nothing.
- Specified by:
exitLiteralin interfaceXPathParserListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-