Show / Hide Table of Contents

Class robotwarBaseListener

This class provides an empty implementation of IrobotwarListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
robotwarBaseListener
Implements
IrobotwarListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Robotwars
Assembly: Robotwars.dll
Syntax
public class robotwarBaseListener : object, IrobotwarListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAccumexpression(robotwarParser.AccumexpressionContext)

Enter a parse tree produced by accumexpression().

The default implementation does nothing.

Declaration
public virtual void EnterAccumexpression(robotwarParser.AccumexpressionContext context)
Parameters
Type Name Description
robotwarParser.AccumexpressionContext context

The parse tree.

| Improve this Doc View Source

EnterAccumstatement(robotwarParser.AccumstatementContext)

Enter a parse tree produced by accumstatement().

The default implementation does nothing.

Declaration
public virtual void EnterAccumstatement(robotwarParser.AccumstatementContext context)
Parameters
Type Name Description
robotwarParser.AccumstatementContext context

The parse tree.

| Improve this Doc View Source

EnterArgument(robotwarParser.ArgumentContext)

Enter a parse tree produced by argument().

The default implementation does nothing.

Declaration
public virtual void EnterArgument(robotwarParser.ArgumentContext context)
Parameters
Type Name Description
robotwarParser.ArgumentContext context

The parse tree.

| Improve this Doc View Source

EnterComment(robotwarParser.CommentContext)

Enter a parse tree produced by comment().

The default implementation does nothing.

Declaration
public virtual void EnterComment(robotwarParser.CommentContext context)
Parameters
Type Name Description
robotwarParser.CommentContext context

The parse tree.

| Improve this Doc View Source

EnterComparison(robotwarParser.ComparisonContext)

Enter a parse tree produced by comparison().

The default implementation does nothing.

Declaration
public virtual void EnterComparison(robotwarParser.ComparisonContext context)
Parameters
Type Name Description
robotwarParser.ComparisonContext context

The parse tree.

| Improve this Doc View Source

EnterCondition(robotwarParser.ConditionContext)

Enter a parse tree produced by condition().

The default implementation does nothing.

Declaration
public virtual void EnterCondition(robotwarParser.ConditionContext context)
Parameters
Type Name Description
robotwarParser.ConditionContext context

The parse tree.

| Improve this Doc View Source

EnterEndsubstatement(robotwarParser.EndsubstatementContext)

Enter a parse tree produced by endsubstatement().

The default implementation does nothing.

Declaration
public virtual void EnterEndsubstatement(robotwarParser.EndsubstatementContext context)
Parameters
Type Name Description
robotwarParser.EndsubstatementContext 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(robotwarParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void EnterExpression(robotwarParser.ExpressionContext context)
Parameters
Type Name Description
robotwarParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterGosubstatement(robotwarParser.GosubstatementContext)

Enter a parse tree produced by gosubstatement().

The default implementation does nothing.

Declaration
public virtual void EnterGosubstatement(robotwarParser.GosubstatementContext context)
Parameters
Type Name Description
robotwarParser.GosubstatementContext context

The parse tree.

| Improve this Doc View Source

EnterGotostatement(robotwarParser.GotostatementContext)

Enter a parse tree produced by gotostatement().

The default implementation does nothing.

Declaration
public virtual void EnterGotostatement(robotwarParser.GotostatementContext context)
Parameters
Type Name Description
robotwarParser.GotostatementContext context

The parse tree.

| Improve this Doc View Source

EnterIfstatement(robotwarParser.IfstatementContext)

Enter a parse tree produced by ifstatement().

The default implementation does nothing.

Declaration
public virtual void EnterIfstatement(robotwarParser.IfstatementContext context)
Parameters
Type Name Description
robotwarParser.IfstatementContext context

The parse tree.

| Improve this Doc View Source

EnterLabel(robotwarParser.LabelContext)

Enter a parse tree produced by label().

The default implementation does nothing.

Declaration
public virtual void EnterLabel(robotwarParser.LabelContext context)
Parameters
Type Name Description
robotwarParser.LabelContext context

The parse tree.

| Improve this Doc View Source

EnterLine(robotwarParser.LineContext)

Enter a parse tree produced by line().

The default implementation does nothing.

Declaration
public virtual void EnterLine(robotwarParser.LineContext context)
Parameters
Type Name Description
robotwarParser.LineContext context

The parse tree.

| Improve this Doc View Source

EnterNumber(robotwarParser.NumberContext)

Enter a parse tree produced by number().

The default implementation does nothing.

Declaration
public virtual void EnterNumber(robotwarParser.NumberContext context)
Parameters
Type Name Description
robotwarParser.NumberContext context

The parse tree.

| Improve this Doc View Source

EnterOperation(robotwarParser.OperationContext)

Enter a parse tree produced by operation().

The default implementation does nothing.

Declaration
public virtual void EnterOperation(robotwarParser.OperationContext context)
Parameters
Type Name Description
robotwarParser.OperationContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(robotwarParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void EnterProgram(robotwarParser.ProgramContext context)
Parameters
Type Name Description
robotwarParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

EnterRegister_(robotwarParser.Register_Context)

Enter a parse tree produced by register_().

The default implementation does nothing.

Declaration
public virtual void EnterRegister_(robotwarParser.Register_Context context)
Parameters
Type Name Description
robotwarParser.Register_Context context

The parse tree.

| Improve this Doc View Source

EnterStatement(robotwarParser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void EnterStatement(robotwarParser.StatementContext context)
Parameters
Type Name Description
robotwarParser.StatementContext context

The parse tree.

| Improve this Doc View Source

EnterTostatement(robotwarParser.TostatementContext)

Enter a parse tree produced by tostatement().

The default implementation does nothing.

Declaration
public virtual void EnterTostatement(robotwarParser.TostatementContext context)
Parameters
Type Name Description
robotwarParser.TostatementContext context

The parse tree.

| Improve this Doc View Source

ExitAccumexpression(robotwarParser.AccumexpressionContext)

Exit a parse tree produced by accumexpression().

The default implementation does nothing.

Declaration
public virtual void ExitAccumexpression(robotwarParser.AccumexpressionContext context)
Parameters
Type Name Description
robotwarParser.AccumexpressionContext context

The parse tree.

| Improve this Doc View Source

ExitAccumstatement(robotwarParser.AccumstatementContext)

Exit a parse tree produced by accumstatement().

The default implementation does nothing.

Declaration
public virtual void ExitAccumstatement(robotwarParser.AccumstatementContext context)
Parameters
Type Name Description
robotwarParser.AccumstatementContext context

The parse tree.

| Improve this Doc View Source

ExitArgument(robotwarParser.ArgumentContext)

Exit a parse tree produced by argument().

The default implementation does nothing.

Declaration
public virtual void ExitArgument(robotwarParser.ArgumentContext context)
Parameters
Type Name Description
robotwarParser.ArgumentContext context

The parse tree.

| Improve this Doc View Source

ExitComment(robotwarParser.CommentContext)

Exit a parse tree produced by comment().

The default implementation does nothing.

Declaration
public virtual void ExitComment(robotwarParser.CommentContext context)
Parameters
Type Name Description
robotwarParser.CommentContext context

The parse tree.

| Improve this Doc View Source

ExitComparison(robotwarParser.ComparisonContext)

Exit a parse tree produced by comparison().

The default implementation does nothing.

Declaration
public virtual void ExitComparison(robotwarParser.ComparisonContext context)
Parameters
Type Name Description
robotwarParser.ComparisonContext context

The parse tree.

| Improve this Doc View Source

ExitCondition(robotwarParser.ConditionContext)

Exit a parse tree produced by condition().

The default implementation does nothing.

Declaration
public virtual void ExitCondition(robotwarParser.ConditionContext context)
Parameters
Type Name Description
robotwarParser.ConditionContext context

The parse tree.

| Improve this Doc View Source

ExitEndsubstatement(robotwarParser.EndsubstatementContext)

Exit a parse tree produced by endsubstatement().

The default implementation does nothing.

Declaration
public virtual void ExitEndsubstatement(robotwarParser.EndsubstatementContext context)
Parameters
Type Name Description
robotwarParser.EndsubstatementContext 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(robotwarParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void ExitExpression(robotwarParser.ExpressionContext context)
Parameters
Type Name Description
robotwarParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitGosubstatement(robotwarParser.GosubstatementContext)

Exit a parse tree produced by gosubstatement().

The default implementation does nothing.

Declaration
public virtual void ExitGosubstatement(robotwarParser.GosubstatementContext context)
Parameters
Type Name Description
robotwarParser.GosubstatementContext context

The parse tree.

| Improve this Doc View Source

ExitGotostatement(robotwarParser.GotostatementContext)

Exit a parse tree produced by gotostatement().

The default implementation does nothing.

Declaration
public virtual void ExitGotostatement(robotwarParser.GotostatementContext context)
Parameters
Type Name Description
robotwarParser.GotostatementContext context

The parse tree.

| Improve this Doc View Source

ExitIfstatement(robotwarParser.IfstatementContext)

Exit a parse tree produced by ifstatement().

The default implementation does nothing.

Declaration
public virtual void ExitIfstatement(robotwarParser.IfstatementContext context)
Parameters
Type Name Description
robotwarParser.IfstatementContext context

The parse tree.

| Improve this Doc View Source

ExitLabel(robotwarParser.LabelContext)

Exit a parse tree produced by label().

The default implementation does nothing.

Declaration
public virtual void ExitLabel(robotwarParser.LabelContext context)
Parameters
Type Name Description
robotwarParser.LabelContext context

The parse tree.

| Improve this Doc View Source

ExitLine(robotwarParser.LineContext)

Exit a parse tree produced by line().

The default implementation does nothing.

Declaration
public virtual void ExitLine(robotwarParser.LineContext context)
Parameters
Type Name Description
robotwarParser.LineContext context

The parse tree.

| Improve this Doc View Source

ExitNumber(robotwarParser.NumberContext)

Exit a parse tree produced by number().

The default implementation does nothing.

Declaration
public virtual void ExitNumber(robotwarParser.NumberContext context)
Parameters
Type Name Description
robotwarParser.NumberContext context

The parse tree.

| Improve this Doc View Source

ExitOperation(robotwarParser.OperationContext)

Exit a parse tree produced by operation().

The default implementation does nothing.

Declaration
public virtual void ExitOperation(robotwarParser.OperationContext context)
Parameters
Type Name Description
robotwarParser.OperationContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(robotwarParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void ExitProgram(robotwarParser.ProgramContext context)
Parameters
Type Name Description
robotwarParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

ExitRegister_(robotwarParser.Register_Context)

Exit a parse tree produced by register_().

The default implementation does nothing.

Declaration
public virtual void ExitRegister_(robotwarParser.Register_Context context)
Parameters
Type Name Description
robotwarParser.Register_Context context

The parse tree.

| Improve this Doc View Source

ExitStatement(robotwarParser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void ExitStatement(robotwarParser.StatementContext context)
Parameters
Type Name Description
robotwarParser.StatementContext context

The parse tree.

| Improve this Doc View Source

ExitTostatement(robotwarParser.TostatementContext)

Exit a parse tree produced by tostatement().

The default implementation does nothing.

Declaration
public virtual void ExitTostatement(robotwarParser.TostatementContext context)
Parameters
Type Name Description
robotwarParser.TostatementContext 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

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