Interface ItinycVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by tinycParser.
Namespace: GCore.Antlr.Grammers.Tinyc
Assembly: Tinyc.dll
Syntax
public interface ItinycVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
| Name | Description |
|---|---|
| Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitExpr(tinycParser.ExprContext)
Visit a parse tree produced by expr().
Declaration
Result VisitExpr(tinycParser.ExprContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.ExprContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitId_(tinycParser.Id_Context)
Visit a parse tree produced by id_().
Declaration
Result VisitId_(tinycParser.Id_Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.Id_Context | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitInteger(tinycParser.IntegerContext)
Visit a parse tree produced by integer().
Declaration
Result VisitInteger(tinycParser.IntegerContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.IntegerContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitParen_expr(tinycParser.Paren_exprContext)
Visit a parse tree produced by paren_expr().
Declaration
Result VisitParen_expr(tinycParser.Paren_exprContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.Paren_exprContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitProgram(tinycParser.ProgramContext)
Visit a parse tree produced by program().
Declaration
Result VisitProgram(tinycParser.ProgramContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.ProgramContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitStatement(tinycParser.StatementContext)
Visit a parse tree produced by statement().
Declaration
Result VisitStatement(tinycParser.StatementContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.StatementContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitSum_(tinycParser.Sum_Context)
Visit a parse tree produced by sum_().
Declaration
Result VisitSum_(tinycParser.Sum_Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.Sum_Context | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitTerm(tinycParser.TermContext)
Visit a parse tree produced by term().
Declaration
Result VisitTerm(tinycParser.TermContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.TermContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitTest(tinycParser.TestContext)
Visit a parse tree produced by test().
Declaration
Result VisitTest(tinycParser.TestContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| tinycParser.TestContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |