Show / Hide Table of Contents

Class pl0BaseListener

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

Inheritance
System.Object
pl0BaseListener
Implements
Ipl0Listener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Pl0
Assembly: Pl0.dll
Syntax
public class pl0BaseListener : object, Ipl0Listener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAssignstmt(pl0Parser.AssignstmtContext)

Enter a parse tree produced by assignstmt().

The default implementation does nothing.

Declaration
public virtual void EnterAssignstmt(pl0Parser.AssignstmtContext context)
Parameters
Type Name Description
pl0Parser.AssignstmtContext context

The parse tree.

| Improve this Doc View Source

EnterBangstmt(pl0Parser.BangstmtContext)

Enter a parse tree produced by bangstmt().

The default implementation does nothing.

Declaration
public virtual void EnterBangstmt(pl0Parser.BangstmtContext context)
Parameters
Type Name Description
pl0Parser.BangstmtContext context

The parse tree.

| Improve this Doc View Source

EnterBeginstmt(pl0Parser.BeginstmtContext)

Enter a parse tree produced by beginstmt().

The default implementation does nothing.

Declaration
public virtual void EnterBeginstmt(pl0Parser.BeginstmtContext context)
Parameters
Type Name Description
pl0Parser.BeginstmtContext context

The parse tree.

| Improve this Doc View Source

EnterBlock(pl0Parser.BlockContext)

Enter a parse tree produced by block().

The default implementation does nothing.

Declaration
public virtual void EnterBlock(pl0Parser.BlockContext context)
Parameters
Type Name Description
pl0Parser.BlockContext context

The parse tree.

| Improve this Doc View Source

EnterCallstmt(pl0Parser.CallstmtContext)

Enter a parse tree produced by callstmt().

The default implementation does nothing.

Declaration
public virtual void EnterCallstmt(pl0Parser.CallstmtContext context)
Parameters
Type Name Description
pl0Parser.CallstmtContext context

The parse tree.

| Improve this Doc View Source

EnterCondition(pl0Parser.ConditionContext)

Enter a parse tree produced by condition().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterConsts(pl0Parser.ConstsContext)

Enter a parse tree produced by consts().

The default implementation does nothing.

Declaration
public virtual void EnterConsts(pl0Parser.ConstsContext context)
Parameters
Type Name Description
pl0Parser.ConstsContext 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(pl0Parser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterFactor(pl0Parser.FactorContext)

Enter a parse tree produced by factor().

The default implementation does nothing.

Declaration
public virtual void EnterFactor(pl0Parser.FactorContext context)
Parameters
Type Name Description
pl0Parser.FactorContext context

The parse tree.

| Improve this Doc View Source

EnterIdent(pl0Parser.IdentContext)

Enter a parse tree produced by ident().

The default implementation does nothing.

Declaration
public virtual void EnterIdent(pl0Parser.IdentContext context)
Parameters
Type Name Description
pl0Parser.IdentContext context

The parse tree.

| Improve this Doc View Source

EnterIfstmt(pl0Parser.IfstmtContext)

Enter a parse tree produced by ifstmt().

The default implementation does nothing.

Declaration
public virtual void EnterIfstmt(pl0Parser.IfstmtContext context)
Parameters
Type Name Description
pl0Parser.IfstmtContext context

The parse tree.

| Improve this Doc View Source

EnterNumber(pl0Parser.NumberContext)

Enter a parse tree produced by number().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterProcedure(pl0Parser.ProcedureContext)

Enter a parse tree produced by procedure().

The default implementation does nothing.

Declaration
public virtual void EnterProcedure(pl0Parser.ProcedureContext context)
Parameters
Type Name Description
pl0Parser.ProcedureContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(pl0Parser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterQstmt(pl0Parser.QstmtContext)

Enter a parse tree produced by qstmt().

The default implementation does nothing.

Declaration
public virtual void EnterQstmt(pl0Parser.QstmtContext context)
Parameters
Type Name Description
pl0Parser.QstmtContext context

The parse tree.

| Improve this Doc View Source

EnterStatement(pl0Parser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterTerm(pl0Parser.TermContext)

Enter a parse tree produced by term().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterVars_(pl0Parser.Vars_Context)

Enter a parse tree produced by vars_().

The default implementation does nothing.

Declaration
public virtual void EnterVars_(pl0Parser.Vars_Context context)
Parameters
Type Name Description
pl0Parser.Vars_Context context

The parse tree.

| Improve this Doc View Source

EnterWhilestmt(pl0Parser.WhilestmtContext)

Enter a parse tree produced by whilestmt().

The default implementation does nothing.

Declaration
public virtual void EnterWhilestmt(pl0Parser.WhilestmtContext context)
Parameters
Type Name Description
pl0Parser.WhilestmtContext context

The parse tree.

| Improve this Doc View Source

EnterWritestmt(pl0Parser.WritestmtContext)

Enter a parse tree produced by writestmt().

The default implementation does nothing.

Declaration
public virtual void EnterWritestmt(pl0Parser.WritestmtContext context)
Parameters
Type Name Description
pl0Parser.WritestmtContext context

The parse tree.

| Improve this Doc View Source

ExitAssignstmt(pl0Parser.AssignstmtContext)

Exit a parse tree produced by assignstmt().

The default implementation does nothing.

Declaration
public virtual void ExitAssignstmt(pl0Parser.AssignstmtContext context)
Parameters
Type Name Description
pl0Parser.AssignstmtContext context

The parse tree.

| Improve this Doc View Source

ExitBangstmt(pl0Parser.BangstmtContext)

Exit a parse tree produced by bangstmt().

The default implementation does nothing.

Declaration
public virtual void ExitBangstmt(pl0Parser.BangstmtContext context)
Parameters
Type Name Description
pl0Parser.BangstmtContext context

The parse tree.

| Improve this Doc View Source

ExitBeginstmt(pl0Parser.BeginstmtContext)

Exit a parse tree produced by beginstmt().

The default implementation does nothing.

Declaration
public virtual void ExitBeginstmt(pl0Parser.BeginstmtContext context)
Parameters
Type Name Description
pl0Parser.BeginstmtContext context

The parse tree.

| Improve this Doc View Source

ExitBlock(pl0Parser.BlockContext)

Exit a parse tree produced by block().

The default implementation does nothing.

Declaration
public virtual void ExitBlock(pl0Parser.BlockContext context)
Parameters
Type Name Description
pl0Parser.BlockContext context

The parse tree.

| Improve this Doc View Source

ExitCallstmt(pl0Parser.CallstmtContext)

Exit a parse tree produced by callstmt().

The default implementation does nothing.

Declaration
public virtual void ExitCallstmt(pl0Parser.CallstmtContext context)
Parameters
Type Name Description
pl0Parser.CallstmtContext context

The parse tree.

| Improve this Doc View Source

ExitCondition(pl0Parser.ConditionContext)

Exit a parse tree produced by condition().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitConsts(pl0Parser.ConstsContext)

Exit a parse tree produced by consts().

The default implementation does nothing.

Declaration
public virtual void ExitConsts(pl0Parser.ConstsContext context)
Parameters
Type Name Description
pl0Parser.ConstsContext 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(pl0Parser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitFactor(pl0Parser.FactorContext)

Exit a parse tree produced by factor().

The default implementation does nothing.

Declaration
public virtual void ExitFactor(pl0Parser.FactorContext context)
Parameters
Type Name Description
pl0Parser.FactorContext context

The parse tree.

| Improve this Doc View Source

ExitIdent(pl0Parser.IdentContext)

Exit a parse tree produced by ident().

The default implementation does nothing.

Declaration
public virtual void ExitIdent(pl0Parser.IdentContext context)
Parameters
Type Name Description
pl0Parser.IdentContext context

The parse tree.

| Improve this Doc View Source

ExitIfstmt(pl0Parser.IfstmtContext)

Exit a parse tree produced by ifstmt().

The default implementation does nothing.

Declaration
public virtual void ExitIfstmt(pl0Parser.IfstmtContext context)
Parameters
Type Name Description
pl0Parser.IfstmtContext context

The parse tree.

| Improve this Doc View Source

ExitNumber(pl0Parser.NumberContext)

Exit a parse tree produced by number().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitProcedure(pl0Parser.ProcedureContext)

Exit a parse tree produced by procedure().

The default implementation does nothing.

Declaration
public virtual void ExitProcedure(pl0Parser.ProcedureContext context)
Parameters
Type Name Description
pl0Parser.ProcedureContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(pl0Parser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitQstmt(pl0Parser.QstmtContext)

Exit a parse tree produced by qstmt().

The default implementation does nothing.

Declaration
public virtual void ExitQstmt(pl0Parser.QstmtContext context)
Parameters
Type Name Description
pl0Parser.QstmtContext context

The parse tree.

| Improve this Doc View Source

ExitStatement(pl0Parser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitTerm(pl0Parser.TermContext)

Exit a parse tree produced by term().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitVars_(pl0Parser.Vars_Context)

Exit a parse tree produced by vars_().

The default implementation does nothing.

Declaration
public virtual void ExitVars_(pl0Parser.Vars_Context context)
Parameters
Type Name Description
pl0Parser.Vars_Context context

The parse tree.

| Improve this Doc View Source

ExitWhilestmt(pl0Parser.WhilestmtContext)

Exit a parse tree produced by whilestmt().

The default implementation does nothing.

Declaration
public virtual void ExitWhilestmt(pl0Parser.WhilestmtContext context)
Parameters
Type Name Description
pl0Parser.WhilestmtContext context

The parse tree.

| Improve this Doc View Source

ExitWritestmt(pl0Parser.WritestmtContext)

Exit a parse tree produced by writestmt().

The default implementation does nothing.

Declaration
public virtual void ExitWritestmt(pl0Parser.WritestmtContext context)
Parameters
Type Name Description
pl0Parser.WritestmtContext 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

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