Class callable_BaseVisitor<Result>
This class provides an empty implementation of Icallable_Visitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
System.Object
callable_BaseVisitor<Result>
Namespace: GCore.Antlr.Grammers.Callable
Assembly: Callable.dll
Syntax
public class callable_BaseVisitor<Result> : AbstractParseTreeVisitor<Result>, Icallable_Visitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitF_arg(callable_Parser.F_argContext)
Visit a parse tree produced by f_arg().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitF_arg(callable_Parser.F_argContext context)
Parameters
Type | Name | Description |
---|---|---|
callable_Parser.F_argContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitF_inner(callable_Parser.F_innerContext)
Visit a parse tree produced by f_inner().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitF_inner(callable_Parser.F_innerContext context)
Parameters
Type | Name | Description |
---|---|---|
callable_Parser.F_innerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLine(callable_Parser.LineContext)
Visit a parse tree produced by line().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitLine(callable_Parser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
callable_Parser.LineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgram(callable_Parser.ProgramContext)
Visit a parse tree produced by program().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitProgram(callable_Parser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
callable_Parser.ProgramContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
Implements
IParseTreeVisitor<>