- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,DOTListener
- Direct Known Subclasses:
DOTEventDrivenImporter.NotifyDOTListener
DOTListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced byDOTParser.aList()
.void
Enter a parse tree produced byDOTParser.attributesList()
.void
Enter a parse tree produced byDOTParser.attributeStatement()
.void
Enter a parse tree produced byDOTParser.compoundStatement()
.void
Enter a parse tree produced byDOTParser.edgeStatement()
.void
enterEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Enter a parse tree produced byDOTParser.graph()
.void
Enter a parse tree produced byDOTParser.graphHeader()
.void
Enter a parse tree produced byDOTParser.graphIdentifier()
.void
Enter a parse tree produced byDOTParser.identifier()
.void
Enter a parse tree produced byDOTParser.identifierPair()
.void
Enter a parse tree produced byDOTParser.identifierPairStatement()
.void
Enter a parse tree produced byDOTParser.nodeIdentifier()
.void
Enter a parse tree produced byDOTParser.nodeStatement()
.void
Enter a parse tree produced byDOTParser.nodeStatementNoAttributes()
.void
Enter a parse tree produced byDOTParser.port()
.void
Enter a parse tree produced byDOTParser.statement()
.void
Enter a parse tree produced byDOTParser.subgraphStatement()
.void
Exit a parse tree produced byDOTParser.aList()
.void
Exit a parse tree produced byDOTParser.attributesList()
.void
Exit a parse tree produced byDOTParser.attributeStatement()
.void
Exit a parse tree produced byDOTParser.compoundStatement()
.void
Exit a parse tree produced byDOTParser.edgeStatement()
.void
exitEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Exit a parse tree produced byDOTParser.graph()
.void
Exit a parse tree produced byDOTParser.graphHeader()
.void
Exit a parse tree produced byDOTParser.graphIdentifier()
.void
Exit a parse tree produced byDOTParser.identifier()
.void
Exit a parse tree produced byDOTParser.identifierPair()
.void
Exit a parse tree produced byDOTParser.identifierPairStatement()
.void
Exit a parse tree produced byDOTParser.nodeIdentifier()
.void
Exit a parse tree produced byDOTParser.nodeStatement()
.void
Exit a parse tree produced byDOTParser.nodeStatementNoAttributes()
.void
Exit a parse tree produced byDOTParser.port()
.void
Exit a parse tree produced byDOTParser.statement()
.void
Exit a parse tree produced byDOTParser.subgraphStatement()
.void
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode node) void
visitTerminal
(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
DOTBaseListener
DOTBaseListener()
-
-
Method Details
-
enterGraph
Enter a parse tree produced byDOTParser.graph()
.The default implementation does nothing.
- Specified by:
enterGraph
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitGraph
Exit a parse tree produced byDOTParser.graph()
.The default implementation does nothing.
- Specified by:
exitGraph
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterCompoundStatement
Enter a parse tree produced byDOTParser.compoundStatement()
.The default implementation does nothing.
- Specified by:
enterCompoundStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitCompoundStatement
Exit a parse tree produced byDOTParser.compoundStatement()
.The default implementation does nothing.
- Specified by:
exitCompoundStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterGraphHeader
Enter a parse tree produced byDOTParser.graphHeader()
.The default implementation does nothing.
- Specified by:
enterGraphHeader
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitGraphHeader
Exit a parse tree produced byDOTParser.graphHeader()
.The default implementation does nothing.
- Specified by:
exitGraphHeader
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterGraphIdentifier
Enter a parse tree produced byDOTParser.graphIdentifier()
.The default implementation does nothing.
- Specified by:
enterGraphIdentifier
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitGraphIdentifier
Exit a parse tree produced byDOTParser.graphIdentifier()
.The default implementation does nothing.
- Specified by:
exitGraphIdentifier
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterStatement
Enter a parse tree produced byDOTParser.statement()
.The default implementation does nothing.
- Specified by:
enterStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitStatement
Exit a parse tree produced byDOTParser.statement()
.The default implementation does nothing.
- Specified by:
exitStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterIdentifierPairStatement
Enter a parse tree produced byDOTParser.identifierPairStatement()
.The default implementation does nothing.
- Specified by:
enterIdentifierPairStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitIdentifierPairStatement
Exit a parse tree produced byDOTParser.identifierPairStatement()
.The default implementation does nothing.
- Specified by:
exitIdentifierPairStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterAttributeStatement
Enter a parse tree produced byDOTParser.attributeStatement()
.The default implementation does nothing.
- Specified by:
enterAttributeStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitAttributeStatement
Exit a parse tree produced byDOTParser.attributeStatement()
.The default implementation does nothing.
- Specified by:
exitAttributeStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterAttributesList
Enter a parse tree produced byDOTParser.attributesList()
.The default implementation does nothing.
- Specified by:
enterAttributesList
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitAttributesList
Exit a parse tree produced byDOTParser.attributesList()
.The default implementation does nothing.
- Specified by:
exitAttributesList
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterAList
Enter a parse tree produced byDOTParser.aList()
.The default implementation does nothing.
- Specified by:
enterAList
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitAList
Exit a parse tree produced byDOTParser.aList()
.The default implementation does nothing.
- Specified by:
exitAList
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterEdgeStatement
Enter a parse tree produced byDOTParser.edgeStatement()
.The default implementation does nothing.
- Specified by:
enterEdgeStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitEdgeStatement
Exit a parse tree produced byDOTParser.edgeStatement()
.The default implementation does nothing.
- Specified by:
exitEdgeStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterNodeStatement
Enter a parse tree produced byDOTParser.nodeStatement()
.The default implementation does nothing.
- Specified by:
enterNodeStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitNodeStatement
Exit a parse tree produced byDOTParser.nodeStatement()
.The default implementation does nothing.
- Specified by:
exitNodeStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterNodeStatementNoAttributes
Enter a parse tree produced byDOTParser.nodeStatementNoAttributes()
.The default implementation does nothing.
- Specified by:
enterNodeStatementNoAttributes
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitNodeStatementNoAttributes
Exit a parse tree produced byDOTParser.nodeStatementNoAttributes()
.The default implementation does nothing.
- Specified by:
exitNodeStatementNoAttributes
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterNodeIdentifier
Enter a parse tree produced byDOTParser.nodeIdentifier()
.The default implementation does nothing.
- Specified by:
enterNodeIdentifier
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitNodeIdentifier
Exit a parse tree produced byDOTParser.nodeIdentifier()
.The default implementation does nothing.
- Specified by:
exitNodeIdentifier
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterPort
Enter a parse tree produced byDOTParser.port()
.The default implementation does nothing.
- Specified by:
enterPort
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitPort
Exit a parse tree produced byDOTParser.port()
.The default implementation does nothing.
- Specified by:
exitPort
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterSubgraphStatement
Enter a parse tree produced byDOTParser.subgraphStatement()
.The default implementation does nothing.
- Specified by:
enterSubgraphStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitSubgraphStatement
Exit a parse tree produced byDOTParser.subgraphStatement()
.The default implementation does nothing.
- Specified by:
exitSubgraphStatement
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterIdentifierPair
Enter a parse tree produced byDOTParser.identifierPair()
.The default implementation does nothing.
- Specified by:
enterIdentifierPair
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitIdentifierPair
Exit a parse tree produced byDOTParser.identifierPair()
.The default implementation does nothing.
- Specified by:
exitIdentifierPair
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterIdentifier
Enter a parse tree produced byDOTParser.identifier()
.The default implementation does nothing.
- Specified by:
enterIdentifier
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
exitIdentifier
Exit a parse tree produced byDOTParser.identifier()
.The default implementation does nothing.
- Specified by:
exitIdentifier
in interfaceDOTListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-