- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,DOTListener
- Enclosing class:
DOTEventDrivenImporter
-
Field Summary
Fields -
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.edgeStatement()
.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.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.edgeStatement()
.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.subgraphStatement()
.Methods inherited from class org.jgrapht.nio.dot.DOTBaseListener
enterCompoundStatement, enterEveryRule, enterPort, enterStatement, exitCompoundStatement, exitEveryRule, exitPort, exitStatement, visitErrorNode, visitTerminal
-
Field Details
-
vertices
-
subgraphScopes
-
stack
-
-
Constructor Details
-
NotifyDOTListener
public NotifyDOTListener()
-
-
Method Details
-
enterGraph
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.graph()
.The default implementation does nothing.
- Specified by:
enterGraph
in interfaceDOTListener
- Overrides:
enterGraph
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitGraph
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.graph()
.The default implementation does nothing.
- Specified by:
exitGraph
in interfaceDOTListener
- Overrides:
exitGraph
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterGraphHeader
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.graphHeader()
.The default implementation does nothing.
- Specified by:
enterGraphHeader
in interfaceDOTListener
- Overrides:
enterGraphHeader
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitGraphHeader
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.graphHeader()
.The default implementation does nothing.
- Specified by:
exitGraphHeader
in interfaceDOTListener
- Overrides:
exitGraphHeader
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterGraphIdentifier
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.graphIdentifier()
.The default implementation does nothing.
- Specified by:
enterGraphIdentifier
in interfaceDOTListener
- Overrides:
enterGraphIdentifier
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitGraphIdentifier
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.graphIdentifier()
.The default implementation does nothing.
- Specified by:
exitGraphIdentifier
in interfaceDOTListener
- Overrides:
exitGraphIdentifier
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterAttributeStatement
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.attributeStatement()
.The default implementation does nothing.
- Specified by:
enterAttributeStatement
in interfaceDOTListener
- Overrides:
enterAttributeStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitAttributeStatement
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.attributeStatement()
.The default implementation does nothing.
- Specified by:
exitAttributeStatement
in interfaceDOTListener
- Overrides:
exitAttributeStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterAttributesList
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.attributesList()
.The default implementation does nothing.
- Specified by:
enterAttributesList
in interfaceDOTListener
- Overrides:
enterAttributesList
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitAttributesList
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.attributesList()
.The default implementation does nothing.
- Specified by:
exitAttributesList
in interfaceDOTListener
- Overrides:
exitAttributesList
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterAList
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.aList()
.The default implementation does nothing.
- Specified by:
enterAList
in interfaceDOTListener
- Overrides:
enterAList
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitAList
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.aList()
.The default implementation does nothing.
- Specified by:
exitAList
in interfaceDOTListener
- Overrides:
exitAList
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterEdgeStatement
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.edgeStatement()
.The default implementation does nothing.
- Specified by:
enterEdgeStatement
in interfaceDOTListener
- Overrides:
enterEdgeStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitEdgeStatement
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.edgeStatement()
.The default implementation does nothing.
- Specified by:
exitEdgeStatement
in interfaceDOTListener
- Overrides:
exitEdgeStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterIdentifierPairStatement
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.identifierPairStatement()
.The default implementation does nothing.
- Specified by:
enterIdentifierPairStatement
in interfaceDOTListener
- Overrides:
enterIdentifierPairStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitIdentifierPairStatement
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.identifierPairStatement()
.The default implementation does nothing.
- Specified by:
exitIdentifierPairStatement
in interfaceDOTListener
- Overrides:
exitIdentifierPairStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterNodeStatement
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.nodeStatement()
.The default implementation does nothing.
- Specified by:
enterNodeStatement
in interfaceDOTListener
- Overrides:
enterNodeStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitNodeStatement
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.nodeStatement()
.The default implementation does nothing.
- Specified by:
exitNodeStatement
in interfaceDOTListener
- Overrides:
exitNodeStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterNodeStatementNoAttributes
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.nodeStatementNoAttributes()
.The default implementation does nothing.
- Specified by:
enterNodeStatementNoAttributes
in interfaceDOTListener
- Overrides:
enterNodeStatementNoAttributes
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitNodeStatementNoAttributes
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.nodeStatementNoAttributes()
.The default implementation does nothing.
- Specified by:
exitNodeStatementNoAttributes
in interfaceDOTListener
- Overrides:
exitNodeStatementNoAttributes
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterNodeIdentifier
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.nodeIdentifier()
.The default implementation does nothing.
- Specified by:
enterNodeIdentifier
in interfaceDOTListener
- Overrides:
enterNodeIdentifier
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitNodeIdentifier
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.nodeIdentifier()
.The default implementation does nothing.
- Specified by:
exitNodeIdentifier
in interfaceDOTListener
- Overrides:
exitNodeIdentifier
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterSubgraphStatement
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.subgraphStatement()
.The default implementation does nothing.
- Specified by:
enterSubgraphStatement
in interfaceDOTListener
- Overrides:
enterSubgraphStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitSubgraphStatement
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.subgraphStatement()
.The default implementation does nothing.
- Specified by:
exitSubgraphStatement
in interfaceDOTListener
- Overrides:
exitSubgraphStatement
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterIdentifierPair
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.identifierPair()
.The default implementation does nothing.
- Specified by:
enterIdentifierPair
in interfaceDOTListener
- Overrides:
enterIdentifierPair
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitIdentifierPair
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.identifierPair()
.The default implementation does nothing.
- Specified by:
exitIdentifierPair
in interfaceDOTListener
- Overrides:
exitIdentifierPair
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
enterIdentifier
Description copied from class:DOTBaseListener
Enter a parse tree produced byDOTParser.identifier()
.The default implementation does nothing.
- Specified by:
enterIdentifier
in interfaceDOTListener
- Overrides:
enterIdentifier
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-
exitIdentifier
Description copied from class:DOTBaseListener
Exit a parse tree produced byDOTParser.identifier()
.The default implementation does nothing.
- Specified by:
exitIdentifier
in interfaceDOTListener
- Overrides:
exitIdentifier
in classDOTBaseListener
- Parameters:
ctx
- the parse tree
-