Interface ItinyListener
This interface defines a complete listener for a parse tree produced by tinyParser.
Namespace: GCore.Antlr.Grammers.Tiny
Assembly: Tiny.dll
Syntax
public interface ItinyListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAssign_stmt(tinyParser.Assign_stmtContext)
Enter a parse tree produced by assign_stmt().
Declaration
void EnterAssign_stmt(tinyParser.Assign_stmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Assign_stmtContext | context | The parse tree. |
EnterExpr(tinyParser.ExprContext)
Enter a parse tree produced by expr().
Declaration
void EnterExpr(tinyParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.ExprContext | context | The parse tree. |
EnterExpr_list(tinyParser.Expr_listContext)
Enter a parse tree produced by expr_list().
Declaration
void EnterExpr_list(tinyParser.Expr_listContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Expr_listContext | context | The parse tree. |
EnterFactor(tinyParser.FactorContext)
Enter a parse tree produced by factor().
Declaration
void EnterFactor(tinyParser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.FactorContext | context | The parse tree. |
EnterId_list(tinyParser.Id_listContext)
Enter a parse tree produced by id_list().
Declaration
void EnterId_list(tinyParser.Id_listContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Id_listContext | context | The parse tree. |
EnterIdent(tinyParser.IdentContext)
Enter a parse tree produced by ident().
Declaration
void EnterIdent(tinyParser.IdentContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.IdentContext | context | The parse tree. |
EnterInteger(tinyParser.IntegerContext)
Enter a parse tree produced by integer().
Declaration
void EnterInteger(tinyParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.IntegerContext | context | The parse tree. |
EnterOp(tinyParser.OpContext)
Enter a parse tree produced by op().
Declaration
void EnterOp(tinyParser.OpContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.OpContext | context | The parse tree. |
EnterProgram(tinyParser.ProgramContext)
Enter a parse tree produced by program().
Declaration
void EnterProgram(tinyParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.ProgramContext | context | The parse tree. |
EnterRead_stmt(tinyParser.Read_stmtContext)
Enter a parse tree produced by read_stmt().
Declaration
void EnterRead_stmt(tinyParser.Read_stmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Read_stmtContext | context | The parse tree. |
EnterStmt(tinyParser.StmtContext)
Enter a parse tree produced by stmt().
Declaration
void EnterStmt(tinyParser.StmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.StmtContext | context | The parse tree. |
EnterStmt_list(tinyParser.Stmt_listContext)
Enter a parse tree produced by stmt_list().
Declaration
void EnterStmt_list(tinyParser.Stmt_listContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Stmt_listContext | context | The parse tree. |
EnterWrite_stmt(tinyParser.Write_stmtContext)
Enter a parse tree produced by write_stmt().
Declaration
void EnterWrite_stmt(tinyParser.Write_stmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Write_stmtContext | context | The parse tree. |
ExitAssign_stmt(tinyParser.Assign_stmtContext)
Exit a parse tree produced by assign_stmt().
Declaration
void ExitAssign_stmt(tinyParser.Assign_stmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Assign_stmtContext | context | The parse tree. |
ExitExpr(tinyParser.ExprContext)
Exit a parse tree produced by expr().
Declaration
void ExitExpr(tinyParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.ExprContext | context | The parse tree. |
ExitExpr_list(tinyParser.Expr_listContext)
Exit a parse tree produced by expr_list().
Declaration
void ExitExpr_list(tinyParser.Expr_listContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Expr_listContext | context | The parse tree. |
ExitFactor(tinyParser.FactorContext)
Exit a parse tree produced by factor().
Declaration
void ExitFactor(tinyParser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.FactorContext | context | The parse tree. |
ExitId_list(tinyParser.Id_listContext)
Exit a parse tree produced by id_list().
Declaration
void ExitId_list(tinyParser.Id_listContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Id_listContext | context | The parse tree. |
ExitIdent(tinyParser.IdentContext)
Exit a parse tree produced by ident().
Declaration
void ExitIdent(tinyParser.IdentContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.IdentContext | context | The parse tree. |
ExitInteger(tinyParser.IntegerContext)
Exit a parse tree produced by integer().
Declaration
void ExitInteger(tinyParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.IntegerContext | context | The parse tree. |
ExitOp(tinyParser.OpContext)
Exit a parse tree produced by op().
Declaration
void ExitOp(tinyParser.OpContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.OpContext | context | The parse tree. |
ExitProgram(tinyParser.ProgramContext)
Exit a parse tree produced by program().
Declaration
void ExitProgram(tinyParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.ProgramContext | context | The parse tree. |
ExitRead_stmt(tinyParser.Read_stmtContext)
Exit a parse tree produced by read_stmt().
Declaration
void ExitRead_stmt(tinyParser.Read_stmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Read_stmtContext | context | The parse tree. |
ExitStmt(tinyParser.StmtContext)
Exit a parse tree produced by stmt().
Declaration
void ExitStmt(tinyParser.StmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.StmtContext | context | The parse tree. |
ExitStmt_list(tinyParser.Stmt_listContext)
Exit a parse tree produced by stmt_list().
Declaration
void ExitStmt_list(tinyParser.Stmt_listContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Stmt_listContext | context | The parse tree. |
ExitWrite_stmt(tinyParser.Write_stmtContext)
Exit a parse tree produced by write_stmt().
Declaration
void ExitWrite_stmt(tinyParser.Write_stmtContext context)
Parameters
Type | Name | Description |
---|---|---|
tinyParser.Write_stmtContext | context | The parse tree. |