Class pdp7BaseListener
This class provides an empty implementation of Ipdp7Listener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Inherited Members
Namespace: GCore.Antlr.Grammers.Pdp7
Assembly: Pdp7.dll
Syntax
[CLSCompliant(false)]
public class pdp7BaseListener : Ipdp7Listener, IParseTreeListener
Methods
| Improve this Doc View SourceEnterArgument(pdp7Parser.ArgumentContext)
Enter a parse tree produced by argument().
The default implementation does nothing.
Declaration
public virtual void EnterArgument([NotNull] pdp7Parser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.ArgumentContext | context | The parse tree. |
EnterAssignment(pdp7Parser.AssignmentContext)
Enter a parse tree produced by assignment().
The default implementation does nothing.
Declaration
public virtual void EnterAssignment([NotNull] pdp7Parser.AssignmentContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.AssignmentContext | context | The parse tree. |
EnterAtom(pdp7Parser.AtomContext)
Enter a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void EnterAtom([NotNull] pdp7Parser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.AtomContext | context | The parse tree. |
EnterComment(pdp7Parser.CommentContext)
Enter a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void EnterComment([NotNull] pdp7Parser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.CommentContext | context | The parse tree. |
EnterDeclaration(pdp7Parser.DeclarationContext)
Enter a parse tree produced by declaration().
The default implementation does nothing.
Declaration
public virtual void EnterDeclaration([NotNull] pdp7Parser.DeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.DeclarationContext | context | The parse tree. |
EnterDeclarationRight(pdp7Parser.DeclarationRightContext)
Enter a parse tree produced by declarationRight().
The default implementation does nothing.
Declaration
public virtual void EnterDeclarationRight([NotNull] pdp7Parser.DeclarationRightContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.DeclarationRightContext | context | The parse tree. |
EnterDeclarations(pdp7Parser.DeclarationsContext)
Enter a parse tree produced by declarations().
The default implementation does nothing.
Declaration
public virtual void EnterDeclarations([NotNull] pdp7Parser.DeclarationsContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.DeclarationsContext | context | The parse tree. |
EnterEol(pdp7Parser.EolContext)
Enter a parse tree produced by eol().
The default implementation does nothing.
Declaration
public virtual void EnterEol([NotNull] pdp7Parser.EolContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.EolContext | context | The parse tree. |
EnterEveryRule(ParserRuleContext)
Declaration
public virtual void EnterEveryRule([NotNull] ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterExpression(pdp7Parser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression([NotNull] pdp7Parser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.ExpressionContext | context | The parse tree. |
EnterInstruction(pdp7Parser.InstructionContext)
Enter a parse tree produced by instruction().
The default implementation does nothing.
Declaration
public virtual void EnterInstruction([NotNull] pdp7Parser.InstructionContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.InstructionContext | context | The parse tree. |
EnterLabel(pdp7Parser.LabelContext)
Enter a parse tree produced by label().
The default implementation does nothing.
Declaration
public virtual void EnterLabel([NotNull] pdp7Parser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.LabelContext | context | The parse tree. |
EnterLine(pdp7Parser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine([NotNull] pdp7Parser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.LineContext | context | The parse tree. |
EnterMultiplyingExpression(pdp7Parser.MultiplyingExpressionContext)
Enter a parse tree produced by multiplyingExpression().
The default implementation does nothing.
Declaration
public virtual void EnterMultiplyingExpression([NotNull] pdp7Parser.MultiplyingExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.MultiplyingExpressionContext | context | The parse tree. |
EnterOpcode(pdp7Parser.OpcodeContext)
Enter a parse tree produced by opcode().
The default implementation does nothing.
Declaration
public virtual void EnterOpcode([NotNull] pdp7Parser.OpcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.OpcodeContext | context | The parse tree. |
EnterProg(pdp7Parser.ProgContext)
Enter a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void EnterProg([NotNull] pdp7Parser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.ProgContext | context | The parse tree. |
EnterString(pdp7Parser.StringContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterString([NotNull] pdp7Parser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.StringContext | context | The parse tree. |
EnterSymbol(pdp7Parser.SymbolContext)
Enter a parse tree produced by symbol().
The default implementation does nothing.
Declaration
public virtual void EnterSymbol([NotNull] pdp7Parser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.SymbolContext | context | The parse tree. |
EnterVariable(pdp7Parser.VariableContext)
Enter a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void EnterVariable([NotNull] pdp7Parser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.VariableContext | context | The parse tree. |
ExitArgument(pdp7Parser.ArgumentContext)
Exit a parse tree produced by argument().
The default implementation does nothing.
Declaration
public virtual void ExitArgument([NotNull] pdp7Parser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.ArgumentContext | context | The parse tree. |
ExitAssignment(pdp7Parser.AssignmentContext)
Exit a parse tree produced by assignment().
The default implementation does nothing.
Declaration
public virtual void ExitAssignment([NotNull] pdp7Parser.AssignmentContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.AssignmentContext | context | The parse tree. |
ExitAtom(pdp7Parser.AtomContext)
Exit a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void ExitAtom([NotNull] pdp7Parser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.AtomContext | context | The parse tree. |
ExitComment(pdp7Parser.CommentContext)
Exit a parse tree produced by comment().
The default implementation does nothing.
Declaration
public virtual void ExitComment([NotNull] pdp7Parser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.CommentContext | context | The parse tree. |
ExitDeclaration(pdp7Parser.DeclarationContext)
Exit a parse tree produced by declaration().
The default implementation does nothing.
Declaration
public virtual void ExitDeclaration([NotNull] pdp7Parser.DeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.DeclarationContext | context | The parse tree. |
ExitDeclarationRight(pdp7Parser.DeclarationRightContext)
Exit a parse tree produced by declarationRight().
The default implementation does nothing.
Declaration
public virtual void ExitDeclarationRight([NotNull] pdp7Parser.DeclarationRightContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.DeclarationRightContext | context | The parse tree. |
ExitDeclarations(pdp7Parser.DeclarationsContext)
Exit a parse tree produced by declarations().
The default implementation does nothing.
Declaration
public virtual void ExitDeclarations([NotNull] pdp7Parser.DeclarationsContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.DeclarationsContext | context | The parse tree. |
ExitEol(pdp7Parser.EolContext)
Exit a parse tree produced by eol().
The default implementation does nothing.
Declaration
public virtual void ExitEol([NotNull] pdp7Parser.EolContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.EolContext | context | The parse tree. |
ExitEveryRule(ParserRuleContext)
Declaration
public virtual void ExitEveryRule([NotNull] ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitExpression(pdp7Parser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression([NotNull] pdp7Parser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.ExpressionContext | context | The parse tree. |
ExitInstruction(pdp7Parser.InstructionContext)
Exit a parse tree produced by instruction().
The default implementation does nothing.
Declaration
public virtual void ExitInstruction([NotNull] pdp7Parser.InstructionContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.InstructionContext | context | The parse tree. |
ExitLabel(pdp7Parser.LabelContext)
Exit a parse tree produced by label().
The default implementation does nothing.
Declaration
public virtual void ExitLabel([NotNull] pdp7Parser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.LabelContext | context | The parse tree. |
ExitLine(pdp7Parser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine([NotNull] pdp7Parser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.LineContext | context | The parse tree. |
ExitMultiplyingExpression(pdp7Parser.MultiplyingExpressionContext)
Exit a parse tree produced by multiplyingExpression().
The default implementation does nothing.
Declaration
public virtual void ExitMultiplyingExpression([NotNull] pdp7Parser.MultiplyingExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.MultiplyingExpressionContext | context | The parse tree. |
ExitOpcode(pdp7Parser.OpcodeContext)
Exit a parse tree produced by opcode().
The default implementation does nothing.
Declaration
public virtual void ExitOpcode([NotNull] pdp7Parser.OpcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.OpcodeContext | context | The parse tree. |
ExitProg(pdp7Parser.ProgContext)
Exit a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void ExitProg([NotNull] pdp7Parser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.ProgContext | context | The parse tree. |
ExitString(pdp7Parser.StringContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitString([NotNull] pdp7Parser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.StringContext | context | The parse tree. |
ExitSymbol(pdp7Parser.SymbolContext)
Exit a parse tree produced by symbol().
The default implementation does nothing.
Declaration
public virtual void ExitSymbol([NotNull] pdp7Parser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.SymbolContext | context | The parse tree. |
ExitVariable(pdp7Parser.VariableContext)
Exit a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void ExitVariable([NotNull] pdp7Parser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
pdp7Parser.VariableContext | context | The parse tree. |
VisitErrorNode(IErrorNode)
Declaration
public virtual void VisitErrorNode([NotNull] IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(ITerminalNode)
Declaration
public virtual void VisitTerminal([NotNull] ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.