Interface IxpathVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by xpathParser.
Inherited Members
Namespace: GCore.Antlr.Grammers.Xpath
Assembly: Xpath.dll
Syntax
[CLSCompliant(false)]
public interface 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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
Result VisitVariableReference([NotNull] xpathParser.VariableReferenceContext context)
Parameters
Type | Name | Description |
---|---|---|
xpathParser.VariableReferenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |