Class doiurlBaseVisitor<Result>
This class provides an empty implementation of IdoiurlVisitor<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.Doiurl
Assembly: Doiurl.dll
Syntax
public class doiurlBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IdoiurlVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitDoiuri(doiurlParser.DoiuriContext)
Visit a parse tree produced by doiuri().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDoiuri(doiurlParser.DoiuriContext context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.DoiuriContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEncodeddoi(doiurlParser.EncodeddoiContext)
Visit a parse tree produced by encodeddoi().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEncodeddoi(doiurlParser.EncodeddoiContext context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.EncodeddoiContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFragment_(doiurlParser.Fragment_Context)
Visit a parse tree produced by fragment_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFragment_(doiurlParser.Fragment_Context context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.Fragment_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPrefix_(doiurlParser.Prefix_Context)
Visit a parse tree produced by prefix_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPrefix_(doiurlParser.Prefix_Context context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.Prefix_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuery(doiurlParser.QueryContext)
Visit a parse tree produced by query().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQuery(doiurlParser.QueryContext context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.QueryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitScheme(doiurlParser.SchemeContext)
Visit a parse tree produced by scheme().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitScheme(doiurlParser.SchemeContext context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.SchemeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSegment(doiurlParser.SegmentContext)
Visit a parse tree produced by segment().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSegment(doiurlParser.SegmentContext context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.SegmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSuffix(doiurlParser.SuffixContext)
Visit a parse tree produced by suffix().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSuffix(doiurlParser.SuffixContext context)
Parameters
Type | Name | Description |
---|---|---|
doiurlParser.SuffixContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |