Show / Hide Table of Contents

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
System.Object
agcBaseListener
Implements
IagcListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Agc
Assembly: Agc.dll
Syntax
public class agcBaseListener : object, IagcListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterArgument(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IagcListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX