Class propcalcBaseListener
This class provides an empty implementation of IpropcalcListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Propcalc
Assembly: Propcalc.dll
Syntax
public class propcalcBaseListener : object, IpropcalcListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAtom(propcalcParser.AtomContext)
Enter a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void EnterAtom(propcalcParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.AtomContext | context | The parse tree. |
EnterAtoms(propcalcParser.AtomsContext)
Enter a parse tree produced by atoms().
The default implementation does nothing.
Declaration
public virtual void EnterAtoms(propcalcParser.AtomsContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.AtomsContext | context | The parse tree. |
EnterEquiv(propcalcParser.EquivContext)
Enter a parse tree produced by equiv().
The default implementation does nothing.
Declaration
public virtual void EnterEquiv(propcalcParser.EquivContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.EquivContext | 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.
EnterExpression(propcalcParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(propcalcParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.ExpressionContext | context | The parse tree. |
EnterImplies(propcalcParser.ImpliesContext)
Enter a parse tree produced by implies().
The default implementation does nothing.
Declaration
public virtual void EnterImplies(propcalcParser.ImpliesContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.ImpliesContext | context | The parse tree. |
EnterProposition(propcalcParser.PropositionContext)
Enter a parse tree produced by proposition().
The default implementation does nothing.
Declaration
public virtual void EnterProposition(propcalcParser.PropositionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.PropositionContext | context | The parse tree. |
EnterRelExpression(propcalcParser.RelExpressionContext)
Enter a parse tree produced by relExpression().
The default implementation does nothing.
Declaration
public virtual void EnterRelExpression(propcalcParser.RelExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.RelExpressionContext | context | The parse tree. |
EnterVariable(propcalcParser.VariableContext)
Enter a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void EnterVariable(propcalcParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.VariableContext | context | The parse tree. |
ExitAtom(propcalcParser.AtomContext)
Exit a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void ExitAtom(propcalcParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.AtomContext | context | The parse tree. |
ExitAtoms(propcalcParser.AtomsContext)
Exit a parse tree produced by atoms().
The default implementation does nothing.
Declaration
public virtual void ExitAtoms(propcalcParser.AtomsContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.AtomsContext | context | The parse tree. |
ExitEquiv(propcalcParser.EquivContext)
Exit a parse tree produced by equiv().
The default implementation does nothing.
Declaration
public virtual void ExitEquiv(propcalcParser.EquivContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.EquivContext | 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.
ExitExpression(propcalcParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(propcalcParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.ExpressionContext | context | The parse tree. |
ExitImplies(propcalcParser.ImpliesContext)
Exit a parse tree produced by implies().
The default implementation does nothing.
Declaration
public virtual void ExitImplies(propcalcParser.ImpliesContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.ImpliesContext | context | The parse tree. |
ExitProposition(propcalcParser.PropositionContext)
Exit a parse tree produced by proposition().
The default implementation does nothing.
Declaration
public virtual void ExitProposition(propcalcParser.PropositionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.PropositionContext | context | The parse tree. |
ExitRelExpression(propcalcParser.RelExpressionContext)
Exit a parse tree produced by relExpression().
The default implementation does nothing.
Declaration
public virtual void ExitRelExpression(propcalcParser.RelExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.RelExpressionContext | context | The parse tree. |
ExitVariable(propcalcParser.VariableContext)
Exit a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void ExitVariable(propcalcParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.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.