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() |
public void enterGraph(DotParser.GraphContext ctx)
DotParser.graph()
.
The default implementation does nothing.
enterGraph
in interface DotListener
ctx
- the parse treepublic void exitGraph(DotParser.GraphContext ctx)
DotParser.graph()
.
The default implementation does nothing.
exitGraph
in interface DotListener
ctx
- the parse treepublic void enterStmt_list(DotParser.Stmt_listContext ctx)
DotParser.stmt_list()
.
The default implementation does nothing.
enterStmt_list
in interface DotListener
ctx
- the parse treepublic void exitStmt_list(DotParser.Stmt_listContext ctx)
DotParser.stmt_list()
.
The default implementation does nothing.
exitStmt_list
in interface DotListener
ctx
- the parse treepublic void enterStmt(DotParser.StmtContext ctx)
DotParser.stmt()
.
The default implementation does nothing.
enterStmt
in interface DotListener
ctx
- the parse treepublic void exitStmt(DotParser.StmtContext ctx)
DotParser.stmt()
.
The default implementation does nothing.
exitStmt
in interface DotListener
ctx
- the parse treepublic void enterAttr_stmt(DotParser.Attr_stmtContext ctx)
DotParser.attr_stmt()
.
The default implementation does nothing.
enterAttr_stmt
in interface DotListener
ctx
- the parse treepublic void exitAttr_stmt(DotParser.Attr_stmtContext ctx)
DotParser.attr_stmt()
.
The default implementation does nothing.
exitAttr_stmt
in interface DotListener
ctx
- the parse treepublic void enterAttr_list(DotParser.Attr_listContext ctx)
DotParser.attr_list()
.
The default implementation does nothing.
enterAttr_list
in interface DotListener
ctx
- the parse treepublic void exitAttr_list(DotParser.Attr_listContext ctx)
DotParser.attr_list()
.
The default implementation does nothing.
exitAttr_list
in interface DotListener
ctx
- the parse treepublic void enterA_list(DotParser.A_listContext ctx)
DotParser.a_list()
.
The default implementation does nothing.
enterA_list
in interface DotListener
ctx
- the parse treepublic void exitA_list(DotParser.A_listContext ctx)
DotParser.a_list()
.
The default implementation does nothing.
exitA_list
in interface DotListener
ctx
- the parse treepublic void enterKey_value(DotParser.Key_valueContext ctx)
DotParser.key_value()
.
The default implementation does nothing.
enterKey_value
in interface DotListener
ctx
- the parse treepublic void exitKey_value(DotParser.Key_valueContext ctx)
DotParser.key_value()
.
The default implementation does nothing.
exitKey_value
in interface DotListener
ctx
- the parse treepublic void enterEdge_stmt(DotParser.Edge_stmtContext ctx)
DotParser.edge_stmt()
.
The default implementation does nothing.
enterEdge_stmt
in interface DotListener
ctx
- the parse treepublic void exitEdge_stmt(DotParser.Edge_stmtContext ctx)
DotParser.edge_stmt()
.
The default implementation does nothing.
exitEdge_stmt
in interface DotListener
ctx
- the parse treepublic void enterEdgeRHS(DotParser.EdgeRHSContext ctx)
DotParser.edgeRHS()
.
The default implementation does nothing.
enterEdgeRHS
in interface DotListener
ctx
- the parse treepublic void exitEdgeRHS(DotParser.EdgeRHSContext ctx)
DotParser.edgeRHS()
.
The default implementation does nothing.
exitEdgeRHS
in interface DotListener
ctx
- the parse treepublic void enterNode_set(DotParser.Node_setContext ctx)
DotParser.node_set()
.
The default implementation does nothing.
enterNode_set
in interface DotListener
ctx
- the parse treepublic void exitNode_set(DotParser.Node_setContext ctx)
DotParser.node_set()
.
The default implementation does nothing.
exitNode_set
in interface DotListener
ctx
- the parse treepublic void enterEdgeop(DotParser.EdgeopContext ctx)
DotParser.edgeop()
.
The default implementation does nothing.
enterEdgeop
in interface DotListener
ctx
- the parse treepublic void exitEdgeop(DotParser.EdgeopContext ctx)
DotParser.edgeop()
.
The default implementation does nothing.
exitEdgeop
in interface DotListener
ctx
- the parse treepublic void enterNode_stmt(DotParser.Node_stmtContext ctx)
DotParser.node_stmt()
.
The default implementation does nothing.
enterNode_stmt
in interface DotListener
ctx
- the parse treepublic void exitNode_stmt(DotParser.Node_stmtContext ctx)
DotParser.node_stmt()
.
The default implementation does nothing.
exitNode_stmt
in interface DotListener
ctx
- the parse treepublic void enterNode_id(DotParser.Node_idContext ctx)
DotParser.node_id()
.
The default implementation does nothing.
enterNode_id
in interface DotListener
ctx
- the parse treepublic void exitNode_id(DotParser.Node_idContext ctx)
DotParser.node_id()
.
The default implementation does nothing.
exitNode_id
in interface DotListener
ctx
- the parse treepublic void enterPort(DotParser.PortContext ctx)
DotParser.port()
.
The default implementation does nothing.
enterPort
in interface DotListener
ctx
- the parse treepublic void exitPort(DotParser.PortContext ctx)
DotParser.port()
.
The default implementation does nothing.
exitPort
in interface DotListener
ctx
- the parse treepublic void enterSubgraph(DotParser.SubgraphContext ctx)
DotParser.subgraph()
.
The default implementation does nothing.
enterSubgraph
in interface DotListener
ctx
- the parse treepublic void exitSubgraph(DotParser.SubgraphContext ctx)
DotParser.subgraph()
.
The default implementation does nothing.
exitSubgraph
in interface DotListener
ctx
- the parse treepublic void enterId(DotParser.IdContext ctx)
DotParser.id()
.
The default implementation does nothing.
enterId
in interface DotListener
ctx
- the parse treepublic void exitId(DotParser.IdContext ctx)
DotParser.id()
.
The default implementation does nothing.
exitId
in interface DotListener
ctx
- the parse treepublic void enterEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface ParseTreeListener
public void exitEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface ParseTreeListener
public void visitTerminal(TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface ParseTreeListener
public void visitErrorNode(ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface ParseTreeListener