Interface ItinycListener
This interface defines a complete listener for a parse tree produced by tinycParser.
Namespace: GCore.Antlr.Grammers.Tinyc
Assembly: Tinyc.dll
Syntax
public interface ItinycListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterExpr(tinycParser.ExprContext)
Enter a parse tree produced by expr().
Declaration
void EnterExpr(tinycParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.ExprContext | context | The parse tree. |
EnterId_(tinycParser.Id_Context)
Enter a parse tree produced by id_().
Declaration
void EnterId_(tinycParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.Id_Context | context | The parse tree. |
EnterInteger(tinycParser.IntegerContext)
Enter a parse tree produced by integer().
Declaration
void EnterInteger(tinycParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.IntegerContext | context | The parse tree. |
EnterParen_expr(tinycParser.Paren_exprContext)
Enter a parse tree produced by paren_expr().
Declaration
void EnterParen_expr(tinycParser.Paren_exprContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.Paren_exprContext | context | The parse tree. |
EnterProgram(tinycParser.ProgramContext)
Enter a parse tree produced by program().
Declaration
void EnterProgram(tinycParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.ProgramContext | context | The parse tree. |
EnterStatement(tinycParser.StatementContext)
Enter a parse tree produced by statement().
Declaration
void EnterStatement(tinycParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.StatementContext | context | The parse tree. |
EnterSum_(tinycParser.Sum_Context)
Enter a parse tree produced by sum_().
Declaration
void EnterSum_(tinycParser.Sum_Context context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.Sum_Context | context | The parse tree. |
EnterTerm(tinycParser.TermContext)
Enter a parse tree produced by term().
Declaration
void EnterTerm(tinycParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.TermContext | context | The parse tree. |
EnterTest(tinycParser.TestContext)
Enter a parse tree produced by test().
Declaration
void EnterTest(tinycParser.TestContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.TestContext | context | The parse tree. |
ExitExpr(tinycParser.ExprContext)
Exit a parse tree produced by expr().
Declaration
void ExitExpr(tinycParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.ExprContext | context | The parse tree. |
ExitId_(tinycParser.Id_Context)
Exit a parse tree produced by id_().
Declaration
void ExitId_(tinycParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.Id_Context | context | The parse tree. |
ExitInteger(tinycParser.IntegerContext)
Exit a parse tree produced by integer().
Declaration
void ExitInteger(tinycParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.IntegerContext | context | The parse tree. |
ExitParen_expr(tinycParser.Paren_exprContext)
Exit a parse tree produced by paren_expr().
Declaration
void ExitParen_expr(tinycParser.Paren_exprContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.Paren_exprContext | context | The parse tree. |
ExitProgram(tinycParser.ProgramContext)
Exit a parse tree produced by program().
Declaration
void ExitProgram(tinycParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.ProgramContext | context | The parse tree. |
ExitStatement(tinycParser.StatementContext)
Exit a parse tree produced by statement().
Declaration
void ExitStatement(tinycParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.StatementContext | context | The parse tree. |
ExitSum_(tinycParser.Sum_Context)
Exit a parse tree produced by sum_().
Declaration
void ExitSum_(tinycParser.Sum_Context context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.Sum_Context | context | The parse tree. |
ExitTerm(tinycParser.TermContext)
Exit a parse tree produced by term().
Declaration
void ExitTerm(tinycParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.TermContext | context | The parse tree. |
ExitTest(tinycParser.TestContext)
Exit a parse tree produced by test().
Declaration
void ExitTest(tinycParser.TestContext context)
Parameters
Type | Name | Description |
---|---|---|
tinycParser.TestContext | context | The parse tree. |