Show / Hide Table of Contents

Class DOTBaseListener

This class provides an empty implementation of IDOTListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
DOTBaseListener
Implements
IDOTListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Dot
Assembly: Dot.dll
Syntax
public class DOTBaseListener : object, IDOTListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterA_list(DOTParser.A_listContext)

Enter a parse tree produced by a_list().

The default implementation does nothing.

Declaration
public virtual void EnterA_list(DOTParser.A_listContext context)
Parameters
Type Name Description
DOTParser.A_listContext context

The parse tree.

| Improve this Doc View Source

EnterAttr_list(DOTParser.Attr_listContext)

Enter a parse tree produced by attr_list().

The default implementation does nothing.

Declaration
public virtual void EnterAttr_list(DOTParser.Attr_listContext context)
Parameters
Type Name Description
DOTParser.Attr_listContext context

The parse tree.

| Improve this Doc View Source

EnterAttr_stmt(DOTParser.Attr_stmtContext)

Enter a parse tree produced by attr_stmt().

The default implementation does nothing.

Declaration
public virtual void EnterAttr_stmt(DOTParser.Attr_stmtContext context)
Parameters
Type Name Description
DOTParser.Attr_stmtContext context

The parse tree.

| Improve this Doc View Source

EnterEdge_stmt(DOTParser.Edge_stmtContext)

Enter a parse tree produced by edge_stmt().

The default implementation does nothing.

Declaration
public virtual void EnterEdge_stmt(DOTParser.Edge_stmtContext context)
Parameters
Type Name Description
DOTParser.Edge_stmtContext context

The parse tree.

| Improve this Doc View Source

EnterEdgeop(DOTParser.EdgeopContext)

Enter a parse tree produced by edgeop().

The default implementation does nothing.

Declaration
public virtual void EnterEdgeop(DOTParser.EdgeopContext context)
Parameters
Type Name Description
DOTParser.EdgeopContext context

The parse tree.

| Improve this Doc View Source

EnterEdgeRHS(DOTParser.EdgeRHSContext)

Enter a parse tree produced by edgeRHS().

The default implementation does nothing.

Declaration
public virtual void EnterEdgeRHS(DOTParser.EdgeRHSContext context)
Parameters
Type Name Description
DOTParser.EdgeRHSContext 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

EnterGraph(DOTParser.GraphContext)

Enter a parse tree produced by graph().

The default implementation does nothing.

Declaration
public virtual void EnterGraph(DOTParser.GraphContext context)
Parameters
Type Name Description
DOTParser.GraphContext context

The parse tree.

| Improve this Doc View Source

EnterId_(DOTParser.Id_Context)

Enter a parse tree produced by id_().

The default implementation does nothing.

Declaration
public virtual void EnterId_(DOTParser.Id_Context context)
Parameters
Type Name Description
DOTParser.Id_Context context

The parse tree.

| Improve this Doc View Source

EnterNode_id(DOTParser.Node_idContext)

Enter a parse tree produced by node_id().

The default implementation does nothing.

Declaration
public virtual void EnterNode_id(DOTParser.Node_idContext context)
Parameters
Type Name Description
DOTParser.Node_idContext context

The parse tree.

| Improve this Doc View Source

EnterNode_stmt(DOTParser.Node_stmtContext)

Enter a parse tree produced by node_stmt().

The default implementation does nothing.

Declaration
public virtual void EnterNode_stmt(DOTParser.Node_stmtContext context)
Parameters
Type Name Description
DOTParser.Node_stmtContext context

The parse tree.

| Improve this Doc View Source

EnterPort(DOTParser.PortContext)

Enter a parse tree produced by port().

The default implementation does nothing.

Declaration
public virtual void EnterPort(DOTParser.PortContext context)
Parameters
Type Name Description
DOTParser.PortContext context

The parse tree.

| Improve this Doc View Source

EnterStmt(DOTParser.StmtContext)

Enter a parse tree produced by stmt().

The default implementation does nothing.

Declaration
public virtual void EnterStmt(DOTParser.StmtContext context)
Parameters
Type Name Description
DOTParser.StmtContext context

The parse tree.

| Improve this Doc View Source

EnterStmt_list(DOTParser.Stmt_listContext)

Enter a parse tree produced by stmt_list().

The default implementation does nothing.

Declaration
public virtual void EnterStmt_list(DOTParser.Stmt_listContext context)
Parameters
Type Name Description
DOTParser.Stmt_listContext context

The parse tree.

| Improve this Doc View Source

EnterSubgraph(DOTParser.SubgraphContext)

Enter a parse tree produced by subgraph().

The default implementation does nothing.

Declaration
public virtual void EnterSubgraph(DOTParser.SubgraphContext context)
Parameters
Type Name Description
DOTParser.SubgraphContext context

The parse tree.

| Improve this Doc View Source

ExitA_list(DOTParser.A_listContext)

Exit a parse tree produced by a_list().

The default implementation does nothing.

Declaration
public virtual void ExitA_list(DOTParser.A_listContext context)
Parameters
Type Name Description
DOTParser.A_listContext context

The parse tree.

| Improve this Doc View Source

ExitAttr_list(DOTParser.Attr_listContext)

Exit a parse tree produced by attr_list().

The default implementation does nothing.

Declaration
public virtual void ExitAttr_list(DOTParser.Attr_listContext context)
Parameters
Type Name Description
DOTParser.Attr_listContext context

The parse tree.

| Improve this Doc View Source

ExitAttr_stmt(DOTParser.Attr_stmtContext)

Exit a parse tree produced by attr_stmt().

The default implementation does nothing.

Declaration
public virtual void ExitAttr_stmt(DOTParser.Attr_stmtContext context)
Parameters
Type Name Description
DOTParser.Attr_stmtContext context

The parse tree.

| Improve this Doc View Source

ExitEdge_stmt(DOTParser.Edge_stmtContext)

Exit a parse tree produced by edge_stmt().

The default implementation does nothing.

Declaration
public virtual void ExitEdge_stmt(DOTParser.Edge_stmtContext context)
Parameters
Type Name Description
DOTParser.Edge_stmtContext context

The parse tree.

| Improve this Doc View Source

ExitEdgeop(DOTParser.EdgeopContext)

Exit a parse tree produced by edgeop().

The default implementation does nothing.

Declaration
public virtual void ExitEdgeop(DOTParser.EdgeopContext context)
Parameters
Type Name Description
DOTParser.EdgeopContext context

The parse tree.

| Improve this Doc View Source

ExitEdgeRHS(DOTParser.EdgeRHSContext)

Exit a parse tree produced by edgeRHS().

The default implementation does nothing.

Declaration
public virtual void ExitEdgeRHS(DOTParser.EdgeRHSContext context)
Parameters
Type Name Description
DOTParser.EdgeRHSContext 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

ExitGraph(DOTParser.GraphContext)

Exit a parse tree produced by graph().

The default implementation does nothing.

Declaration
public virtual void ExitGraph(DOTParser.GraphContext context)
Parameters
Type Name Description
DOTParser.GraphContext context

The parse tree.

| Improve this Doc View Source

ExitId_(DOTParser.Id_Context)

Exit a parse tree produced by id_().

The default implementation does nothing.

Declaration
public virtual void ExitId_(DOTParser.Id_Context context)
Parameters
Type Name Description
DOTParser.Id_Context context

The parse tree.

| Improve this Doc View Source

ExitNode_id(DOTParser.Node_idContext)

Exit a parse tree produced by node_id().

The default implementation does nothing.

Declaration
public virtual void ExitNode_id(DOTParser.Node_idContext context)
Parameters
Type Name Description
DOTParser.Node_idContext context

The parse tree.

| Improve this Doc View Source

ExitNode_stmt(DOTParser.Node_stmtContext)

Exit a parse tree produced by node_stmt().

The default implementation does nothing.

Declaration
public virtual void ExitNode_stmt(DOTParser.Node_stmtContext context)
Parameters
Type Name Description
DOTParser.Node_stmtContext context

The parse tree.

| Improve this Doc View Source

ExitPort(DOTParser.PortContext)

Exit a parse tree produced by port().

The default implementation does nothing.

Declaration
public virtual void ExitPort(DOTParser.PortContext context)
Parameters
Type Name Description
DOTParser.PortContext context

The parse tree.

| Improve this Doc View Source

ExitStmt(DOTParser.StmtContext)

Exit a parse tree produced by stmt().

The default implementation does nothing.

Declaration
public virtual void ExitStmt(DOTParser.StmtContext context)
Parameters
Type Name Description
DOTParser.StmtContext context

The parse tree.

| Improve this Doc View Source

ExitStmt_list(DOTParser.Stmt_listContext)

Exit a parse tree produced by stmt_list().

The default implementation does nothing.

Declaration
public virtual void ExitStmt_list(DOTParser.Stmt_listContext context)
Parameters
Type Name Description
DOTParser.Stmt_listContext context

The parse tree.

| Improve this Doc View Source

ExitSubgraph(DOTParser.SubgraphContext)

Exit a parse tree produced by subgraph().

The default implementation does nothing.

Declaration
public virtual void ExitSubgraph(DOTParser.SubgraphContext context)
Parameters
Type Name Description
DOTParser.SubgraphContext 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

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