Class wlnBaseVisitor<Result>
This class provides an empty implementation of IwlnVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
System.Object
wlnBaseVisitor<Result>
Namespace: GCore.Antlr.Grammers.Wln
Assembly: Wln.dll
Syntax
public class wlnBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IwlnVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitGroup(wlnParser.GroupContext)
Visit a parse tree produced by group().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGroup(wlnParser.GroupContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.GroupContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSymbol(wlnParser.SymbolContext)
Visit a parse tree produced by symbol().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSymbol(wlnParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.SymbolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWln(wlnParser.WlnContext)
Visit a parse tree produced by wln().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWln(wlnParser.WlnContext context)
Parameters
Type | Name | Description |
---|---|---|
wlnParser.WlnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
Implements
IParseTreeVisitor<>