Class DGSParserBaseListener
This class provides an empty implementation of IDGSParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.GraphstreamDgs
Assembly: GraphstreamDgs.dll
Syntax
public class DGSParserBaseListener : object, IDGSParserListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterA_map(DGSParser.A_mapContext)
Enter a parse tree produced by a_map().
The default implementation does nothing.
Declaration
public virtual void EnterA_map(DGSParser.A_mapContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.A_mapContext | context | The parse tree. |
EnterAe(DGSParser.AeContext)
Enter a parse tree produced by ae().
The default implementation does nothing.
Declaration
public virtual void EnterAe(DGSParser.AeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AeContext | context | The parse tree. |
EnterAn(DGSParser.AnContext)
Enter a parse tree produced by an().
The default implementation does nothing.
Declaration
public virtual void EnterAn(DGSParser.AnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AnContext | context | The parse tree. |
EnterArray_(DGSParser.Array_Context)
Enter a parse tree produced by array_().
The default implementation does nothing.
Declaration
public virtual void EnterArray_(DGSParser.Array_Context context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.Array_Context | context | The parse tree. |
EnterAssign(DGSParser.AssignContext)
Enter a parse tree produced by assign().
The default implementation does nothing.
Declaration
public virtual void EnterAssign(DGSParser.AssignContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AssignContext | context | The parse tree. |
EnterAttribute(DGSParser.AttributeContext)
Enter a parse tree produced by attribute().
The default implementation does nothing.
Declaration
public virtual void EnterAttribute(DGSParser.AttributeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AttributeContext | context | The parse tree. |
EnterAttributes(DGSParser.AttributesContext)
Enter a parse tree produced by attributes().
The default implementation does nothing.
Declaration
public virtual void EnterAttributes(DGSParser.AttributesContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AttributesContext | context | The parse tree. |
EnterCe(DGSParser.CeContext)
Enter a parse tree produced by ce().
The default implementation does nothing.
Declaration
public virtual void EnterCe(DGSParser.CeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CeContext | context | The parse tree. |
EnterCg(DGSParser.CgContext)
Enter a parse tree produced by cg().
The default implementation does nothing.
Declaration
public virtual void EnterCg(DGSParser.CgContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CgContext | context | The parse tree. |
EnterCl(DGSParser.ClContext)
Enter a parse tree produced by cl().
The default implementation does nothing.
Declaration
public virtual void EnterCl(DGSParser.ClContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.ClContext | context | The parse tree. |
EnterCn(DGSParser.CnContext)
Enter a parse tree produced by cn().
The default implementation does nothing.
Declaration
public virtual void EnterCn(DGSParser.CnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CnContext | context | The parse tree. |
EnterDe(DGSParser.DeContext)
Enter a parse tree produced by de().
The default implementation does nothing.
Declaration
public virtual void EnterDe(DGSParser.DeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DeContext | context | The parse tree. |
EnterDgs(DGSParser.DgsContext)
Enter a parse tree produced by dgs().
The default implementation does nothing.
Declaration
public virtual void EnterDgs(DGSParser.DgsContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DgsContext | context | The parse tree. |
EnterDirection(DGSParser.DirectionContext)
Enter a parse tree produced by direction().
The default implementation does nothing.
Declaration
public virtual void EnterDirection(DGSParser.DirectionContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DirectionContext | context | The parse tree. |
EnterDn(DGSParser.DnContext)
Enter a parse tree produced by dn().
The default implementation does nothing.
Declaration
public virtual void EnterDn(DGSParser.DnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DnContext | context | The parse tree. |
EnterEvent(DGSParser.EventContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterEvent(DGSParser.EventContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.EventContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterHeader(DGSParser.HeaderContext)
Enter a parse tree produced by header().
The default implementation does nothing.
Declaration
public virtual void EnterHeader(DGSParser.HeaderContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.HeaderContext | context | The parse tree. |
EnterIdentifier(DGSParser.IdentifierContext)
Enter a parse tree produced by identifier().
The default implementation does nothing.
Declaration
public virtual void EnterIdentifier(DGSParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.IdentifierContext | context | The parse tree. |
EnterMapping(DGSParser.MappingContext)
Enter a parse tree produced by mapping().
The default implementation does nothing.
Declaration
public virtual void EnterMapping(DGSParser.MappingContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.MappingContext | context | The parse tree. |
EnterSt(DGSParser.StContext)
Enter a parse tree produced by st().
The default implementation does nothing.
Declaration
public virtual void EnterSt(DGSParser.StContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.StContext | context | The parse tree. |
EnterValue(DGSParser.ValueContext)
Enter a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void EnterValue(DGSParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.ValueContext | context | The parse tree. |
ExitA_map(DGSParser.A_mapContext)
Exit a parse tree produced by a_map().
The default implementation does nothing.
Declaration
public virtual void ExitA_map(DGSParser.A_mapContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.A_mapContext | context | The parse tree. |
ExitAe(DGSParser.AeContext)
Exit a parse tree produced by ae().
The default implementation does nothing.
Declaration
public virtual void ExitAe(DGSParser.AeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AeContext | context | The parse tree. |
ExitAn(DGSParser.AnContext)
Exit a parse tree produced by an().
The default implementation does nothing.
Declaration
public virtual void ExitAn(DGSParser.AnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AnContext | context | The parse tree. |
ExitArray_(DGSParser.Array_Context)
Exit a parse tree produced by array_().
The default implementation does nothing.
Declaration
public virtual void ExitArray_(DGSParser.Array_Context context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.Array_Context | context | The parse tree. |
ExitAssign(DGSParser.AssignContext)
Exit a parse tree produced by assign().
The default implementation does nothing.
Declaration
public virtual void ExitAssign(DGSParser.AssignContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AssignContext | context | The parse tree. |
ExitAttribute(DGSParser.AttributeContext)
Exit a parse tree produced by attribute().
The default implementation does nothing.
Declaration
public virtual void ExitAttribute(DGSParser.AttributeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AttributeContext | context | The parse tree. |
ExitAttributes(DGSParser.AttributesContext)
Exit a parse tree produced by attributes().
The default implementation does nothing.
Declaration
public virtual void ExitAttributes(DGSParser.AttributesContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.AttributesContext | context | The parse tree. |
ExitCe(DGSParser.CeContext)
Exit a parse tree produced by ce().
The default implementation does nothing.
Declaration
public virtual void ExitCe(DGSParser.CeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CeContext | context | The parse tree. |
ExitCg(DGSParser.CgContext)
Exit a parse tree produced by cg().
The default implementation does nothing.
Declaration
public virtual void ExitCg(DGSParser.CgContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CgContext | context | The parse tree. |
ExitCl(DGSParser.ClContext)
Exit a parse tree produced by cl().
The default implementation does nothing.
Declaration
public virtual void ExitCl(DGSParser.ClContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.ClContext | context | The parse tree. |
ExitCn(DGSParser.CnContext)
Exit a parse tree produced by cn().
The default implementation does nothing.
Declaration
public virtual void ExitCn(DGSParser.CnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.CnContext | context | The parse tree. |
ExitDe(DGSParser.DeContext)
Exit a parse tree produced by de().
The default implementation does nothing.
Declaration
public virtual void ExitDe(DGSParser.DeContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DeContext | context | The parse tree. |
ExitDgs(DGSParser.DgsContext)
Exit a parse tree produced by dgs().
The default implementation does nothing.
Declaration
public virtual void ExitDgs(DGSParser.DgsContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DgsContext | context | The parse tree. |
ExitDirection(DGSParser.DirectionContext)
Exit a parse tree produced by direction().
The default implementation does nothing.
Declaration
public virtual void ExitDirection(DGSParser.DirectionContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DirectionContext | context | The parse tree. |
ExitDn(DGSParser.DnContext)
Exit a parse tree produced by dn().
The default implementation does nothing.
Declaration
public virtual void ExitDn(DGSParser.DnContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.DnContext | context | The parse tree. |
ExitEvent(DGSParser.EventContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitEvent(DGSParser.EventContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.EventContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitHeader(DGSParser.HeaderContext)
Exit a parse tree produced by header().
The default implementation does nothing.
Declaration
public virtual void ExitHeader(DGSParser.HeaderContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.HeaderContext | context | The parse tree. |
ExitIdentifier(DGSParser.IdentifierContext)
Exit a parse tree produced by identifier().
The default implementation does nothing.
Declaration
public virtual void ExitIdentifier(DGSParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.IdentifierContext | context | The parse tree. |
ExitMapping(DGSParser.MappingContext)
Exit a parse tree produced by mapping().
The default implementation does nothing.
Declaration
public virtual void ExitMapping(DGSParser.MappingContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.MappingContext | context | The parse tree. |
ExitSt(DGSParser.StContext)
Exit a parse tree produced by st().
The default implementation does nothing.
Declaration
public virtual void ExitSt(DGSParser.StContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.StContext | context | The parse tree. |
ExitValue(DGSParser.ValueContext)
Exit a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void ExitValue(DGSParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
DGSParser.ValueContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.