Interface IrobotwarListener
This interface defines a complete listener for a parse tree produced by robotwarParser.
Namespace: GCore.Antlr.Grammers.Robotwars
Assembly: Robotwars.dll
Syntax
public interface IrobotwarListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAccumexpression(robotwarParser.AccumexpressionContext)
Enter a parse tree produced by accumexpression().
Declaration
void EnterAccumexpression(robotwarParser.AccumexpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.AccumexpressionContext | context | The parse tree. |
EnterAccumstatement(robotwarParser.AccumstatementContext)
Enter a parse tree produced by accumstatement().
Declaration
void EnterAccumstatement(robotwarParser.AccumstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.AccumstatementContext | context | The parse tree. |
EnterArgument(robotwarParser.ArgumentContext)
Enter a parse tree produced by argument().
Declaration
void EnterArgument(robotwarParser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ArgumentContext | context | The parse tree. |
EnterComment(robotwarParser.CommentContext)
Enter a parse tree produced by comment().
Declaration
void EnterComment(robotwarParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.CommentContext | context | The parse tree. |
EnterComparison(robotwarParser.ComparisonContext)
Enter a parse tree produced by comparison().
Declaration
void EnterComparison(robotwarParser.ComparisonContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ComparisonContext | context | The parse tree. |
EnterCondition(robotwarParser.ConditionContext)
Enter a parse tree produced by condition().
Declaration
void EnterCondition(robotwarParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ConditionContext | context | The parse tree. |
EnterEndsubstatement(robotwarParser.EndsubstatementContext)
Enter a parse tree produced by endsubstatement().
Declaration
void EnterEndsubstatement(robotwarParser.EndsubstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.EndsubstatementContext | context | The parse tree. |
EnterExpression(robotwarParser.ExpressionContext)
Enter a parse tree produced by expression().
Declaration
void EnterExpression(robotwarParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ExpressionContext | context | The parse tree. |
EnterGosubstatement(robotwarParser.GosubstatementContext)
Enter a parse tree produced by gosubstatement().
Declaration
void EnterGosubstatement(robotwarParser.GosubstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.GosubstatementContext | context | The parse tree. |
EnterGotostatement(robotwarParser.GotostatementContext)
Enter a parse tree produced by gotostatement().
Declaration
void EnterGotostatement(robotwarParser.GotostatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.GotostatementContext | context | The parse tree. |
EnterIfstatement(robotwarParser.IfstatementContext)
Enter a parse tree produced by ifstatement().
Declaration
void EnterIfstatement(robotwarParser.IfstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.IfstatementContext | context | The parse tree. |
EnterLabel(robotwarParser.LabelContext)
Enter a parse tree produced by label().
Declaration
void EnterLabel(robotwarParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.LabelContext | context | The parse tree. |
EnterLine(robotwarParser.LineContext)
Enter a parse tree produced by line().
Declaration
void EnterLine(robotwarParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.LineContext | context | The parse tree. |
EnterNumber(robotwarParser.NumberContext)
Enter a parse tree produced by number().
Declaration
void EnterNumber(robotwarParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.NumberContext | context | The parse tree. |
EnterOperation(robotwarParser.OperationContext)
Enter a parse tree produced by operation().
Declaration
void EnterOperation(robotwarParser.OperationContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.OperationContext | context | The parse tree. |
EnterProgram(robotwarParser.ProgramContext)
Enter a parse tree produced by program().
Declaration
void EnterProgram(robotwarParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ProgramContext | context | The parse tree. |
EnterRegister_(robotwarParser.Register_Context)
Enter a parse tree produced by register_().
Declaration
void EnterRegister_(robotwarParser.Register_Context context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.Register_Context | context | The parse tree. |
EnterStatement(robotwarParser.StatementContext)
Enter a parse tree produced by statement().
Declaration
void EnterStatement(robotwarParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.StatementContext | context | The parse tree. |
EnterTostatement(robotwarParser.TostatementContext)
Enter a parse tree produced by tostatement().
Declaration
void EnterTostatement(robotwarParser.TostatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.TostatementContext | context | The parse tree. |
ExitAccumexpression(robotwarParser.AccumexpressionContext)
Exit a parse tree produced by accumexpression().
Declaration
void ExitAccumexpression(robotwarParser.AccumexpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.AccumexpressionContext | context | The parse tree. |
ExitAccumstatement(robotwarParser.AccumstatementContext)
Exit a parse tree produced by accumstatement().
Declaration
void ExitAccumstatement(robotwarParser.AccumstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.AccumstatementContext | context | The parse tree. |
ExitArgument(robotwarParser.ArgumentContext)
Exit a parse tree produced by argument().
Declaration
void ExitArgument(robotwarParser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ArgumentContext | context | The parse tree. |
ExitComment(robotwarParser.CommentContext)
Exit a parse tree produced by comment().
Declaration
void ExitComment(robotwarParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.CommentContext | context | The parse tree. |
ExitComparison(robotwarParser.ComparisonContext)
Exit a parse tree produced by comparison().
Declaration
void ExitComparison(robotwarParser.ComparisonContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ComparisonContext | context | The parse tree. |
ExitCondition(robotwarParser.ConditionContext)
Exit a parse tree produced by condition().
Declaration
void ExitCondition(robotwarParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ConditionContext | context | The parse tree. |
ExitEndsubstatement(robotwarParser.EndsubstatementContext)
Exit a parse tree produced by endsubstatement().
Declaration
void ExitEndsubstatement(robotwarParser.EndsubstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.EndsubstatementContext | context | The parse tree. |
ExitExpression(robotwarParser.ExpressionContext)
Exit a parse tree produced by expression().
Declaration
void ExitExpression(robotwarParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ExpressionContext | context | The parse tree. |
ExitGosubstatement(robotwarParser.GosubstatementContext)
Exit a parse tree produced by gosubstatement().
Declaration
void ExitGosubstatement(robotwarParser.GosubstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.GosubstatementContext | context | The parse tree. |
ExitGotostatement(robotwarParser.GotostatementContext)
Exit a parse tree produced by gotostatement().
Declaration
void ExitGotostatement(robotwarParser.GotostatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.GotostatementContext | context | The parse tree. |
ExitIfstatement(robotwarParser.IfstatementContext)
Exit a parse tree produced by ifstatement().
Declaration
void ExitIfstatement(robotwarParser.IfstatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.IfstatementContext | context | The parse tree. |
ExitLabel(robotwarParser.LabelContext)
Exit a parse tree produced by label().
Declaration
void ExitLabel(robotwarParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.LabelContext | context | The parse tree. |
ExitLine(robotwarParser.LineContext)
Exit a parse tree produced by line().
Declaration
void ExitLine(robotwarParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.LineContext | context | The parse tree. |
ExitNumber(robotwarParser.NumberContext)
Exit a parse tree produced by number().
Declaration
void ExitNumber(robotwarParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.NumberContext | context | The parse tree. |
ExitOperation(robotwarParser.OperationContext)
Exit a parse tree produced by operation().
Declaration
void ExitOperation(robotwarParser.OperationContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.OperationContext | context | The parse tree. |
ExitProgram(robotwarParser.ProgramContext)
Exit a parse tree produced by program().
Declaration
void ExitProgram(robotwarParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.ProgramContext | context | The parse tree. |
ExitRegister_(robotwarParser.Register_Context)
Exit a parse tree produced by register_().
Declaration
void ExitRegister_(robotwarParser.Register_Context context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.Register_Context | context | The parse tree. |
ExitStatement(robotwarParser.StatementContext)
Exit a parse tree produced by statement().
Declaration
void ExitStatement(robotwarParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.StatementContext | context | The parse tree. |
ExitTostatement(robotwarParser.TostatementContext)
Exit a parse tree produced by tostatement().
Declaration
void ExitTostatement(robotwarParser.TostatementContext context)
Parameters
Type | Name | Description |
---|---|---|
robotwarParser.TostatementContext | context | The parse tree. |