Class loopBaseListener
This class provides an empty implementation of IloopListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Loop
Assembly: Loop.dll
Syntax
public class loopBaseListener : object, IloopListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAssignstmt(loopParser.AssignstmtContext)
Enter a parse tree produced by assignstmt().
The default implementation does nothing.
Declaration
public virtual void EnterAssignstmt(loopParser.AssignstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.AssignstmtContext | 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.
EnterIncrementstmt(loopParser.IncrementstmtContext)
Enter a parse tree produced by incrementstmt().
The default implementation does nothing.
Declaration
public virtual void EnterIncrementstmt(loopParser.IncrementstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.IncrementstmtContext | context | The parse tree. |
EnterLoopstmt(loopParser.LoopstmtContext)
Enter a parse tree produced by loopstmt().
The default implementation does nothing.
Declaration
public virtual void EnterLoopstmt(loopParser.LoopstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.LoopstmtContext | context | The parse tree. |
EnterNumber(loopParser.NumberContext)
Enter a parse tree produced by number().
The default implementation does nothing.
Declaration
public virtual void EnterNumber(loopParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.NumberContext | context | The parse tree. |
EnterProg(loopParser.ProgContext)
Enter a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void EnterProg(loopParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.ProgContext | context | The parse tree. |
EnterStatement(loopParser.StatementContext)
Enter a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void EnterStatement(loopParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.StatementContext | context | The parse tree. |
EnterStatementlist(loopParser.StatementlistContext)
Enter a parse tree produced by statementlist().
The default implementation does nothing.
Declaration
public virtual void EnterStatementlist(loopParser.StatementlistContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.StatementlistContext | context | The parse tree. |
EnterVar_(loopParser.Var_Context)
Enter a parse tree produced by var_().
The default implementation does nothing.
Declaration
public virtual void EnterVar_(loopParser.Var_Context context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.Var_Context | context | The parse tree. |
ExitAssignstmt(loopParser.AssignstmtContext)
Exit a parse tree produced by assignstmt().
The default implementation does nothing.
Declaration
public virtual void ExitAssignstmt(loopParser.AssignstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.AssignstmtContext | 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.
ExitIncrementstmt(loopParser.IncrementstmtContext)
Exit a parse tree produced by incrementstmt().
The default implementation does nothing.
Declaration
public virtual void ExitIncrementstmt(loopParser.IncrementstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.IncrementstmtContext | context | The parse tree. |
ExitLoopstmt(loopParser.LoopstmtContext)
Exit a parse tree produced by loopstmt().
The default implementation does nothing.
Declaration
public virtual void ExitLoopstmt(loopParser.LoopstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.LoopstmtContext | context | The parse tree. |
ExitNumber(loopParser.NumberContext)
Exit a parse tree produced by number().
The default implementation does nothing.
Declaration
public virtual void ExitNumber(loopParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.NumberContext | context | The parse tree. |
ExitProg(loopParser.ProgContext)
Exit a parse tree produced by prog().
The default implementation does nothing.
Declaration
public virtual void ExitProg(loopParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.ProgContext | context | The parse tree. |
ExitStatement(loopParser.StatementContext)
Exit a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void ExitStatement(loopParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.StatementContext | context | The parse tree. |
ExitStatementlist(loopParser.StatementlistContext)
Exit a parse tree produced by statementlist().
The default implementation does nothing.
Declaration
public virtual void ExitStatementlist(loopParser.StatementlistContext context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.StatementlistContext | context | The parse tree. |
ExitVar_(loopParser.Var_Context)
Exit a parse tree produced by var_().
The default implementation does nothing.
Declaration
public virtual void ExitVar_(loopParser.Var_Context context)
Parameters
Type | Name | Description |
---|---|---|
loopParser.Var_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.