Show / Hide Table of Contents

Class xpathBaseVisitor<Result>

This class provides an empty implementation of IxpathVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>
xpathBaseVisitor<Result>
Implements
IxpathVisitor<Result>
Antlr4.Runtime.Tree.IParseTreeVisitor<Result>
Inherited Members
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.Visit(Antlr4.Runtime.Tree.IParseTree)
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.AggregateResult(Result, Result)
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.ShouldVisitNextChild(Antlr4.Runtime.Tree.IRuleNode, Result)
Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.DefaultResult
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 xpathBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IxpathVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAbbreviatedStep(xpathParser.AbbreviatedStepContext)

Visit a parse tree produced by abbreviatedStep().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAbsoluteLocationPathNoroot(xpathParser.AbsoluteLocationPathNorootContext)

Visit a parse tree produced by absoluteLocationPathNoroot().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAdditiveExpr(xpathParser.AdditiveExprContext)

Visit a parse tree produced by additiveExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAndExpr(xpathParser.AndExprContext)

Visit a parse tree produced by andExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAxisSpecifier(xpathParser.AxisSpecifierContext)

Visit a parse tree produced by axisSpecifier().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEqualityExpr(xpathParser.EqualityExprContext)

Visit a parse tree produced by equalityExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpr(xpathParser.ExprContext)

Visit a parse tree produced by expr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFilterExpr(xpathParser.FilterExprContext)

Visit a parse tree produced by filterExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionCall(xpathParser.FunctionCallContext)

Visit a parse tree produced by functionCall().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionName(xpathParser.FunctionNameContext)

Visit a parse tree produced by functionName().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLocationPath(xpathParser.LocationPathContext)

Visit a parse tree produced by locationPath().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMain(xpathParser.MainContext)

Visit a parse tree produced by main().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiplicativeExpr(xpathParser.MultiplicativeExprContext)

Visit a parse tree produced by multiplicativeExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNameTest(xpathParser.NameTestContext)

Visit a parse tree produced by nameTest().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNCName(xpathParser.NCNameContext)

Visit a parse tree produced by nCName().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNodeTest(xpathParser.NodeTestContext)

Visit a parse tree produced by nodeTest().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOrExpr(xpathParser.OrExprContext)

Visit a parse tree produced by orExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPathExprNoRoot(xpathParser.PathExprNoRootContext)

Visit a parse tree produced by pathExprNoRoot().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPredicate(xpathParser.PredicateContext)

Visit a parse tree produced by predicate().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrimaryExpr(xpathParser.PrimaryExprContext)

Visit a parse tree produced by primaryExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitQName(xpathParser.QNameContext)

Visit a parse tree produced by qName().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRelationalExpr(xpathParser.RelationalExprContext)

Visit a parse tree produced by relationalExpr().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRelativeLocationPath(xpathParser.RelativeLocationPathContext)

Visit a parse tree produced by relativeLocationPath().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStep(xpathParser.StepContext)

Visit a parse tree produced by step().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUnaryExprNoRoot(xpathParser.UnaryExprNoRootContext)

Visit a parse tree produced by unaryExprNoRoot().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUnionExprNoRoot(xpathParser.UnionExprNoRootContext)

Visit a parse tree produced by unionExprNoRoot().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariableReference(xpathParser.VariableReferenceContext)

Visit a parse tree produced by variableReference().

The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

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

The parse tree.

Returns
Type Description
Result

Implements

IxpathVisitor<Result>
Antlr4.Runtime.Tree.IParseTreeVisitor<Result>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX