Interface ItinybasicVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by tinybasicParser.
Namespace: GCore.Antlr.Grammers.Tinybasic
Assembly: Tinybasic.dll
Syntax
public interface ItinybasicVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitExpression(tinybasicParser.ExpressionContext)
Visit a parse tree produced by expression().
Declaration
Result VisitExpression(tinybasicParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExprlist(tinybasicParser.ExprlistContext)
Visit a parse tree produced by exprlist().
Declaration
Result VisitExprlist(tinybasicParser.ExprlistContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ExprlistContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFactor(tinybasicParser.FactorContext)
Visit a parse tree produced by factor().
Declaration
Result VisitFactor(tinybasicParser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.FactorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLine(tinybasicParser.LineContext)
Visit a parse tree produced by line().
Declaration
Result VisitLine(tinybasicParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.LineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumber(tinybasicParser.NumberContext)
Visit a parse tree produced by number().
Declaration
Result VisitNumber(tinybasicParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.NumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgram(tinybasicParser.ProgramContext)
Visit a parse tree produced by program().
Declaration
Result VisitProgram(tinybasicParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ProgramContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRelop(tinybasicParser.RelopContext)
Visit a parse tree produced by relop().
Declaration
Result VisitRelop(tinybasicParser.RelopContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.RelopContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatement(tinybasicParser.StatementContext)
Visit a parse tree produced by statement().
Declaration
Result VisitStatement(tinybasicParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.StatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm(tinybasicParser.TermContext)
Visit a parse tree produced by term().
Declaration
Result VisitTerm(tinybasicParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.TermContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVara(tinybasicParser.VaraContext)
Visit a parse tree produced by vara().
Declaration
Result VisitVara(tinybasicParser.VaraContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.VaraContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVarlist(tinybasicParser.VarlistContext)
Visit a parse tree produced by varlist().
Declaration
Result VisitVarlist(tinybasicParser.VarlistContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.VarlistContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |