Class agcBaseListener
This class provides an empty implementation of IagcListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Agc
Assembly: Agc.dll
Syntax
public class agcBaseListener : object, IagcListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterArgument(agcParser.ArgumentContext)
Enter a parse tree produced by argument().
The default implementation does nothing.
Declaration
public virtual void EnterArgument(agcParser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ArgumentContext | context | The parse tree. |
EnterAssignment_line(agcParser.Assignment_lineContext)
Enter a parse tree produced by assignment_line().
The default implementation does nothing.
Declaration
public virtual void EnterAssignment_line(agcParser.Assignment_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Assignment_lineContext | context | The parse tree. |
EnterAtom(agcParser.AtomContext)
Enter a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void EnterAtom(agcParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.AtomContext | context | The parse tree. |
EnterAxt_opcode(agcParser.Axt_opcodeContext)
Enter a parse tree produced by axt_opcode().
The default implementation does nothing.
Declaration
public virtual void EnterAxt_opcode(agcParser.Axt_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Axt_opcodeContext | context | The parse tree. |
EnterBlank_line(agcParser.Blank_lineContext)
Enter a parse tree produced by blank_line().
The default implementation does nothing.
Declaration
public virtual void EnterBlank_line(agcParser.Blank_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Blank_lineContext | context | The parse tree. |
EnterComment(agcParser.CommentContext)
Enter a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void EnterComment(agcParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.CommentContext | context | The parse tree. |
EnterComment_line(agcParser.Comment_lineContext)
Enter a parse tree produced by comment_line().
The default implementation does nothing.
Declaration
public virtual void EnterComment_line(agcParser.Comment_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Comment_lineContext | context | The parse tree. |
EnterDecimal(agcParser.DecimalContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterDecimal(agcParser.DecimalContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.DecimalContext | context | The parse tree. |
EnterEol(agcParser.EolContext)
Enter a parse tree produced by eol().
The default implementation does nothing.
Declaration
public virtual void EnterEol(agcParser.EolContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.EolContext | context | The parse tree. |
EnterErase_line(agcParser.Erase_lineContext)
Enter a parse tree produced by erase_line().
The default implementation does nothing.
Declaration
public virtual void EnterErase_line(agcParser.Erase_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Erase_lineContext | 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(agcParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(agcParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ExpressionContext | context | The parse tree. |
EnterInstruction_line(agcParser.Instruction_lineContext)
Enter a parse tree produced by instruction_line().
The default implementation does nothing.
Declaration
public virtual void EnterInstruction_line(agcParser.Instruction_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Instruction_lineContext | context | The parse tree. |
EnterInte(agcParser.InteContext)
Enter a parse tree produced by inte().
The default implementation does nothing.
Declaration
public virtual void EnterInte(agcParser.InteContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.InteContext | context | The parse tree. |
EnterLabel(agcParser.LabelContext)
Enter a parse tree produced by label().
The default implementation does nothing.
Declaration
public virtual void EnterLabel(agcParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.LabelContext | context | The parse tree. |
EnterLine(agcParser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine(agcParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.LineContext | context | The parse tree. |
EnterMultiplyingExpression(agcParser.MultiplyingExpressionContext)
Enter a parse tree produced by multiplyingExpression().
The default implementation does nothing.
Declaration
public virtual void EnterMultiplyingExpression(agcParser.MultiplyingExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.MultiplyingExpressionContext | context | The parse tree. |
EnterOpcode(agcParser.OpcodeContext)
Enter a parse tree produced by opcode().
The default implementation does nothing.
Declaration
public virtual void EnterOpcode(agcParser.OpcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.OpcodeContext | context | The parse tree. |
EnterOpcodes(agcParser.OpcodesContext)
Enter a parse tree produced by opcodes().
The default implementation does nothing.
Declaration
public virtual void EnterOpcodes(agcParser.OpcodesContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.OpcodesContext | context | The parse tree. |
EnterProg(agcParser.ProgContext)
Enter a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void EnterProg(agcParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ProgContext | context | The parse tree. |
EnterPseudo_opcode(agcParser.Pseudo_opcodeContext)
Enter a parse tree produced by pseudo_opcode().
The default implementation does nothing.
Declaration
public virtual void EnterPseudo_opcode(agcParser.Pseudo_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Pseudo_opcodeContext | context | The parse tree. |
EnterRegister_(agcParser.Register_Context)
Enter a parse tree produced by register_().
The default implementation does nothing.
Declaration
public virtual void EnterRegister_(agcParser.Register_Context context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Register_Context | context | The parse tree. |
EnterStandard_opcode(agcParser.Standard_opcodeContext)
Enter a parse tree produced by standard_opcode().
The default implementation does nothing.
Declaration
public virtual void EnterStandard_opcode(agcParser.Standard_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Standard_opcodeContext | context | The parse tree. |
EnterVariable(agcParser.VariableContext)
Enter a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void EnterVariable(agcParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.VariableContext | context | The parse tree. |
EnterWs(agcParser.WsContext)
Enter a parse tree produced by ws().
The default implementation does nothing.
Declaration
public virtual void EnterWs(agcParser.WsContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.WsContext | context | The parse tree. |
ExitArgument(agcParser.ArgumentContext)
Exit a parse tree produced by argument().
The default implementation does nothing.
Declaration
public virtual void ExitArgument(agcParser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ArgumentContext | context | The parse tree. |
ExitAssignment_line(agcParser.Assignment_lineContext)
Exit a parse tree produced by assignment_line().
The default implementation does nothing.
Declaration
public virtual void ExitAssignment_line(agcParser.Assignment_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Assignment_lineContext | context | The parse tree. |
ExitAtom(agcParser.AtomContext)
Exit a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void ExitAtom(agcParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.AtomContext | context | The parse tree. |
ExitAxt_opcode(agcParser.Axt_opcodeContext)
Exit a parse tree produced by axt_opcode().
The default implementation does nothing.
Declaration
public virtual void ExitAxt_opcode(agcParser.Axt_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Axt_opcodeContext | context | The parse tree. |
ExitBlank_line(agcParser.Blank_lineContext)
Exit a parse tree produced by blank_line().
The default implementation does nothing.
Declaration
public virtual void ExitBlank_line(agcParser.Blank_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Blank_lineContext | context | The parse tree. |
ExitComment(agcParser.CommentContext)
Exit a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void ExitComment(agcParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.CommentContext | context | The parse tree. |
ExitComment_line(agcParser.Comment_lineContext)
Exit a parse tree produced by comment_line().
The default implementation does nothing.
Declaration
public virtual void ExitComment_line(agcParser.Comment_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Comment_lineContext | context | The parse tree. |
ExitDecimal(agcParser.DecimalContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitDecimal(agcParser.DecimalContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.DecimalContext | context | The parse tree. |
ExitEol(agcParser.EolContext)
Exit a parse tree produced by eol().
The default implementation does nothing.
Declaration
public virtual void ExitEol(agcParser.EolContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.EolContext | context | The parse tree. |
ExitErase_line(agcParser.Erase_lineContext)
Exit a parse tree produced by erase_line().
The default implementation does nothing.
Declaration
public virtual void ExitErase_line(agcParser.Erase_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Erase_lineContext | 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(agcParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(agcParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ExpressionContext | context | The parse tree. |
ExitInstruction_line(agcParser.Instruction_lineContext)
Exit a parse tree produced by instruction_line().
The default implementation does nothing.
Declaration
public virtual void ExitInstruction_line(agcParser.Instruction_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Instruction_lineContext | context | The parse tree. |
ExitInte(agcParser.InteContext)
Exit a parse tree produced by inte().
The default implementation does nothing.
Declaration
public virtual void ExitInte(agcParser.InteContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.InteContext | context | The parse tree. |
ExitLabel(agcParser.LabelContext)
Exit a parse tree produced by label().
The default implementation does nothing.
Declaration
public virtual void ExitLabel(agcParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.LabelContext | context | The parse tree. |
ExitLine(agcParser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine(agcParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.LineContext | context | The parse tree. |
ExitMultiplyingExpression(agcParser.MultiplyingExpressionContext)
Exit a parse tree produced by multiplyingExpression().
The default implementation does nothing.
Declaration
public virtual void ExitMultiplyingExpression(agcParser.MultiplyingExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.MultiplyingExpressionContext | context | The parse tree. |
ExitOpcode(agcParser.OpcodeContext)
Exit a parse tree produced by opcode().
The default implementation does nothing.
Declaration
public virtual void ExitOpcode(agcParser.OpcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.OpcodeContext | context | The parse tree. |
ExitOpcodes(agcParser.OpcodesContext)
Exit a parse tree produced by opcodes().
The default implementation does nothing.
Declaration
public virtual void ExitOpcodes(agcParser.OpcodesContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.OpcodesContext | context | The parse tree. |
ExitProg(agcParser.ProgContext)
Exit a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void ExitProg(agcParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ProgContext | context | The parse tree. |
ExitPseudo_opcode(agcParser.Pseudo_opcodeContext)
Exit a parse tree produced by pseudo_opcode().
The default implementation does nothing.
Declaration
public virtual void ExitPseudo_opcode(agcParser.Pseudo_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Pseudo_opcodeContext | context | The parse tree. |
ExitRegister_(agcParser.Register_Context)
Exit a parse tree produced by register_().
The default implementation does nothing.
Declaration
public virtual void ExitRegister_(agcParser.Register_Context context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Register_Context | context | The parse tree. |
ExitStandard_opcode(agcParser.Standard_opcodeContext)
Exit a parse tree produced by standard_opcode().
The default implementation does nothing.
Declaration
public virtual void ExitStandard_opcode(agcParser.Standard_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Standard_opcodeContext | context | The parse tree. |
ExitVariable(agcParser.VariableContext)
Exit a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void ExitVariable(agcParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.VariableContext | context | The parse tree. |
ExitWs(agcParser.WsContext)
Exit a parse tree produced by ws().
The default implementation does nothing.
Declaration
public virtual void ExitWs(agcParser.WsContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.WsContext | 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.