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
Inherited Members
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 SourceVisitAbbreviatedStep(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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |