Class arithmeticBaseListener
This class provides an empty implementation of IarithmeticListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Arithmetic
Assembly: Arithmetic.dll
Syntax
public class arithmeticBaseListener : object, IarithmeticListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAtom(arithmeticParser.AtomContext)
Enter a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void EnterAtom(arithmeticParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.AtomContext | context | The parse tree. |
EnterEquation(arithmeticParser.EquationContext)
Enter a parse tree produced by equation().
The default implementation does nothing.
Declaration
public virtual void EnterEquation(arithmeticParser.EquationContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.EquationContext | 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(arithmeticParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(arithmeticParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.ExpressionContext | context | The parse tree. |
EnterFile_(arithmeticParser.File_Context)
Enter a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void EnterFile_(arithmeticParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.File_Context | context | The parse tree. |
EnterRelop(arithmeticParser.RelopContext)
Enter a parse tree produced by relop().
The default implementation does nothing.
Declaration
public virtual void EnterRelop(arithmeticParser.RelopContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.RelopContext | context | The parse tree. |
EnterScientific(arithmeticParser.ScientificContext)
Enter a parse tree produced by scientific().
The default implementation does nothing.
Declaration
public virtual void EnterScientific(arithmeticParser.ScientificContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.ScientificContext | context | The parse tree. |
EnterVariable(arithmeticParser.VariableContext)
Enter a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void EnterVariable(arithmeticParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.VariableContext | context | The parse tree. |
ExitAtom(arithmeticParser.AtomContext)
Exit a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void ExitAtom(arithmeticParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.AtomContext | context | The parse tree. |
ExitEquation(arithmeticParser.EquationContext)
Exit a parse tree produced by equation().
The default implementation does nothing.
Declaration
public virtual void ExitEquation(arithmeticParser.EquationContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.EquationContext | 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(arithmeticParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(arithmeticParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.ExpressionContext | context | The parse tree. |
ExitFile_(arithmeticParser.File_Context)
Exit a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void ExitFile_(arithmeticParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.File_Context | context | The parse tree. |
ExitRelop(arithmeticParser.RelopContext)
Exit a parse tree produced by relop().
The default implementation does nothing.
Declaration
public virtual void ExitRelop(arithmeticParser.RelopContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.RelopContext | context | The parse tree. |
ExitScientific(arithmeticParser.ScientificContext)
Exit a parse tree produced by scientific().
The default implementation does nothing.
Declaration
public virtual void ExitScientific(arithmeticParser.ScientificContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.ScientificContext | context | The parse tree. |
ExitVariable(arithmeticParser.VariableContext)
Exit a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void ExitVariable(arithmeticParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
arithmeticParser.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.