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
Namespace: GCore.Antlr.Grammers.Dot
Assembly: Dot.dll
Syntax
public class DOTBaseListener : object, IDOTListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterA_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. |
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. |
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. |
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. |
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. |
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. |
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.
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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.
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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.