Class mumpsBaseListener
This class provides an empty implementation of ImumpsListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Mumps
Assembly: Mumps.dll
Syntax
public class mumpsBaseListener : object, ImumpsListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterArg(mumpsParser.ArgContext)
Enter a parse tree produced by arg().
The default implementation does nothing.
Declaration
public virtual void EnterArg(mumpsParser.ArgContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ArgContext | context | The parse tree. |
EnterArglist(mumpsParser.ArglistContext)
Enter a parse tree produced by arglist().
The default implementation does nothing.
Declaration
public virtual void EnterArglist(mumpsParser.ArglistContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ArglistContext | context | The parse tree. |
EnterAssign(mumpsParser.AssignContext)
Enter a parse tree produced by assign().
The default implementation does nothing.
Declaration
public virtual void EnterAssign(mumpsParser.AssignContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.AssignContext | context | The parse tree. |
EnterBreak_(mumpsParser.Break_Context)
Enter a parse tree produced by break_().
The default implementation does nothing.
Declaration
public virtual void EnterBreak_(mumpsParser.Break_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Break_Context | context | The parse tree. |
EnterCode(mumpsParser.CodeContext)
Enter a parse tree produced by code().
The default implementation does nothing.
Declaration
public virtual void EnterCode(mumpsParser.CodeContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.CodeContext | context | The parse tree. |
EnterCommand(mumpsParser.CommandContext)
Enter a parse tree produced by command().
The default implementation does nothing.
Declaration
public virtual void EnterCommand(mumpsParser.CommandContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.CommandContext | context | The parse tree. |
EnterCondition(mumpsParser.ConditionContext)
Enter a parse tree produced by condition().
The default implementation does nothing.
Declaration
public virtual void EnterCondition(mumpsParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ConditionContext | context | The parse tree. |
EnterDo_(mumpsParser.Do_Context)
Enter a parse tree produced by do_().
The default implementation does nothing.
Declaration
public virtual void EnterDo_(mumpsParser.Do_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Do_Context | context | The parse tree. |
EnterEof(mumpsParser.EofContext)
Enter a parse tree produced by eof().
The default implementation does nothing.
Declaration
public virtual void EnterEof(mumpsParser.EofContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.EofContext | 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(mumpsParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(mumpsParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ExpressionContext | context | The parse tree. |
EnterFor_(mumpsParser.For_Context)
Enter a parse tree produced by for_().
The default implementation does nothing.
Declaration
public virtual void EnterFor_(mumpsParser.For_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.For_Context | context | The parse tree. |
EnterFunction_(mumpsParser.Function_Context)
Enter a parse tree produced by function_().
The default implementation does nothing.
Declaration
public virtual void EnterFunction_(mumpsParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Function_Context | context | The parse tree. |
EnterHalt_(mumpsParser.Halt_Context)
Enter a parse tree produced by halt_().
The default implementation does nothing.
Declaration
public virtual void EnterHalt_(mumpsParser.Halt_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Halt_Context | context | The parse tree. |
EnterHang_(mumpsParser.Hang_Context)
Enter a parse tree produced by hang_().
The default implementation does nothing.
Declaration
public virtual void EnterHang_(mumpsParser.Hang_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Hang_Context | context | The parse tree. |
EnterIdentifier(mumpsParser.IdentifierContext)
Enter a parse tree produced by identifier().
The default implementation does nothing.
Declaration
public virtual void EnterIdentifier(mumpsParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.IdentifierContext | context | The parse tree. |
EnterIf_(mumpsParser.If_Context)
Enter a parse tree produced by if_().
The default implementation does nothing.
Declaration
public virtual void EnterIf_(mumpsParser.If_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.If_Context | context | The parse tree. |
EnterKill_(mumpsParser.Kill_Context)
Enter a parse tree produced by kill_().
The default implementation does nothing.
Declaration
public virtual void EnterKill_(mumpsParser.Kill_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Kill_Context | context | The parse tree. |
EnterLabel(mumpsParser.LabelContext)
Enter a parse tree produced by label().
The default implementation does nothing.
Declaration
public virtual void EnterLabel(mumpsParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.LabelContext | context | The parse tree. |
EnterLine(mumpsParser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine(mumpsParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.LineContext | context | The parse tree. |
EnterMerge_(mumpsParser.Merge_Context)
Enter a parse tree produced by merge_().
The default implementation does nothing.
Declaration
public virtual void EnterMerge_(mumpsParser.Merge_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Merge_Context | context | The parse tree. |
EnterNew_(mumpsParser.New_Context)
Enter a parse tree produced by new_().
The default implementation does nothing.
Declaration
public virtual void EnterNew_(mumpsParser.New_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.New_Context | context | The parse tree. |
EnterParam(mumpsParser.ParamContext)
Enter a parse tree produced by param().
The default implementation does nothing.
Declaration
public virtual void EnterParam(mumpsParser.ParamContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ParamContext | context | The parse tree. |
EnterParamlist(mumpsParser.ParamlistContext)
Enter a parse tree produced by paramlist().
The default implementation does nothing.
Declaration
public virtual void EnterParamlist(mumpsParser.ParamlistContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ParamlistContext | context | The parse tree. |
EnterPostcondition(mumpsParser.PostconditionContext)
Enter a parse tree produced by postcondition().
The default implementation does nothing.
Declaration
public virtual void EnterPostcondition(mumpsParser.PostconditionContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.PostconditionContext | context | The parse tree. |
EnterProgram(mumpsParser.ProgramContext)
Enter a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void EnterProgram(mumpsParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ProgramContext | context | The parse tree. |
EnterQuit_(mumpsParser.Quit_Context)
Enter a parse tree produced by quit_().
The default implementation does nothing.
Declaration
public virtual void EnterQuit_(mumpsParser.Quit_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Quit_Context | context | The parse tree. |
EnterRead_(mumpsParser.Read_Context)
Enter a parse tree produced by read_().
The default implementation does nothing.
Declaration
public virtual void EnterRead_(mumpsParser.Read_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Read_Context | context | The parse tree. |
EnterRoutinedecl(mumpsParser.RoutinedeclContext)
Enter a parse tree produced by routinedecl().
The default implementation does nothing.
Declaration
public virtual void EnterRoutinedecl(mumpsParser.RoutinedeclContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.RoutinedeclContext | context | The parse tree. |
EnterSet_(mumpsParser.Set_Context)
Enter a parse tree produced by set_().
The default implementation does nothing.
Declaration
public virtual void EnterSet_(mumpsParser.Set_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Set_Context | context | The parse tree. |
EnterSubproc(mumpsParser.SubprocContext)
Enter a parse tree produced by subproc().
The default implementation does nothing.
Declaration
public virtual void EnterSubproc(mumpsParser.SubprocContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.SubprocContext | context | The parse tree. |
EnterTerm(mumpsParser.TermContext)
Enter a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void EnterTerm(mumpsParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.TermContext | context | The parse tree. |
EnterVariable(mumpsParser.VariableContext)
Enter a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void EnterVariable(mumpsParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.VariableContext | context | The parse tree. |
EnterView_(mumpsParser.View_Context)
Enter a parse tree produced by view_().
The default implementation does nothing.
Declaration
public virtual void EnterView_(mumpsParser.View_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.View_Context | context | The parse tree. |
EnterWrite_(mumpsParser.Write_Context)
Enter a parse tree produced by write_().
The default implementation does nothing.
Declaration
public virtual void EnterWrite_(mumpsParser.Write_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Write_Context | context | The parse tree. |
EnterXecute_(mumpsParser.Xecute_Context)
Enter a parse tree produced by xecute_().
The default implementation does nothing.
Declaration
public virtual void EnterXecute_(mumpsParser.Xecute_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Xecute_Context | context | The parse tree. |
ExitArg(mumpsParser.ArgContext)
Exit a parse tree produced by arg().
The default implementation does nothing.
Declaration
public virtual void ExitArg(mumpsParser.ArgContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ArgContext | context | The parse tree. |
ExitArglist(mumpsParser.ArglistContext)
Exit a parse tree produced by arglist().
The default implementation does nothing.
Declaration
public virtual void ExitArglist(mumpsParser.ArglistContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ArglistContext | context | The parse tree. |
ExitAssign(mumpsParser.AssignContext)
Exit a parse tree produced by assign().
The default implementation does nothing.
Declaration
public virtual void ExitAssign(mumpsParser.AssignContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.AssignContext | context | The parse tree. |
ExitBreak_(mumpsParser.Break_Context)
Exit a parse tree produced by break_().
The default implementation does nothing.
Declaration
public virtual void ExitBreak_(mumpsParser.Break_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Break_Context | context | The parse tree. |
ExitCode(mumpsParser.CodeContext)
Exit a parse tree produced by code().
The default implementation does nothing.
Declaration
public virtual void ExitCode(mumpsParser.CodeContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.CodeContext | context | The parse tree. |
ExitCommand(mumpsParser.CommandContext)
Exit a parse tree produced by command().
The default implementation does nothing.
Declaration
public virtual void ExitCommand(mumpsParser.CommandContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.CommandContext | context | The parse tree. |
ExitCondition(mumpsParser.ConditionContext)
Exit a parse tree produced by condition().
The default implementation does nothing.
Declaration
public virtual void ExitCondition(mumpsParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ConditionContext | context | The parse tree. |
ExitDo_(mumpsParser.Do_Context)
Exit a parse tree produced by do_().
The default implementation does nothing.
Declaration
public virtual void ExitDo_(mumpsParser.Do_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Do_Context | context | The parse tree. |
ExitEof(mumpsParser.EofContext)
Exit a parse tree produced by eof().
The default implementation does nothing.
Declaration
public virtual void ExitEof(mumpsParser.EofContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.EofContext | 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(mumpsParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(mumpsParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ExpressionContext | context | The parse tree. |
ExitFor_(mumpsParser.For_Context)
Exit a parse tree produced by for_().
The default implementation does nothing.
Declaration
public virtual void ExitFor_(mumpsParser.For_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.For_Context | context | The parse tree. |
ExitFunction_(mumpsParser.Function_Context)
Exit a parse tree produced by function_().
The default implementation does nothing.
Declaration
public virtual void ExitFunction_(mumpsParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Function_Context | context | The parse tree. |
ExitHalt_(mumpsParser.Halt_Context)
Exit a parse tree produced by halt_().
The default implementation does nothing.
Declaration
public virtual void ExitHalt_(mumpsParser.Halt_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Halt_Context | context | The parse tree. |
ExitHang_(mumpsParser.Hang_Context)
Exit a parse tree produced by hang_().
The default implementation does nothing.
Declaration
public virtual void ExitHang_(mumpsParser.Hang_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Hang_Context | context | The parse tree. |
ExitIdentifier(mumpsParser.IdentifierContext)
Exit a parse tree produced by identifier().
The default implementation does nothing.
Declaration
public virtual void ExitIdentifier(mumpsParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.IdentifierContext | context | The parse tree. |
ExitIf_(mumpsParser.If_Context)
Exit a parse tree produced by if_().
The default implementation does nothing.
Declaration
public virtual void ExitIf_(mumpsParser.If_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.If_Context | context | The parse tree. |
ExitKill_(mumpsParser.Kill_Context)
Exit a parse tree produced by kill_().
The default implementation does nothing.
Declaration
public virtual void ExitKill_(mumpsParser.Kill_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Kill_Context | context | The parse tree. |
ExitLabel(mumpsParser.LabelContext)
Exit a parse tree produced by label().
The default implementation does nothing.
Declaration
public virtual void ExitLabel(mumpsParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.LabelContext | context | The parse tree. |
ExitLine(mumpsParser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine(mumpsParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.LineContext | context | The parse tree. |
ExitMerge_(mumpsParser.Merge_Context)
Exit a parse tree produced by merge_().
The default implementation does nothing.
Declaration
public virtual void ExitMerge_(mumpsParser.Merge_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Merge_Context | context | The parse tree. |
ExitNew_(mumpsParser.New_Context)
Exit a parse tree produced by new_().
The default implementation does nothing.
Declaration
public virtual void ExitNew_(mumpsParser.New_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.New_Context | context | The parse tree. |
ExitParam(mumpsParser.ParamContext)
Exit a parse tree produced by param().
The default implementation does nothing.
Declaration
public virtual void ExitParam(mumpsParser.ParamContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ParamContext | context | The parse tree. |
ExitParamlist(mumpsParser.ParamlistContext)
Exit a parse tree produced by paramlist().
The default implementation does nothing.
Declaration
public virtual void ExitParamlist(mumpsParser.ParamlistContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ParamlistContext | context | The parse tree. |
ExitPostcondition(mumpsParser.PostconditionContext)
Exit a parse tree produced by postcondition().
The default implementation does nothing.
Declaration
public virtual void ExitPostcondition(mumpsParser.PostconditionContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.PostconditionContext | context | The parse tree. |
ExitProgram(mumpsParser.ProgramContext)
Exit a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void ExitProgram(mumpsParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.ProgramContext | context | The parse tree. |
ExitQuit_(mumpsParser.Quit_Context)
Exit a parse tree produced by quit_().
The default implementation does nothing.
Declaration
public virtual void ExitQuit_(mumpsParser.Quit_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Quit_Context | context | The parse tree. |
ExitRead_(mumpsParser.Read_Context)
Exit a parse tree produced by read_().
The default implementation does nothing.
Declaration
public virtual void ExitRead_(mumpsParser.Read_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Read_Context | context | The parse tree. |
ExitRoutinedecl(mumpsParser.RoutinedeclContext)
Exit a parse tree produced by routinedecl().
The default implementation does nothing.
Declaration
public virtual void ExitRoutinedecl(mumpsParser.RoutinedeclContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.RoutinedeclContext | context | The parse tree. |
ExitSet_(mumpsParser.Set_Context)
Exit a parse tree produced by set_().
The default implementation does nothing.
Declaration
public virtual void ExitSet_(mumpsParser.Set_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Set_Context | context | The parse tree. |
ExitSubproc(mumpsParser.SubprocContext)
Exit a parse tree produced by subproc().
The default implementation does nothing.
Declaration
public virtual void ExitSubproc(mumpsParser.SubprocContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.SubprocContext | context | The parse tree. |
ExitTerm(mumpsParser.TermContext)
Exit a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void ExitTerm(mumpsParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.TermContext | context | The parse tree. |
ExitVariable(mumpsParser.VariableContext)
Exit a parse tree produced by variable().
The default implementation does nothing.
Declaration
public virtual void ExitVariable(mumpsParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.VariableContext | context | The parse tree. |
ExitView_(mumpsParser.View_Context)
Exit a parse tree produced by view_().
The default implementation does nothing.
Declaration
public virtual void ExitView_(mumpsParser.View_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.View_Context | context | The parse tree. |
ExitWrite_(mumpsParser.Write_Context)
Exit a parse tree produced by write_().
The default implementation does nothing.
Declaration
public virtual void ExitWrite_(mumpsParser.Write_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Write_Context | context | The parse tree. |
ExitXecute_(mumpsParser.Xecute_Context)
Exit a parse tree produced by xecute_().
The default implementation does nothing.
Declaration
public virtual void ExitXecute_(mumpsParser.Xecute_Context context)
Parameters
Type | Name | Description |
---|---|---|
mumpsParser.Xecute_Context | 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.