Class lambdaBaseVisitor<Result>
This class provides an empty implementation of IlambdaVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
System.Object
lambdaBaseVisitor<Result>
Namespace: GCore.Antlr.Grammers.Lambda
Assembly: Lambda.dll
Syntax
public class lambdaBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IlambdaVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitApplication(lambdaParser.ApplicationContext)
Visit a parse tree produced by application().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitApplication(lambdaParser.ApplicationContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ApplicationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(lambdaParser.ExpressionContext)
Visit a parse tree produced by expression().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExpression(lambdaParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunction_(lambdaParser.Function_Context)
Visit a parse tree produced by function_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFunction_(lambdaParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.Function_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitScope(lambdaParser.ScopeContext)
Visit a parse tree produced by scope().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitScope(lambdaParser.ScopeContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ScopeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
Implements
IParseTreeVisitor<>