Interface IBSLVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by BSLParser.
Namespace: GCore.Antlr.Grammers.RacketBsl
Assembly: RacketBsl.dll
Syntax
public interface IBSLVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitDefinition(BSLParser.DefinitionContext)
Visit a parse tree produced by definition().
Declaration
Result VisitDefinition(BSLParser.DefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.DefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDefOrExpr(BSLParser.DefOrExprContext)
Visit a parse tree produced by defOrExpr().
Declaration
Result VisitDefOrExpr(BSLParser.DefOrExprContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.DefOrExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpr(BSLParser.ExprContext)
Visit a parse tree produced by expr().
Declaration
Result VisitExpr(BSLParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.ExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLibraryRequire(BSLParser.LibraryRequireContext)
Visit a parse tree produced by libraryRequire().
Declaration
Result VisitLibraryRequire(BSLParser.LibraryRequireContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.LibraryRequireContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitName(BSLParser.NameContext)
Visit a parse tree produced by name().
Declaration
Result VisitName(BSLParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.NameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPkg(BSLParser.PkgContext)
Visit a parse tree produced by pkg().
Declaration
Result VisitPkg(BSLParser.PkgContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.PkgContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgram(BSLParser.ProgramContext)
Visit a parse tree produced by program().
Declaration
Result VisitProgram(BSLParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.ProgramContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTestCase(BSLParser.TestCaseContext)
Visit a parse tree produced by testCase().
Declaration
Result VisitTestCase(BSLParser.TestCaseContext context)
Parameters
Type | Name | Description |
---|---|---|
BSLParser.TestCaseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |