Show / Hide Table of Contents

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
System.Object
DGSParserBaseVisitor<Result>
Implements
IDGSParserVisitor<Result>
IParseTreeVisitor<Result>
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 Source

VisitA_map(DGSParser.A_mapContext)

Visit a parse tree produced by a_map().

The default implementation returns the result of calling on 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
| Improve this Doc View Source

VisitAe(DGSParser.AeContext)

Visit a parse tree produced by ae().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAe(DGSParser.AeContext context)
Parameters
Type Name Description
DGSParser.AeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAn(DGSParser.AnContext)

Visit a parse tree produced by an().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAn(DGSParser.AnContext context)
Parameters
Type Name Description
DGSParser.AnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArray_(DGSParser.Array_Context)

Visit a parse tree produced by array_().

The default implementation returns the result of calling on 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
| Improve this Doc View Source

VisitAssign(DGSParser.AssignContext)

Visit a parse tree produced by assign().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssign(DGSParser.AssignContext context)
Parameters
Type Name Description
DGSParser.AssignContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttribute(DGSParser.AttributeContext)

Visit a parse tree produced by attribute().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAttribute(DGSParser.AttributeContext context)
Parameters
Type Name Description
DGSParser.AttributeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttributes(DGSParser.AttributesContext)

Visit a parse tree produced by attributes().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAttributes(DGSParser.AttributesContext context)
Parameters
Type Name Description
DGSParser.AttributesContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCe(DGSParser.CeContext)

Visit a parse tree produced by ce().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCe(DGSParser.CeContext context)
Parameters
Type Name Description
DGSParser.CeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCg(DGSParser.CgContext)

Visit a parse tree produced by cg().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCg(DGSParser.CgContext context)
Parameters
Type Name Description
DGSParser.CgContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCl(DGSParser.ClContext)

Visit a parse tree produced by cl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCl(DGSParser.ClContext context)
Parameters
Type Name Description
DGSParser.ClContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCn(DGSParser.CnContext)

Visit a parse tree produced by cn().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCn(DGSParser.CnContext context)
Parameters
Type Name Description
DGSParser.CnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDe(DGSParser.DeContext)

Visit a parse tree produced by de().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDe(DGSParser.DeContext context)
Parameters
Type Name Description
DGSParser.DeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDgs(DGSParser.DgsContext)

Visit a parse tree produced by dgs().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDgs(DGSParser.DgsContext context)
Parameters
Type Name Description
DGSParser.DgsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDirection(DGSParser.DirectionContext)

Visit a parse tree produced by direction().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDirection(DGSParser.DirectionContext context)
Parameters
Type Name Description
DGSParser.DirectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDn(DGSParser.DnContext)

Visit a parse tree produced by dn().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDn(DGSParser.DnContext context)
Parameters
Type Name Description
DGSParser.DnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEvent(DGSParser.EventContext)

Visit a parse tree produced by .

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEvent(DGSParser.EventContext context)
Parameters
Type Name Description
DGSParser.EventContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitHeader(DGSParser.HeaderContext)

Visit a parse tree produced by header().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitHeader(DGSParser.HeaderContext context)
Parameters
Type Name Description
DGSParser.HeaderContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIdentifier(DGSParser.IdentifierContext)

Visit a parse tree produced by identifier().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIdentifier(DGSParser.IdentifierContext context)
Parameters
Type Name Description
DGSParser.IdentifierContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMapping(DGSParser.MappingContext)

Visit a parse tree produced by mapping().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMapping(DGSParser.MappingContext context)
Parameters
Type Name Description
DGSParser.MappingContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSt(DGSParser.StContext)

Visit a parse tree produced by st().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSt(DGSParser.StContext context)
Parameters
Type Name Description
DGSParser.StContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitValue(DGSParser.ValueContext)

Visit a parse tree produced by value().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitValue(DGSParser.ValueContext context)
Parameters
Type Name Description
DGSParser.ValueContext context

The parse tree.

Returns
Type Description
Result

Implements

IDGSParserVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX