Class infosapientBaseVisitor<Result>
This class provides an empty implementation of IinfosapientVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Infosapient
Assembly: Infosapient.dll
Syntax
public class infosapientBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IinfosapientVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAttribClause(infosapientParser.AttribClauseContext)
Visit a parse tree produced by attribClause().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAttribClause(infosapientParser.AttribClauseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.AttribClauseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitClause(infosapientParser.ClauseContext)
Visit a parse tree produced by clause().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitClause(infosapientParser.ClauseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ClauseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConditionalRule(infosapientParser.ConditionalRuleContext)
Visit a parse tree produced by conditionalRule().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitConditionalRule(infosapientParser.ConditionalRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ConditionalRuleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConsequent(infosapientParser.ConsequentContext)
Visit a parse tree produced by consequent().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitConsequent(infosapientParser.ConsequentContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ConsequentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpr(infosapientParser.ExprContext)
Visit a parse tree produced by expr().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExpr(infosapientParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHedge(infosapientParser.HedgeContext)
Visit a parse tree produced by hedge().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHedge(infosapientParser.HedgeContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.HedgeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHedgeCollection(infosapientParser.HedgeCollectionContext)
Visit a parse tree produced by hedgeCollection().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHedgeCollection(infosapientParser.HedgeCollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.HedgeCollectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitId_(infosapientParser.Id_Context)
Visit a parse tree produced by id_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitId_(infosapientParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.Id_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNLiteral(infosapientParser.NLiteralContext)
Visit a parse tree produced by nLiteral().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNLiteral(infosapientParser.NLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.NLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOperator_(infosapientParser.Operator_Context)
Visit a parse tree produced by operator_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOperator_(infosapientParser.Operator_Context context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.Operator_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPremise(infosapientParser.PremiseContext)
Visit a parse tree produced by premise().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPremise(infosapientParser.PremiseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.PremiseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRestrictionHedge(infosapientParser.RestrictionHedgeContext)
Visit a parse tree produced by restrictionHedge().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRestrictionHedge(infosapientParser.RestrictionHedgeContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.RestrictionHedgeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |