Show / Hide Table of Contents

Class tinycBaseListener

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

Inheritance
System.Object
tinycBaseListener
Implements
ItinycListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Tinyc
Assembly: Tinyc.dll
Syntax
public class tinycBaseListener : object, ItinycListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| 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

EnterExpr(tinycParser.ExprContext)

Enter a parse tree produced by expr().

The default implementation does nothing.

Declaration
public virtual void EnterExpr(tinycParser.ExprContext context)
Parameters
Type Name Description
tinycParser.ExprContext context

The parse tree.

| Improve this Doc View Source

EnterId_(tinycParser.Id_Context)

Enter a parse tree produced by id_().

The default implementation does nothing.

Declaration
public virtual void EnterId_(tinycParser.Id_Context context)
Parameters
Type Name Description
tinycParser.Id_Context context

The parse tree.

| Improve this Doc View Source

EnterInteger(tinycParser.IntegerContext)

Enter a parse tree produced by integer().

The default implementation does nothing.

Declaration
public virtual void EnterInteger(tinycParser.IntegerContext context)
Parameters
Type Name Description
tinycParser.IntegerContext context

The parse tree.

| Improve this Doc View Source

EnterParen_expr(tinycParser.Paren_exprContext)

Enter a parse tree produced by paren_expr().

The default implementation does nothing.

Declaration
public virtual void EnterParen_expr(tinycParser.Paren_exprContext context)
Parameters
Type Name Description
tinycParser.Paren_exprContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(tinycParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterStatement(tinycParser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterSum_(tinycParser.Sum_Context)

Enter a parse tree produced by sum_().

The default implementation does nothing.

Declaration
public virtual void EnterSum_(tinycParser.Sum_Context context)
Parameters
Type Name Description
tinycParser.Sum_Context context

The parse tree.

| Improve this Doc View Source

EnterTerm(tinycParser.TermContext)

Enter a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void EnterTerm(tinycParser.TermContext context)
Parameters
Type Name Description
tinycParser.TermContext context

The parse tree.

| Improve this Doc View Source

EnterTest(tinycParser.TestContext)

Enter a parse tree produced by test().

The default implementation does nothing.

Declaration
public virtual void EnterTest(tinycParser.TestContext context)
Parameters
Type Name Description
tinycParser.TestContext 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

ExitExpr(tinycParser.ExprContext)

Exit a parse tree produced by expr().

The default implementation does nothing.

Declaration
public virtual void ExitExpr(tinycParser.ExprContext context)
Parameters
Type Name Description
tinycParser.ExprContext context

The parse tree.

| Improve this Doc View Source

ExitId_(tinycParser.Id_Context)

Exit a parse tree produced by id_().

The default implementation does nothing.

Declaration
public virtual void ExitId_(tinycParser.Id_Context context)
Parameters
Type Name Description
tinycParser.Id_Context context

The parse tree.

| Improve this Doc View Source

ExitInteger(tinycParser.IntegerContext)

Exit a parse tree produced by integer().

The default implementation does nothing.

Declaration
public virtual void ExitInteger(tinycParser.IntegerContext context)
Parameters
Type Name Description
tinycParser.IntegerContext context

The parse tree.

| Improve this Doc View Source

ExitParen_expr(tinycParser.Paren_exprContext)

Exit a parse tree produced by paren_expr().

The default implementation does nothing.

Declaration
public virtual void ExitParen_expr(tinycParser.Paren_exprContext context)
Parameters
Type Name Description
tinycParser.Paren_exprContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(tinycParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitStatement(tinycParser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitSum_(tinycParser.Sum_Context)

Exit a parse tree produced by sum_().

The default implementation does nothing.

Declaration
public virtual void ExitSum_(tinycParser.Sum_Context context)
Parameters
Type Name Description
tinycParser.Sum_Context context

The parse tree.

| Improve this Doc View Source

ExitTerm(tinycParser.TermContext)

Exit a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void ExitTerm(tinycParser.TermContext context)
Parameters
Type Name Description
tinycParser.TermContext context

The parse tree.

| Improve this Doc View Source

ExitTest(tinycParser.TestContext)

Exit a parse tree produced by test().

The default implementation does nothing.

Declaration
public virtual void ExitTest(tinycParser.TestContext context)
Parameters
Type Name Description
tinycParser.TestContext 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

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