Show / Hide Table of Contents

Class xpathBaseListener

This class provides an empty implementation of IxpathListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
xpathBaseListener
Implements
IxpathListener
Antlr4.Runtime.Tree.IParseTreeListener
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GCore.Antlr.Grammers.Xpath
Assembly: Xpath.dll
Syntax
[CLSCompliant(false)]
public class xpathBaseListener : IxpathListener, IParseTreeListener

Methods

| Improve this Doc View Source

EnterAbbreviatedStep(xpathParser.AbbreviatedStepContext)

Enter a parse tree produced by abbreviatedStep().

The default implementation does nothing.

Declaration
public virtual void EnterAbbreviatedStep([NotNull] xpathParser.AbbreviatedStepContext context)
Parameters
Type Name Description
xpathParser.AbbreviatedStepContext context

The parse tree.

| Improve this Doc View Source

EnterAbsoluteLocationPathNoroot(xpathParser.AbsoluteLocationPathNorootContext)

Enter a parse tree produced by absoluteLocationPathNoroot().

The default implementation does nothing.

Declaration
public virtual void EnterAbsoluteLocationPathNoroot([NotNull] xpathParser.AbsoluteLocationPathNorootContext context)
Parameters
Type Name Description
xpathParser.AbsoluteLocationPathNorootContext context

The parse tree.

| Improve this Doc View Source

EnterAdditiveExpr(xpathParser.AdditiveExprContext)

Enter a parse tree produced by additiveExpr().

The default implementation does nothing.

Declaration
public virtual void EnterAdditiveExpr([NotNull] xpathParser.AdditiveExprContext context)
Parameters
Type Name Description
xpathParser.AdditiveExprContext context

The parse tree.

| Improve this Doc View Source

EnterAndExpr(xpathParser.AndExprContext)

Enter a parse tree produced by andExpr().

The default implementation does nothing.

Declaration
public virtual void EnterAndExpr([NotNull] xpathParser.AndExprContext context)
Parameters
Type Name Description
xpathParser.AndExprContext context

The parse tree.

| Improve this Doc View Source

EnterAxisSpecifier(xpathParser.AxisSpecifierContext)

Enter a parse tree produced by axisSpecifier().

The default implementation does nothing.

Declaration
public virtual void EnterAxisSpecifier([NotNull] xpathParser.AxisSpecifierContext context)
Parameters
Type Name Description
xpathParser.AxisSpecifierContext context

The parse tree.

| Improve this Doc View Source

EnterEqualityExpr(xpathParser.EqualityExprContext)

Enter a parse tree produced by equalityExpr().

The default implementation does nothing.

Declaration
public virtual void EnterEqualityExpr([NotNull] xpathParser.EqualityExprContext context)
Parameters
Type Name Description
xpathParser.EqualityExprContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(ParserRuleContext)

Declaration
public virtual void EnterEveryRule([NotNull] ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

EnterExpr(xpathParser.ExprContext)

Enter a parse tree produced by expr().

The default implementation does nothing.

Declaration
public virtual void EnterExpr([NotNull] xpathParser.ExprContext context)
Parameters
Type Name Description
xpathParser.ExprContext context

The parse tree.

| Improve this Doc View Source

EnterFilterExpr(xpathParser.FilterExprContext)

Enter a parse tree produced by filterExpr().

The default implementation does nothing.

Declaration
public virtual void EnterFilterExpr([NotNull] xpathParser.FilterExprContext context)
Parameters
Type Name Description
xpathParser.FilterExprContext context

The parse tree.

| Improve this Doc View Source

EnterFunctionCall(xpathParser.FunctionCallContext)

Enter a parse tree produced by functionCall().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionCall([NotNull] xpathParser.FunctionCallContext context)
Parameters
Type Name Description
xpathParser.FunctionCallContext context

The parse tree.

| Improve this Doc View Source

EnterFunctionName(xpathParser.FunctionNameContext)

Enter a parse tree produced by functionName().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionName([NotNull] xpathParser.FunctionNameContext context)
Parameters
Type Name Description
xpathParser.FunctionNameContext context

The parse tree.

| Improve this Doc View Source

EnterLocationPath(xpathParser.LocationPathContext)

Enter a parse tree produced by locationPath().

The default implementation does nothing.

Declaration
public virtual void EnterLocationPath([NotNull] xpathParser.LocationPathContext context)
Parameters
Type Name Description
xpathParser.LocationPathContext context

The parse tree.

| Improve this Doc View Source

EnterMain(xpathParser.MainContext)

Enter a parse tree produced by main().

The default implementation does nothing.

Declaration
public virtual void EnterMain([NotNull] xpathParser.MainContext context)
Parameters
Type Name Description
xpathParser.MainContext context

The parse tree.

| Improve this Doc View Source

EnterMultiplicativeExpr(xpathParser.MultiplicativeExprContext)

Enter a parse tree produced by multiplicativeExpr().

The default implementation does nothing.

Declaration
public virtual void EnterMultiplicativeExpr([NotNull] xpathParser.MultiplicativeExprContext context)
Parameters
Type Name Description
xpathParser.MultiplicativeExprContext context

The parse tree.

| Improve this Doc View Source

EnterNameTest(xpathParser.NameTestContext)

Enter a parse tree produced by nameTest().

The default implementation does nothing.

Declaration
public virtual void EnterNameTest([NotNull] xpathParser.NameTestContext context)
Parameters
Type Name Description
xpathParser.NameTestContext context

The parse tree.

| Improve this Doc View Source

EnterNCName(xpathParser.NCNameContext)

Enter a parse tree produced by nCName().

The default implementation does nothing.

Declaration
public virtual void EnterNCName([NotNull] xpathParser.NCNameContext context)
Parameters
Type Name Description
xpathParser.NCNameContext context

The parse tree.

| Improve this Doc View Source

EnterNodeTest(xpathParser.NodeTestContext)

Enter a parse tree produced by nodeTest().

The default implementation does nothing.

Declaration
public virtual void EnterNodeTest([NotNull] xpathParser.NodeTestContext context)
Parameters
Type Name Description
xpathParser.NodeTestContext context

The parse tree.

| Improve this Doc View Source

EnterOrExpr(xpathParser.OrExprContext)

Enter a parse tree produced by orExpr().

The default implementation does nothing.

Declaration
public virtual void EnterOrExpr([NotNull] xpathParser.OrExprContext context)
Parameters
Type Name Description
xpathParser.OrExprContext context

The parse tree.

| Improve this Doc View Source

EnterPathExprNoRoot(xpathParser.PathExprNoRootContext)

Enter a parse tree produced by pathExprNoRoot().

The default implementation does nothing.

Declaration
public virtual void EnterPathExprNoRoot([NotNull] xpathParser.PathExprNoRootContext context)
Parameters
Type Name Description
xpathParser.PathExprNoRootContext context

The parse tree.

| Improve this Doc View Source

EnterPredicate(xpathParser.PredicateContext)

Enter a parse tree produced by predicate().

The default implementation does nothing.

Declaration
public virtual void EnterPredicate([NotNull] xpathParser.PredicateContext context)
Parameters
Type Name Description
xpathParser.PredicateContext context

The parse tree.

| Improve this Doc View Source

EnterPrimaryExpr(xpathParser.PrimaryExprContext)

Enter a parse tree produced by primaryExpr().

The default implementation does nothing.

Declaration
public virtual void EnterPrimaryExpr([NotNull] xpathParser.PrimaryExprContext context)
Parameters
Type Name Description
xpathParser.PrimaryExprContext context

The parse tree.

| Improve this Doc View Source

EnterQName(xpathParser.QNameContext)

Enter a parse tree produced by qName().

The default implementation does nothing.

Declaration
public virtual void EnterQName([NotNull] xpathParser.QNameContext context)
Parameters
Type Name Description
xpathParser.QNameContext context

The parse tree.

| Improve this Doc View Source

EnterRelationalExpr(xpathParser.RelationalExprContext)

Enter a parse tree produced by relationalExpr().

The default implementation does nothing.

Declaration
public virtual void EnterRelationalExpr([NotNull] xpathParser.RelationalExprContext context)
Parameters
Type Name Description
xpathParser.RelationalExprContext context

The parse tree.

| Improve this Doc View Source

EnterRelativeLocationPath(xpathParser.RelativeLocationPathContext)

Enter a parse tree produced by relativeLocationPath().

The default implementation does nothing.

Declaration
public virtual void EnterRelativeLocationPath([NotNull] xpathParser.RelativeLocationPathContext context)
Parameters
Type Name Description
xpathParser.RelativeLocationPathContext context

The parse tree.

| Improve this Doc View Source

EnterStep(xpathParser.StepContext)

Enter a parse tree produced by step().

The default implementation does nothing.

Declaration
public virtual void EnterStep([NotNull] xpathParser.StepContext context)
Parameters
Type Name Description
xpathParser.StepContext context

The parse tree.

| Improve this Doc View Source

EnterUnaryExprNoRoot(xpathParser.UnaryExprNoRootContext)

Enter a parse tree produced by unaryExprNoRoot().

The default implementation does nothing.

Declaration
public virtual void EnterUnaryExprNoRoot([NotNull] xpathParser.UnaryExprNoRootContext context)
Parameters
Type Name Description
xpathParser.UnaryExprNoRootContext context

The parse tree.

| Improve this Doc View Source

EnterUnionExprNoRoot(xpathParser.UnionExprNoRootContext)

Enter a parse tree produced by unionExprNoRoot().

The default implementation does nothing.

Declaration
public virtual void EnterUnionExprNoRoot([NotNull] xpathParser.UnionExprNoRootContext context)
Parameters
Type Name Description
xpathParser.UnionExprNoRootContext context

The parse tree.

| Improve this Doc View Source

EnterVariableReference(xpathParser.VariableReferenceContext)

Enter a parse tree produced by variableReference().

The default implementation does nothing.

Declaration
public virtual void EnterVariableReference([NotNull] xpathParser.VariableReferenceContext context)
Parameters
Type Name Description
xpathParser.VariableReferenceContext context

The parse tree.

| Improve this Doc View Source

ExitAbbreviatedStep(xpathParser.AbbreviatedStepContext)

Exit a parse tree produced by abbreviatedStep().

The default implementation does nothing.

Declaration
public virtual void ExitAbbreviatedStep([NotNull] xpathParser.AbbreviatedStepContext context)
Parameters
Type Name Description
xpathParser.AbbreviatedStepContext context

The parse tree.

| Improve this Doc View Source

ExitAbsoluteLocationPathNoroot(xpathParser.AbsoluteLocationPathNorootContext)

Exit a parse tree produced by absoluteLocationPathNoroot().

The default implementation does nothing.

Declaration
public virtual void ExitAbsoluteLocationPathNoroot([NotNull] xpathParser.AbsoluteLocationPathNorootContext context)
Parameters
Type Name Description
xpathParser.AbsoluteLocationPathNorootContext context

The parse tree.

| Improve this Doc View Source

ExitAdditiveExpr(xpathParser.AdditiveExprContext)

Exit a parse tree produced by additiveExpr().

The default implementation does nothing.

Declaration
public virtual void ExitAdditiveExpr([NotNull] xpathParser.AdditiveExprContext context)
Parameters
Type Name Description
xpathParser.AdditiveExprContext context

The parse tree.

| Improve this Doc View Source

ExitAndExpr(xpathParser.AndExprContext)

Exit a parse tree produced by andExpr().

The default implementation does nothing.

Declaration
public virtual void ExitAndExpr([NotNull] xpathParser.AndExprContext context)
Parameters
Type Name Description
xpathParser.AndExprContext context

The parse tree.

| Improve this Doc View Source

ExitAxisSpecifier(xpathParser.AxisSpecifierContext)

Exit a parse tree produced by axisSpecifier().

The default implementation does nothing.

Declaration
public virtual void ExitAxisSpecifier([NotNull] xpathParser.AxisSpecifierContext context)
Parameters
Type Name Description
xpathParser.AxisSpecifierContext context

The parse tree.

| Improve this Doc View Source

ExitEqualityExpr(xpathParser.EqualityExprContext)

Exit a parse tree produced by equalityExpr().

The default implementation does nothing.

Declaration
public virtual void ExitEqualityExpr([NotNull] xpathParser.EqualityExprContext context)
Parameters
Type Name Description
xpathParser.EqualityExprContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(ParserRuleContext)

Declaration
public virtual void ExitEveryRule([NotNull] ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

ExitExpr(xpathParser.ExprContext)

Exit a parse tree produced by expr().

The default implementation does nothing.

Declaration
public virtual void ExitExpr([NotNull] xpathParser.ExprContext context)
Parameters
Type Name Description
xpathParser.ExprContext context

The parse tree.

| Improve this Doc View Source

ExitFilterExpr(xpathParser.FilterExprContext)

Exit a parse tree produced by filterExpr().

The default implementation does nothing.

Declaration
public virtual void ExitFilterExpr([NotNull] xpathParser.FilterExprContext context)
Parameters
Type Name Description
xpathParser.FilterExprContext context

The parse tree.

| Improve this Doc View Source

ExitFunctionCall(xpathParser.FunctionCallContext)

Exit a parse tree produced by functionCall().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionCall([NotNull] xpathParser.FunctionCallContext context)
Parameters
Type Name Description
xpathParser.FunctionCallContext context

The parse tree.

| Improve this Doc View Source

ExitFunctionName(xpathParser.FunctionNameContext)

Exit a parse tree produced by functionName().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionName([NotNull] xpathParser.FunctionNameContext context)
Parameters
Type Name Description
xpathParser.FunctionNameContext context

The parse tree.

| Improve this Doc View Source

ExitLocationPath(xpathParser.LocationPathContext)

Exit a parse tree produced by locationPath().

The default implementation does nothing.

Declaration
public virtual void ExitLocationPath([NotNull] xpathParser.LocationPathContext context)
Parameters
Type Name Description
xpathParser.LocationPathContext context

The parse tree.

| Improve this Doc View Source

ExitMain(xpathParser.MainContext)

Exit a parse tree produced by main().

The default implementation does nothing.

Declaration
public virtual void ExitMain([NotNull] xpathParser.MainContext context)
Parameters
Type Name Description
xpathParser.MainContext context

The parse tree.

| Improve this Doc View Source

ExitMultiplicativeExpr(xpathParser.MultiplicativeExprContext)

Exit a parse tree produced by multiplicativeExpr().

The default implementation does nothing.

Declaration
public virtual void ExitMultiplicativeExpr([NotNull] xpathParser.MultiplicativeExprContext context)
Parameters
Type Name Description
xpathParser.MultiplicativeExprContext context

The parse tree.

| Improve this Doc View Source

ExitNameTest(xpathParser.NameTestContext)

Exit a parse tree produced by nameTest().

The default implementation does nothing.

Declaration
public virtual void ExitNameTest([NotNull] xpathParser.NameTestContext context)
Parameters
Type Name Description
xpathParser.NameTestContext context

The parse tree.

| Improve this Doc View Source

ExitNCName(xpathParser.NCNameContext)

Exit a parse tree produced by nCName().

The default implementation does nothing.

Declaration
public virtual void ExitNCName([NotNull] xpathParser.NCNameContext context)
Parameters
Type Name Description
xpathParser.NCNameContext context

The parse tree.

| Improve this Doc View Source

ExitNodeTest(xpathParser.NodeTestContext)

Exit a parse tree produced by nodeTest().

The default implementation does nothing.

Declaration
public virtual void ExitNodeTest([NotNull] xpathParser.NodeTestContext context)
Parameters
Type Name Description
xpathParser.NodeTestContext context

The parse tree.

| Improve this Doc View Source

ExitOrExpr(xpathParser.OrExprContext)

Exit a parse tree produced by orExpr().

The default implementation does nothing.

Declaration
public virtual void ExitOrExpr([NotNull] xpathParser.OrExprContext context)
Parameters
Type Name Description
xpathParser.OrExprContext context

The parse tree.

| Improve this Doc View Source

ExitPathExprNoRoot(xpathParser.PathExprNoRootContext)

Exit a parse tree produced by pathExprNoRoot().

The default implementation does nothing.

Declaration
public virtual void ExitPathExprNoRoot([NotNull] xpathParser.PathExprNoRootContext context)
Parameters
Type Name Description
xpathParser.PathExprNoRootContext context

The parse tree.

| Improve this Doc View Source

ExitPredicate(xpathParser.PredicateContext)

Exit a parse tree produced by predicate().

The default implementation does nothing.

Declaration
public virtual void ExitPredicate([NotNull] xpathParser.PredicateContext context)
Parameters
Type Name Description
xpathParser.PredicateContext context

The parse tree.

| Improve this Doc View Source

ExitPrimaryExpr(xpathParser.PrimaryExprContext)

Exit a parse tree produced by primaryExpr().

The default implementation does nothing.

Declaration
public virtual void ExitPrimaryExpr([NotNull] xpathParser.PrimaryExprContext context)
Parameters
Type Name Description
xpathParser.PrimaryExprContext context

The parse tree.

| Improve this Doc View Source

ExitQName(xpathParser.QNameContext)

Exit a parse tree produced by qName().

The default implementation does nothing.

Declaration
public virtual void ExitQName([NotNull] xpathParser.QNameContext context)
Parameters
Type Name Description
xpathParser.QNameContext context

The parse tree.

| Improve this Doc View Source

ExitRelationalExpr(xpathParser.RelationalExprContext)

Exit a parse tree produced by relationalExpr().

The default implementation does nothing.

Declaration
public virtual void ExitRelationalExpr([NotNull] xpathParser.RelationalExprContext context)
Parameters
Type Name Description
xpathParser.RelationalExprContext context

The parse tree.

| Improve this Doc View Source

ExitRelativeLocationPath(xpathParser.RelativeLocationPathContext)

Exit a parse tree produced by relativeLocationPath().

The default implementation does nothing.

Declaration
public virtual void ExitRelativeLocationPath([NotNull] xpathParser.RelativeLocationPathContext context)
Parameters
Type Name Description
xpathParser.RelativeLocationPathContext context

The parse tree.

| Improve this Doc View Source

ExitStep(xpathParser.StepContext)

Exit a parse tree produced by step().

The default implementation does nothing.

Declaration
public virtual void ExitStep([NotNull] xpathParser.StepContext context)
Parameters
Type Name Description
xpathParser.StepContext context

The parse tree.

| Improve this Doc View Source

ExitUnaryExprNoRoot(xpathParser.UnaryExprNoRootContext)

Exit a parse tree produced by unaryExprNoRoot().

The default implementation does nothing.

Declaration
public virtual void ExitUnaryExprNoRoot([NotNull] xpathParser.UnaryExprNoRootContext context)
Parameters
Type Name Description
xpathParser.UnaryExprNoRootContext context

The parse tree.

| Improve this Doc View Source

ExitUnionExprNoRoot(xpathParser.UnionExprNoRootContext)

Exit a parse tree produced by unionExprNoRoot().

The default implementation does nothing.

Declaration
public virtual void ExitUnionExprNoRoot([NotNull] xpathParser.UnionExprNoRootContext context)
Parameters
Type Name Description
xpathParser.UnionExprNoRootContext context

The parse tree.

| Improve this Doc View Source

ExitVariableReference(xpathParser.VariableReferenceContext)

Exit a parse tree produced by variableReference().

The default implementation does nothing.

Declaration
public virtual void ExitVariableReference([NotNull] xpathParser.VariableReferenceContext context)
Parameters
Type Name Description
xpathParser.VariableReferenceContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(IErrorNode)

Declaration
public virtual void VisitErrorNode([NotNull] IErrorNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.IErrorNode node
Remarks

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(ITerminalNode)

Declaration
public virtual void VisitTerminal([NotNull] ITerminalNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.ITerminalNode node
Remarks

The default implementation does nothing.

Implements

IxpathListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
Back to top Generated by DocFX