Class folBaseVisitor<Result>
This class provides an empty implementation of IfolVisitor<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.Fol
Assembly: Fol.dll
Syntax
public class folBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IfolVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBin_connective(folParser.Bin_connectiveContext)
Visit a parse tree produced by bin_connective().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBin_connective(folParser.Bin_connectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Bin_connectiveContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCondition(folParser.ConditionContext)
Visit a parse tree produced by condition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCondition(folParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.ConditionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFormula(folParser.FormulaContext)
Visit a parse tree produced by formula().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFormula(folParser.FormulaContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.FormulaContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunc_constant(folParser.Func_constantContext)
Visit a parse tree produced by func_constant().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFunc_constant(folParser.Func_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Func_constantContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInd_constant(folParser.Ind_constantContext)
Visit a parse tree produced by ind_constant().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInd_constant(folParser.Ind_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Ind_constantContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPred_constant(folParser.Pred_constantContext)
Visit a parse tree produced by pred_constant().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPred_constant(folParser.Pred_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Pred_constantContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSeparator(folParser.SeparatorContext)
Visit a parse tree produced by separator().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSeparator(folParser.SeparatorContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.SeparatorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm(folParser.TermContext)
Visit a parse tree produced by term().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTerm(folParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.TermContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariable(folParser.VariableContext)
Visit a parse tree produced by variable().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVariable(folParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.VariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |