Show / Hide Table of Contents

Class microcBaseListener

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

Inheritance
System.Object
microcBaseListener
Implements
ImicrocListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Microc
Assembly: Microc.dll
Syntax
public class microcBaseListener : object, ImicrocListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterBlockstatement(microcParser.BlockstatementContext)

Enter a parse tree produced by blockstatement().

The default implementation does nothing.

Declaration
public virtual void EnterBlockstatement(microcParser.BlockstatementContext context)
Parameters
Type Name Description
microcParser.BlockstatementContext 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

EnterExpr(microcParser.ExprContext)

Enter a parse tree produced by expr().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterExprstatement(microcParser.ExprstatementContext)

Enter a parse tree produced by exprstatement().

The default implementation does nothing.

Declaration
public virtual void EnterExprstatement(microcParser.ExprstatementContext context)
Parameters
Type Name Description
microcParser.ExprstatementContext context

The parse tree.

| Improve this Doc View Source

EnterId_(microcParser.Id_Context)

Enter a parse tree produced by id_().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterIfstatement(microcParser.IfstatementContext)

Enter a parse tree produced by ifstatement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterInteger(microcParser.IntegerContext)

Enter a parse tree produced by integer().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterParen_expr(microcParser.Paren_exprContext)

Enter a parse tree produced by paren_expr().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterProgram(microcParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterStatement(microcParser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterSum_(microcParser.Sum_Context)

Enter a parse tree produced by sum_().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterTerm(microcParser.TermContext)

Enter a parse tree produced by term().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterTest(microcParser.TestContext)

Enter a parse tree produced by test().

The default implementation does nothing.

Declaration
public virtual void EnterTest(microcParser.TestContext context)
Parameters
Type Name Description
microcParser.TestContext context

The parse tree.

| Improve this Doc View Source

EnterWhilestatement(microcParser.WhilestatementContext)

Enter a parse tree produced by whilestatement().

The default implementation does nothing.

Declaration
public virtual void EnterWhilestatement(microcParser.WhilestatementContext context)
Parameters
Type Name Description
microcParser.WhilestatementContext context

The parse tree.

| Improve this Doc View Source

ExitBlockstatement(microcParser.BlockstatementContext)

Exit a parse tree produced by blockstatement().

The default implementation does nothing.

Declaration
public virtual void ExitBlockstatement(microcParser.BlockstatementContext context)
Parameters
Type Name Description
microcParser.BlockstatementContext 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(microcParser.ExprContext)

Exit a parse tree produced by expr().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitExprstatement(microcParser.ExprstatementContext)

Exit a parse tree produced by exprstatement().

The default implementation does nothing.

Declaration
public virtual void ExitExprstatement(microcParser.ExprstatementContext context)
Parameters
Type Name Description
microcParser.ExprstatementContext context

The parse tree.

| Improve this Doc View Source

ExitId_(microcParser.Id_Context)

Exit a parse tree produced by id_().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitIfstatement(microcParser.IfstatementContext)

Exit a parse tree produced by ifstatement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitInteger(microcParser.IntegerContext)

Exit a parse tree produced by integer().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitParen_expr(microcParser.Paren_exprContext)

Exit a parse tree produced by paren_expr().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitProgram(microcParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitStatement(microcParser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitSum_(microcParser.Sum_Context)

Exit a parse tree produced by sum_().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitTerm(microcParser.TermContext)

Exit a parse tree produced by term().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitTest(microcParser.TestContext)

Exit a parse tree produced by test().

The default implementation does nothing.

Declaration
public virtual void ExitTest(microcParser.TestContext context)
Parameters
Type Name Description
microcParser.TestContext context

The parse tree.

| Improve this Doc View Source

ExitWhilestatement(microcParser.WhilestatementContext)

Exit a parse tree produced by whilestatement().

The default implementation does nothing.

Declaration
public virtual void ExitWhilestatement(microcParser.WhilestatementContext context)
Parameters
Type Name Description
microcParser.WhilestatementContext 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

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