public class DOTBaseListener extends Object implements DOTListener
DOTListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.Constructor and Description |
---|
DOTBaseListener() |
Modifier and Type | Method and Description |
---|---|
void |
enterA_list(DOTParser.A_listContext ctx)
Enter a parse tree produced by
DOTParser.a_list() . |
void |
enterAssignment(DOTParser.AssignmentContext ctx)
Enter a parse tree produced by
DOTParser#assignment . |
void |
enterAttr_list(DOTParser.Attr_listContext ctx)
Enter a parse tree produced by
DOTParser.attr_list() . |
void |
enterAttr_stmt(DOTParser.Attr_stmtContext ctx)
Enter a parse tree produced by
DOTParser.attr_stmt() . |
void |
enterAttributStatement(DOTParser.AttributStatementContext ctx)
Enter a parse tree produced by
DOTParser#attributStatement . |
void |
enterEdge_stmt(DOTParser.Edge_stmtContext ctx)
Enter a parse tree produced by
DOTParser.edge_stmt() . |
void |
enterEdgeop(DOTParser.EdgeopContext ctx)
Enter a parse tree produced by
DOTParser.edgeop() . |
void |
enterEdgeRHS(DOTParser.EdgeRHSContext ctx)
Enter a parse tree produced by
DOTParser.edgeRHS() . |
void |
enterEdgeStatement(DOTParser.EdgeStatementContext ctx)
Enter a parse tree produced by
DOTParser#edgeStatement . |
void |
enterEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
|
void |
enterGraph(DOTParser.GraphContext ctx)
Enter a parse tree produced by
DOTParser.graph() . |
void |
enterId(DOTParser.IdContext ctx)
Enter a parse tree produced by
DOTParser.id() . |
void |
enterNode_id(DOTParser.Node_idContext ctx)
Enter a parse tree produced by
DOTParser.node_id() . |
void |
enterNode_stmt(DOTParser.Node_stmtContext ctx)
Enter a parse tree produced by
DOTParser.node_stmt() . |
void |
enterNodeStatement(DOTParser.NodeStatementContext ctx)
Enter a parse tree produced by
DOTParser#nodeStatement . |
void |
enterPort(DOTParser.PortContext ctx)
Enter a parse tree produced by
DOTParser.port() . |
void |
enterStmt_list(DOTParser.Stmt_listContext ctx)
Enter a parse tree produced by
DOTParser.stmt_list() . |
void |
enterSubgraph(DOTParser.SubgraphContext ctx)
Enter a parse tree produced by
DOTParser.subgraph() . |
void |
enterSubgraphStatement(DOTParser.SubgraphStatementContext ctx)
Enter a parse tree produced by
DOTParser#subgraphStatement . |
void |
exitA_list(DOTParser.A_listContext ctx)
Exit a parse tree produced by
DOTParser.a_list() . |
void |
exitAssignment(DOTParser.AssignmentContext ctx)
Exit a parse tree produced by
DOTParser#assignment . |
void |
exitAttr_list(DOTParser.Attr_listContext ctx)
Exit a parse tree produced by
DOTParser.attr_list() . |
void |
exitAttr_stmt(DOTParser.Attr_stmtContext ctx)
Exit a parse tree produced by
DOTParser.attr_stmt() . |
void |
exitAttributStatement(DOTParser.AttributStatementContext ctx)
Exit a parse tree produced by
DOTParser#attributStatement . |
void |
exitEdge_stmt(DOTParser.Edge_stmtContext ctx)
Exit a parse tree produced by
DOTParser.edge_stmt() . |
void |
exitEdgeop(DOTParser.EdgeopContext ctx)
Exit a parse tree produced by
DOTParser.edgeop() . |
void |
exitEdgeRHS(DOTParser.EdgeRHSContext ctx)
Exit a parse tree produced by
DOTParser.edgeRHS() . |
void |
exitEdgeStatement(DOTParser.EdgeStatementContext ctx)
Exit a parse tree produced by
DOTParser#edgeStatement . |
void |
exitEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
|
void |
exitGraph(DOTParser.GraphContext ctx)
Exit a parse tree produced by
DOTParser.graph() . |
void |
exitId(DOTParser.IdContext ctx)
Exit a parse tree produced by
DOTParser.id() . |
void |
exitNode_id(DOTParser.Node_idContext ctx)
Exit a parse tree produced by
DOTParser.node_id() . |
void |
exitNode_stmt(DOTParser.Node_stmtContext ctx)
Exit a parse tree produced by
DOTParser.node_stmt() . |
void |
exitNodeStatement(DOTParser.NodeStatementContext ctx)
Exit a parse tree produced by
DOTParser#nodeStatement . |
void |
exitPort(DOTParser.PortContext ctx)
Exit a parse tree produced by
DOTParser.port() . |
void |
exitStmt_list(DOTParser.Stmt_listContext ctx)
Exit a parse tree produced by
DOTParser.stmt_list() . |
void |
exitSubgraph(DOTParser.SubgraphContext ctx)
Exit a parse tree produced by
DOTParser.subgraph() . |
void |
exitSubgraphStatement(DOTParser.SubgraphStatementContext ctx)
Exit a parse tree produced by
DOTParser#subgraphStatement . |
void |
visitErrorNode(ErrorNode node)
The default implementation does nothing.
|
void |
visitTerminal(TerminalNode node)
The default implementation does nothing.
|
public void enterPort(@NotNull DOTParser.PortContext ctx)
DOTParser.port()
.
The default implementation does nothing.enterPort
in interface DOTListener
ctx
- the parse treepublic void exitPort(@NotNull DOTParser.PortContext ctx)
DOTParser.port()
.
The default implementation does nothing.exitPort
in interface DOTListener
ctx
- the parse treepublic void enterAttr_stmt(@NotNull DOTParser.Attr_stmtContext ctx)
DOTParser.attr_stmt()
.
The default implementation does nothing.enterAttr_stmt
in interface DOTListener
ctx
- the parse treepublic void exitAttr_stmt(@NotNull DOTParser.Attr_stmtContext ctx)
DOTParser.attr_stmt()
.
The default implementation does nothing.exitAttr_stmt
in interface DOTListener
ctx
- the parse treepublic void enterEdgeop(@NotNull DOTParser.EdgeopContext ctx)
DOTParser.edgeop()
.
The default implementation does nothing.enterEdgeop
in interface DOTListener
ctx
- the parse treepublic void exitEdgeop(@NotNull DOTParser.EdgeopContext ctx)
DOTParser.edgeop()
.
The default implementation does nothing.exitEdgeop
in interface DOTListener
ctx
- the parse treepublic void enterStmt_list(@NotNull DOTParser.Stmt_listContext ctx)
DOTParser.stmt_list()
.
The default implementation does nothing.enterStmt_list
in interface DOTListener
ctx
- the parse treepublic void exitStmt_list(@NotNull DOTParser.Stmt_listContext ctx)
DOTParser.stmt_list()
.
The default implementation does nothing.exitStmt_list
in interface DOTListener
ctx
- the parse treepublic void enterEdgeRHS(@NotNull DOTParser.EdgeRHSContext ctx)
DOTParser.edgeRHS()
.
The default implementation does nothing.enterEdgeRHS
in interface DOTListener
ctx
- the parse treepublic void exitEdgeRHS(@NotNull DOTParser.EdgeRHSContext ctx)
DOTParser.edgeRHS()
.
The default implementation does nothing.exitEdgeRHS
in interface DOTListener
ctx
- the parse treepublic void enterNode_id(@NotNull DOTParser.Node_idContext ctx)
DOTParser.node_id()
.
The default implementation does nothing.enterNode_id
in interface DOTListener
ctx
- the parse treepublic void exitNode_id(@NotNull DOTParser.Node_idContext ctx)
DOTParser.node_id()
.
The default implementation does nothing.exitNode_id
in interface DOTListener
ctx
- the parse treepublic void enterId(@NotNull DOTParser.IdContext ctx)
DOTParser.id()
.
The default implementation does nothing.enterId
in interface DOTListener
ctx
- the parse treepublic void exitId(@NotNull DOTParser.IdContext ctx)
DOTParser.id()
.
The default implementation does nothing.exitId
in interface DOTListener
ctx
- the parse treepublic void enterSubgraph(@NotNull DOTParser.SubgraphContext ctx)
DOTParser.subgraph()
.
The default implementation does nothing.enterSubgraph
in interface DOTListener
ctx
- the parse treepublic void exitSubgraph(@NotNull DOTParser.SubgraphContext ctx)
DOTParser.subgraph()
.
The default implementation does nothing.exitSubgraph
in interface DOTListener
ctx
- the parse treepublic void enterAssignment(@NotNull DOTParser.AssignmentContext ctx)
DOTParser#assignment
.
The default implementation does nothing.enterAssignment
in interface DOTListener
ctx
- the parse treepublic void exitAssignment(@NotNull DOTParser.AssignmentContext ctx)
DOTParser#assignment
.
The default implementation does nothing.exitAssignment
in interface DOTListener
ctx
- the parse treepublic void enterGraph(@NotNull DOTParser.GraphContext ctx)
DOTParser.graph()
.
The default implementation does nothing.enterGraph
in interface DOTListener
ctx
- the parse treepublic void exitGraph(@NotNull DOTParser.GraphContext ctx)
DOTParser.graph()
.
The default implementation does nothing.exitGraph
in interface DOTListener
ctx
- the parse treepublic void enterA_list(@NotNull DOTParser.A_listContext ctx)
DOTParser.a_list()
.
The default implementation does nothing.enterA_list
in interface DOTListener
ctx
- the parse treepublic void exitA_list(@NotNull DOTParser.A_listContext ctx)
DOTParser.a_list()
.
The default implementation does nothing.exitA_list
in interface DOTListener
ctx
- the parse treepublic void enterAttr_list(@NotNull DOTParser.Attr_listContext ctx)
DOTParser.attr_list()
.
The default implementation does nothing.enterAttr_list
in interface DOTListener
ctx
- the parse treepublic void exitAttr_list(@NotNull DOTParser.Attr_listContext ctx)
DOTParser.attr_list()
.
The default implementation does nothing.exitAttr_list
in interface DOTListener
ctx
- the parse treepublic void enterNodeStatement(@NotNull DOTParser.NodeStatementContext ctx)
DOTParser#nodeStatement
.
The default implementation does nothing.enterNodeStatement
in interface DOTListener
ctx
- the parse treepublic void exitNodeStatement(@NotNull DOTParser.NodeStatementContext ctx)
DOTParser#nodeStatement
.
The default implementation does nothing.exitNodeStatement
in interface DOTListener
ctx
- the parse treepublic void enterEdge_stmt(@NotNull DOTParser.Edge_stmtContext ctx)
DOTParser.edge_stmt()
.
The default implementation does nothing.enterEdge_stmt
in interface DOTListener
ctx
- the parse treepublic void exitEdge_stmt(@NotNull DOTParser.Edge_stmtContext ctx)
DOTParser.edge_stmt()
.
The default implementation does nothing.exitEdge_stmt
in interface DOTListener
ctx
- the parse treepublic void enterNode_stmt(@NotNull DOTParser.Node_stmtContext ctx)
DOTParser.node_stmt()
.
The default implementation does nothing.enterNode_stmt
in interface DOTListener
ctx
- the parse treepublic void exitNode_stmt(@NotNull DOTParser.Node_stmtContext ctx)
DOTParser.node_stmt()
.
The default implementation does nothing.exitNode_stmt
in interface DOTListener
ctx
- the parse treepublic void enterEdgeStatement(@NotNull DOTParser.EdgeStatementContext ctx)
DOTParser#edgeStatement
.
The default implementation does nothing.enterEdgeStatement
in interface DOTListener
ctx
- the parse treepublic void exitEdgeStatement(@NotNull DOTParser.EdgeStatementContext ctx)
DOTParser#edgeStatement
.
The default implementation does nothing.exitEdgeStatement
in interface DOTListener
ctx
- the parse treepublic void enterAttributStatement(@NotNull DOTParser.AttributStatementContext ctx)
DOTParser#attributStatement
.
The default implementation does nothing.enterAttributStatement
in interface DOTListener
ctx
- the parse treepublic void exitAttributStatement(@NotNull DOTParser.AttributStatementContext ctx)
DOTParser#attributStatement
.
The default implementation does nothing.exitAttributStatement
in interface DOTListener
ctx
- the parse treepublic void enterSubgraphStatement(@NotNull DOTParser.SubgraphStatementContext ctx)
DOTParser#subgraphStatement
.
The default implementation does nothing.enterSubgraphStatement
in interface DOTListener
ctx
- the parse treepublic void exitSubgraphStatement(@NotNull DOTParser.SubgraphStatementContext ctx)
DOTParser#subgraphStatement
.
The default implementation does nothing.exitSubgraphStatement
in interface DOTListener
ctx
- the parse treepublic void enterEveryRule(@NotNull ParserRuleContext ctx)
enterEveryRule
in interface ParseTreeListener
public void exitEveryRule(@NotNull ParserRuleContext ctx)
exitEveryRule
in interface ParseTreeListener
public void visitTerminal(@NotNull TerminalNode node)
visitTerminal
in interface ParseTreeListener
public void visitErrorNode(@NotNull ErrorNode node)
visitErrorNode
in interface ParseTreeListener