Class ednBaseVisitor<Result>
This class provides an empty implementation of IednVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Edn
Assembly: Edn.dll
Syntax
public class ednBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IednVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
| Name | Description |
|---|---|
| Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitKeyword(ednParser.KeywordContext)
Visit a parse tree produced by keyword().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitKeyword(ednParser.KeywordContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.KeywordContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitList_(ednParser.List_Context)
Visit a parse tree produced by list_().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitList_(ednParser.List_Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.List_Context | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitMap_(ednParser.Map_Context)
Visit a parse tree produced by map_().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitMap_(ednParser.Map_Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.Map_Context | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitProgram(ednParser.ProgramContext)
Visit a parse tree produced by program().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitProgram(ednParser.ProgramContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.ProgramContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitSet_(ednParser.Set_Context)
Visit a parse tree produced by set_().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitSet_(ednParser.Set_Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.Set_Context | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitTag(ednParser.TagContext)
Visit a parse tree produced by tag().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitTag(ednParser.TagContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.TagContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitValue(ednParser.ValueContext)
Visit a parse tree produced by value().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitValue(ednParser.ValueContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.ValueContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitVector(ednParser.VectorContext)
Visit a parse tree produced by vector().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitVector(ednParser.VectorContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ednParser.VectorContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |