public class DOTBaseListener extends java.lang.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)
enterGraph
in interface DOTListener
ctx
- the parse treepublic void exitGraph(DOTParser.GraphContext ctx)
exitGraph
in interface DOTListener
ctx
- the parse treepublic void enterStmt_list(DOTParser.Stmt_listContext ctx)
enterStmt_list
in interface DOTListener
ctx
- the parse treepublic void exitStmt_list(DOTParser.Stmt_listContext ctx)
exitStmt_list
in interface DOTListener
ctx
- the parse treepublic void enterStmt(DOTParser.StmtContext ctx)
enterStmt
in interface DOTListener
ctx
- the parse treepublic void exitStmt(DOTParser.StmtContext ctx)
exitStmt
in interface DOTListener
ctx
- the parse treepublic void enterAttr_stmt(DOTParser.Attr_stmtContext ctx)
enterAttr_stmt
in interface DOTListener
ctx
- the parse treepublic void exitAttr_stmt(DOTParser.Attr_stmtContext ctx)
exitAttr_stmt
in interface DOTListener
ctx
- the parse treepublic void enterAttr_list(DOTParser.Attr_listContext ctx)
enterAttr_list
in interface DOTListener
ctx
- the parse treepublic void exitAttr_list(DOTParser.Attr_listContext ctx)
exitAttr_list
in interface DOTListener
ctx
- the parse treepublic void enterA_list(DOTParser.A_listContext ctx)
enterA_list
in interface DOTListener
ctx
- the parse treepublic void exitA_list(DOTParser.A_listContext ctx)
exitA_list
in interface DOTListener
ctx
- the parse treepublic void enterEdge_stmt(DOTParser.Edge_stmtContext ctx)
enterEdge_stmt
in interface DOTListener
ctx
- the parse treepublic void exitEdge_stmt(DOTParser.Edge_stmtContext ctx)
exitEdge_stmt
in interface DOTListener
ctx
- the parse treepublic void enterEdgeRHS(DOTParser.EdgeRHSContext ctx)
enterEdgeRHS
in interface DOTListener
ctx
- the parse treepublic void exitEdgeRHS(DOTParser.EdgeRHSContext ctx)
exitEdgeRHS
in interface DOTListener
ctx
- the parse treepublic void enterEdgeop(DOTParser.EdgeopContext ctx)
enterEdgeop
in interface DOTListener
ctx
- the parse treepublic void exitEdgeop(DOTParser.EdgeopContext ctx)
exitEdgeop
in interface DOTListener
ctx
- the parse treepublic void enterNode_stmt(DOTParser.Node_stmtContext ctx)
enterNode_stmt
in interface DOTListener
ctx
- the parse treepublic void exitNode_stmt(DOTParser.Node_stmtContext ctx)
exitNode_stmt
in interface DOTListener
ctx
- the parse treepublic void enterNode_id(DOTParser.Node_idContext ctx)
enterNode_id
in interface DOTListener
ctx
- the parse treepublic void exitNode_id(DOTParser.Node_idContext ctx)
exitNode_id
in interface DOTListener
ctx
- the parse treepublic void enterPort(DOTParser.PortContext ctx)
enterPort
in interface DOTListener
ctx
- the parse treepublic void exitPort(DOTParser.PortContext ctx)
exitPort
in interface DOTListener
ctx
- the parse treepublic void enterSubgraph(DOTParser.SubgraphContext ctx)
enterSubgraph
in interface DOTListener
ctx
- the parse treepublic void exitSubgraph(DOTParser.SubgraphContext ctx)
exitSubgraph
in interface DOTListener
ctx
- the parse treepublic void enterId(DOTParser.IdContext ctx)
enterId
in interface DOTListener
ctx
- the parse treepublic void exitId(DOTParser.IdContext ctx)
exitId
in interface DOTListener
ctx
- the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener