Show / Hide Table of Contents

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
System.Object
loopBaseListener
Implements
IloopListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Loop
Assembly: Loop.dll
Syntax
public class loopBaseListener : object, IloopListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAssignstmt(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.

| 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

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| 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

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| 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

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