Class guitartabBaseVisitor<Result>
This class provides an empty implementation of IguitartabVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
System.Object
guitartabBaseVisitor<Result>
Namespace: GCore.Antlr.Grammers.Guitartab
Assembly: Guitartab.dll
Syntax
public class guitartabBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IguitartabVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitNote(guitartabParser.NoteContext)
Visit a parse tree produced by note().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNote(guitartabParser.NoteContext context)
Parameters
Type | Name | Description |
---|---|---|
guitartabParser.NoteContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPosition(guitartabParser.PositionContext)
Visit a parse tree produced by position().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPosition(guitartabParser.PositionContext context)
Parameters
Type | Name | Description |
---|---|---|
guitartabParser.PositionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitString(guitartabParser.StringContext)
Visit a parse tree produced by
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitString(guitartabParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
guitartabParser.StringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTab(guitartabParser.TabContext)
Visit a parse tree produced by tab().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTab(guitartabParser.TabContext context)
Parameters
Type | Name | Description |
---|---|---|
guitartabParser.TabContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
Implements
IParseTreeVisitor<>