Class DGSParserBaseVisitor<Result>
This class provides an empty implementation of IDGSParserVisitor<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.GraphstreamDgs
Assembly: GraphstreamDgs.dll
Syntax
public class DGSParserBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IDGSParserVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitA_map(DGSParser.A_mapContext)
Visit a parse tree produced by a_map().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitA_map(DGSParser.A_mapContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.A_mapContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAe(DGSParser.AeContext)
Visit a parse tree produced by ae().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAe(DGSParser.AeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAn(DGSParser.AnContext)
Visit a parse tree produced by an().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAn(DGSParser.AnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitArray_(DGSParser.Array_Context)
Visit a parse tree produced by array_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitArray_(DGSParser.Array_Context context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.Array_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssign(DGSParser.AssignContext)
Visit a parse tree produced by assign().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAssign(DGSParser.AssignContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AssignContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAttribute(DGSParser.AttributeContext)
Visit a parse tree produced by attribute().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAttribute(DGSParser.AttributeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AttributeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAttributes(DGSParser.AttributesContext)
Visit a parse tree produced by attributes().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAttributes(DGSParser.AttributesContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AttributesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCe(DGSParser.CeContext)
Visit a parse tree produced by ce().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCe(DGSParser.CeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCg(DGSParser.CgContext)
Visit a parse tree produced by cg().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCg(DGSParser.CgContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CgContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCl(DGSParser.ClContext)
Visit a parse tree produced by cl().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCl(DGSParser.ClContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.ClContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCn(DGSParser.CnContext)
Visit a parse tree produced by cn().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCn(DGSParser.CnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDe(DGSParser.DeContext)
Visit a parse tree produced by de().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDe(DGSParser.DeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDgs(DGSParser.DgsContext)
Visit a parse tree produced by dgs().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDgs(DGSParser.DgsContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DgsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDirection(DGSParser.DirectionContext)
Visit a parse tree produced by direction().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDirection(DGSParser.DirectionContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DirectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDn(DGSParser.DnContext)
Visit a parse tree produced by dn().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDn(DGSParser.DnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEvent(DGSParser.EventContext)
Visit a parse tree produced by
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEvent(DGSParser.EventContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.EventContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHeader(DGSParser.HeaderContext)
Visit a parse tree produced by header().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHeader(DGSParser.HeaderContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.HeaderContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifier(DGSParser.IdentifierContext)
Visit a parse tree produced by identifier().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIdentifier(DGSParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.IdentifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMapping(DGSParser.MappingContext)
Visit a parse tree produced by mapping().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMapping(DGSParser.MappingContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.MappingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSt(DGSParser.StContext)
Visit a parse tree produced by st().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSt(DGSParser.StContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.StContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitValue(DGSParser.ValueContext)
Visit a parse tree produced by value().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitValue(DGSParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.ValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |