Interface Ipl0Listener
This interface defines a complete listener for a parse tree produced by pl0Parser.
Namespace: GCore.Antlr.Grammers.Pl0
Assembly: Pl0.dll
Syntax
public interface Ipl0Listener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAssignstmt(pl0Parser.AssignstmtContext)
Enter a parse tree produced by assignstmt().
Declaration
void EnterAssignstmt(pl0Parser.AssignstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.AssignstmtContext | context | The parse tree. |
EnterBangstmt(pl0Parser.BangstmtContext)
Enter a parse tree produced by bangstmt().
Declaration
void EnterBangstmt(pl0Parser.BangstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.BangstmtContext | context | The parse tree. |
EnterBeginstmt(pl0Parser.BeginstmtContext)
Enter a parse tree produced by beginstmt().
Declaration
void EnterBeginstmt(pl0Parser.BeginstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.BeginstmtContext | context | The parse tree. |
EnterBlock(pl0Parser.BlockContext)
Enter a parse tree produced by block().
Declaration
void EnterBlock(pl0Parser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.BlockContext | context | The parse tree. |
EnterCallstmt(pl0Parser.CallstmtContext)
Enter a parse tree produced by callstmt().
Declaration
void EnterCallstmt(pl0Parser.CallstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.CallstmtContext | context | The parse tree. |
EnterCondition(pl0Parser.ConditionContext)
Enter a parse tree produced by condition().
Declaration
void EnterCondition(pl0Parser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ConditionContext | context | The parse tree. |
EnterConsts(pl0Parser.ConstsContext)
Enter a parse tree produced by consts().
Declaration
void EnterConsts(pl0Parser.ConstsContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ConstsContext | context | The parse tree. |
EnterExpression(pl0Parser.ExpressionContext)
Enter a parse tree produced by expression().
Declaration
void EnterExpression(pl0Parser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ExpressionContext | context | The parse tree. |
EnterFactor(pl0Parser.FactorContext)
Enter a parse tree produced by factor().
Declaration
void EnterFactor(pl0Parser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.FactorContext | context | The parse tree. |
EnterIdent(pl0Parser.IdentContext)
Enter a parse tree produced by ident().
Declaration
void EnterIdent(pl0Parser.IdentContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.IdentContext | context | The parse tree. |
EnterIfstmt(pl0Parser.IfstmtContext)
Enter a parse tree produced by ifstmt().
Declaration
void EnterIfstmt(pl0Parser.IfstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.IfstmtContext | context | The parse tree. |
EnterNumber(pl0Parser.NumberContext)
Enter a parse tree produced by number().
Declaration
void EnterNumber(pl0Parser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.NumberContext | context | The parse tree. |
EnterProcedure(pl0Parser.ProcedureContext)
Enter a parse tree produced by procedure().
Declaration
void EnterProcedure(pl0Parser.ProcedureContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ProcedureContext | context | The parse tree. |
EnterProgram(pl0Parser.ProgramContext)
Enter a parse tree produced by program().
Declaration
void EnterProgram(pl0Parser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ProgramContext | context | The parse tree. |
EnterQstmt(pl0Parser.QstmtContext)
Enter a parse tree produced by qstmt().
Declaration
void EnterQstmt(pl0Parser.QstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.QstmtContext | context | The parse tree. |
EnterStatement(pl0Parser.StatementContext)
Enter a parse tree produced by statement().
Declaration
void EnterStatement(pl0Parser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.StatementContext | context | The parse tree. |
EnterTerm(pl0Parser.TermContext)
Enter a parse tree produced by term().
Declaration
void EnterTerm(pl0Parser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.TermContext | context | The parse tree. |
EnterVars_(pl0Parser.Vars_Context)
Enter a parse tree produced by vars_().
Declaration
void EnterVars_(pl0Parser.Vars_Context context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.Vars_Context | context | The parse tree. |
EnterWhilestmt(pl0Parser.WhilestmtContext)
Enter a parse tree produced by whilestmt().
Declaration
void EnterWhilestmt(pl0Parser.WhilestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.WhilestmtContext | context | The parse tree. |
EnterWritestmt(pl0Parser.WritestmtContext)
Enter a parse tree produced by writestmt().
Declaration
void EnterWritestmt(pl0Parser.WritestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.WritestmtContext | context | The parse tree. |
ExitAssignstmt(pl0Parser.AssignstmtContext)
Exit a parse tree produced by assignstmt().
Declaration
void ExitAssignstmt(pl0Parser.AssignstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.AssignstmtContext | context | The parse tree. |
ExitBangstmt(pl0Parser.BangstmtContext)
Exit a parse tree produced by bangstmt().
Declaration
void ExitBangstmt(pl0Parser.BangstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.BangstmtContext | context | The parse tree. |
ExitBeginstmt(pl0Parser.BeginstmtContext)
Exit a parse tree produced by beginstmt().
Declaration
void ExitBeginstmt(pl0Parser.BeginstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.BeginstmtContext | context | The parse tree. |
ExitBlock(pl0Parser.BlockContext)
Exit a parse tree produced by block().
Declaration
void ExitBlock(pl0Parser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.BlockContext | context | The parse tree. |
ExitCallstmt(pl0Parser.CallstmtContext)
Exit a parse tree produced by callstmt().
Declaration
void ExitCallstmt(pl0Parser.CallstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.CallstmtContext | context | The parse tree. |
ExitCondition(pl0Parser.ConditionContext)
Exit a parse tree produced by condition().
Declaration
void ExitCondition(pl0Parser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ConditionContext | context | The parse tree. |
ExitConsts(pl0Parser.ConstsContext)
Exit a parse tree produced by consts().
Declaration
void ExitConsts(pl0Parser.ConstsContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ConstsContext | context | The parse tree. |
ExitExpression(pl0Parser.ExpressionContext)
Exit a parse tree produced by expression().
Declaration
void ExitExpression(pl0Parser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ExpressionContext | context | The parse tree. |
ExitFactor(pl0Parser.FactorContext)
Exit a parse tree produced by factor().
Declaration
void ExitFactor(pl0Parser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.FactorContext | context | The parse tree. |
ExitIdent(pl0Parser.IdentContext)
Exit a parse tree produced by ident().
Declaration
void ExitIdent(pl0Parser.IdentContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.IdentContext | context | The parse tree. |
ExitIfstmt(pl0Parser.IfstmtContext)
Exit a parse tree produced by ifstmt().
Declaration
void ExitIfstmt(pl0Parser.IfstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.IfstmtContext | context | The parse tree. |
ExitNumber(pl0Parser.NumberContext)
Exit a parse tree produced by number().
Declaration
void ExitNumber(pl0Parser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.NumberContext | context | The parse tree. |
ExitProcedure(pl0Parser.ProcedureContext)
Exit a parse tree produced by procedure().
Declaration
void ExitProcedure(pl0Parser.ProcedureContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ProcedureContext | context | The parse tree. |
ExitProgram(pl0Parser.ProgramContext)
Exit a parse tree produced by program().
Declaration
void ExitProgram(pl0Parser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.ProgramContext | context | The parse tree. |
ExitQstmt(pl0Parser.QstmtContext)
Exit a parse tree produced by qstmt().
Declaration
void ExitQstmt(pl0Parser.QstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.QstmtContext | context | The parse tree. |
ExitStatement(pl0Parser.StatementContext)
Exit a parse tree produced by statement().
Declaration
void ExitStatement(pl0Parser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.StatementContext | context | The parse tree. |
ExitTerm(pl0Parser.TermContext)
Exit a parse tree produced by term().
Declaration
void ExitTerm(pl0Parser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.TermContext | context | The parse tree. |
ExitVars_(pl0Parser.Vars_Context)
Exit a parse tree produced by vars_().
Declaration
void ExitVars_(pl0Parser.Vars_Context context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.Vars_Context | context | The parse tree. |
ExitWhilestmt(pl0Parser.WhilestmtContext)
Exit a parse tree produced by whilestmt().
Declaration
void ExitWhilestmt(pl0Parser.WhilestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.WhilestmtContext | context | The parse tree. |
ExitWritestmt(pl0Parser.WritestmtContext)
Exit a parse tree produced by writestmt().
Declaration
void ExitWritestmt(pl0Parser.WritestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
pl0Parser.WritestmtContext | context | The parse tree. |