Class quakemapBaseVisitor<Result>
This class provides an empty implementation of IquakemapVisitor<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.Quakemap
Assembly: Quakemap.dll
Syntax
public class quakemapBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IquakemapVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBrush(quakemapParser.BrushContext)
Visit a parse tree produced by brush().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBrush(quakemapParser.BrushContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.BrushContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBrushline(quakemapParser.BrushlineContext)
Visit a parse tree produced by brushline().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBrushline(quakemapParser.BrushlineContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.BrushlineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCoord(quakemapParser.CoordContext)
Visit a parse tree produced by coord().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCoord(quakemapParser.CoordContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.CoordContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEntity(quakemapParser.EntityContext)
Visit a parse tree produced by entity().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEntity(quakemapParser.EntityContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.EntityContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeyvalue(quakemapParser.KeyvalueContext)
Visit a parse tree produced by keyvalue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitKeyvalue(quakemapParser.KeyvalueContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.KeyvalueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMap_(quakemapParser.Map_Context)
Visit a parse tree produced by map_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMap_(quakemapParser.Map_Context context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.Map_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNum(quakemapParser.NumContext)
Visit a parse tree produced by num().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNum(quakemapParser.NumContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.NumContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitString(quakemapParser.StringContext)
Visit a parse tree produced by
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitString(quakemapParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.StringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitText(quakemapParser.TextContext)
Visit a parse tree produced by text().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitText(quakemapParser.TextContext context)
Parameters
Type | Name | Description |
---|---|---|
quakemapParser.TextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |