Show / Hide Table of Contents

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
System.Object
DGSParserBaseListener
Implements
IDGSParserListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.GraphstreamDgs
Assembly: GraphstreamDgs.dll
Syntax
public class DGSParserBaseListener : object, IDGSParserListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterA_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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IDGSParserListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX