Interface IscottyVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by scottyParser.
Namespace: GCore.Antlr.Grammers.Scotty
Assembly: Scotty.dll
Syntax
public interface IscottyVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
| Name | Description |
|---|---|
| Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitDigits(scottyParser.DigitsContext)
Visit a parse tree produced by digits().
Declaration
Result VisitDigits(scottyParser.DigitsContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.DigitsContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitFn_def(scottyParser.Fn_defContext)
Visit a parse tree produced by fn_def().
Declaration
Result VisitFn_def(scottyParser.Fn_defContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.Fn_defContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitId_tail(scottyParser.Id_tailContext)
Visit a parse tree produced by id_tail().
Declaration
Result VisitId_tail(scottyParser.Id_tailContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.Id_tailContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitIdentifier(scottyParser.IdentifierContext)
Visit a parse tree produced by identifier().
Declaration
Result VisitIdentifier(scottyParser.IdentifierContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.IdentifierContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitNumber(scottyParser.NumberContext)
Visit a parse tree produced by number().
Declaration
Result VisitNumber(scottyParser.NumberContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.NumberContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitPrefix_exp(scottyParser.Prefix_expContext)
Visit a parse tree produced by prefix_exp().
Declaration
Result VisitPrefix_exp(scottyParser.Prefix_expContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.Prefix_expContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitProg(scottyParser.ProgContext)
Visit a parse tree produced by prog().
Declaration
Result VisitProg(scottyParser.ProgContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.ProgContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitProgram_lines(scottyParser.Program_linesContext)
Visit a parse tree produced by program_lines().
Declaration
Result VisitProgram_lines(scottyParser.Program_linesContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.Program_linesContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitVar_assign(scottyParser.Var_assignContext)
Visit a parse tree produced by var_assign().
Declaration
Result VisitVar_assign(scottyParser.Var_assignContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| scottyParser.Var_assignContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |