Class folBaseListener
This class provides an empty implementation of IfolListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Fol
Assembly: Fol.dll
Syntax
public class folBaseListener : object, IfolListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterBin_connective(folParser.Bin_connectiveContext)
Enter a parse tree produced by bin_connective().
The default implementation does nothing.
Declaration
public virtual void EnterBin_connective(folParser.Bin_connectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Bin_connectiveContext | context | The parse tree. |
EnterCondition(folParser.ConditionContext)
Enter a parse tree produced by condition().
The default implementation does nothing.
Declaration
public virtual void EnterCondition(folParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.ConditionContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterFormula(folParser.FormulaContext)
Enter a parse tree produced by formula().
The default implementation does nothing.
Declaration
public virtual void EnterFormula(folParser.FormulaContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.FormulaContext | context | The parse tree. |
EnterFunc_constant(folParser.Func_constantContext)
Enter a parse tree produced by func_constant().
The default implementation does nothing.
Declaration
public virtual void EnterFunc_constant(folParser.Func_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Func_constantContext | context | The parse tree. |
EnterInd_constant(folParser.Ind_constantContext)
Enter a parse tree produced by ind_constant().
The default implementation does nothing.
Declaration
public virtual void EnterInd_constant(folParser.Ind_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Ind_constantContext | context | The parse tree. |
EnterPred_constant(folParser.Pred_constantContext)
Enter a parse tree produced by pred_constant().
The default implementation does nothing.
Declaration
public virtual void EnterPred_constant(folParser.Pred_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Pred_constantContext | context | The parse tree. |
EnterSeparator(folParser.SeparatorContext)
Enter a parse tree produced by separator().
The default implementation does nothing.
Declaration
public virtual void EnterSeparator(folParser.SeparatorContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.SeparatorContext | context | The parse tree. |
EnterTerm(folParser.TermContext)
Enter a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void EnterTerm(folParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.TermContext | context | The parse tree. |
EnterVariable(folParser.VariableContext)
Enter a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void EnterVariable(folParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.VariableContext | context | The parse tree. |
ExitBin_connective(folParser.Bin_connectiveContext)
Exit a parse tree produced by bin_connective().
The default implementation does nothing.
Declaration
public virtual void ExitBin_connective(folParser.Bin_connectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Bin_connectiveContext | context | The parse tree. |
ExitCondition(folParser.ConditionContext)
Exit a parse tree produced by condition().
The default implementation does nothing.
Declaration
public virtual void ExitCondition(folParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.ConditionContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitFormula(folParser.FormulaContext)
Exit a parse tree produced by formula().
The default implementation does nothing.
Declaration
public virtual void ExitFormula(folParser.FormulaContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.FormulaContext | context | The parse tree. |
ExitFunc_constant(folParser.Func_constantContext)
Exit a parse tree produced by func_constant().
The default implementation does nothing.
Declaration
public virtual void ExitFunc_constant(folParser.Func_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Func_constantContext | context | The parse tree. |
ExitInd_constant(folParser.Ind_constantContext)
Exit a parse tree produced by ind_constant().
The default implementation does nothing.
Declaration
public virtual void ExitInd_constant(folParser.Ind_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Ind_constantContext | context | The parse tree. |
ExitPred_constant(folParser.Pred_constantContext)
Exit a parse tree produced by pred_constant().
The default implementation does nothing.
Declaration
public virtual void ExitPred_constant(folParser.Pred_constantContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.Pred_constantContext | context | The parse tree. |
ExitSeparator(folParser.SeparatorContext)
Exit a parse tree produced by separator().
The default implementation does nothing.
Declaration
public virtual void ExitSeparator(folParser.SeparatorContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.SeparatorContext | context | The parse tree. |
ExitTerm(folParser.TermContext)
Exit a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void ExitTerm(folParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.TermContext | context | The parse tree. |
ExitVariable(folParser.VariableContext)
Exit a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void ExitVariable(folParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
folParser.VariableContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.