- java.lang.Object
-
- org.jgrapht.nio.dot.DOTBaseListener
-
- org.jgrapht.nio.dot.DOTEventDrivenImporter.NotifyDOTListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,DOTListener
- Enclosing class:
- DOTEventDrivenImporter
private class DOTEventDrivenImporter.NotifyDOTListener extends DOTBaseListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Deque<DOTEventDrivenImporter.State>stackprivate java.util.Deque<DOTEventDrivenImporter.SubgraphScope>subgraphScopesprivate java.util.Set<java.lang.String>vertices
-
Constructor Summary
Constructors Constructor Description NotifyDOTListener()
-
Method Summary
-
Methods inherited from class org.jgrapht.nio.dot.DOTBaseListener
enterCompoundStatement, enterEveryRule, enterPort, enterStatement, exitCompoundStatement, exitEveryRule, exitPort, exitStatement, visitErrorNode, visitTerminal
-
-
-
-
Field Detail
-
vertices
private java.util.Set<java.lang.String> vertices
-
subgraphScopes
private java.util.Deque<DOTEventDrivenImporter.SubgraphScope> subgraphScopes
-
stack
private java.util.Deque<DOTEventDrivenImporter.State> stack
-
-
Method Detail
-
enterGraph
public void enterGraph(DOTParser.GraphContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.graph().The default implementation does nothing.
- Specified by:
enterGraphin interfaceDOTListener- Overrides:
enterGraphin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitGraph
public void exitGraph(DOTParser.GraphContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.graph().The default implementation does nothing.
- Specified by:
exitGraphin interfaceDOTListener- Overrides:
exitGraphin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterGraphHeader
public void enterGraphHeader(DOTParser.GraphHeaderContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.graphHeader().The default implementation does nothing.
- Specified by:
enterGraphHeaderin interfaceDOTListener- Overrides:
enterGraphHeaderin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitGraphHeader
public void exitGraphHeader(DOTParser.GraphHeaderContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.graphHeader().The default implementation does nothing.
- Specified by:
exitGraphHeaderin interfaceDOTListener- Overrides:
exitGraphHeaderin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterGraphIdentifier
public void enterGraphIdentifier(DOTParser.GraphIdentifierContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.graphIdentifier().The default implementation does nothing.
- Specified by:
enterGraphIdentifierin interfaceDOTListener- Overrides:
enterGraphIdentifierin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitGraphIdentifier
public void exitGraphIdentifier(DOTParser.GraphIdentifierContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.graphIdentifier().The default implementation does nothing.
- Specified by:
exitGraphIdentifierin interfaceDOTListener- Overrides:
exitGraphIdentifierin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterAttributeStatement
public void enterAttributeStatement(DOTParser.AttributeStatementContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.attributeStatement().The default implementation does nothing.
- Specified by:
enterAttributeStatementin interfaceDOTListener- Overrides:
enterAttributeStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitAttributeStatement
public void exitAttributeStatement(DOTParser.AttributeStatementContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.attributeStatement().The default implementation does nothing.
- Specified by:
exitAttributeStatementin interfaceDOTListener- Overrides:
exitAttributeStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterAttributesList
public void enterAttributesList(DOTParser.AttributesListContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.attributesList().The default implementation does nothing.
- Specified by:
enterAttributesListin interfaceDOTListener- Overrides:
enterAttributesListin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitAttributesList
public void exitAttributesList(DOTParser.AttributesListContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.attributesList().The default implementation does nothing.
- Specified by:
exitAttributesListin interfaceDOTListener- Overrides:
exitAttributesListin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterAList
public void enterAList(DOTParser.AListContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.aList().The default implementation does nothing.
- Specified by:
enterAListin interfaceDOTListener- Overrides:
enterAListin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitAList
public void exitAList(DOTParser.AListContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.aList().The default implementation does nothing.
- Specified by:
exitAListin interfaceDOTListener- Overrides:
exitAListin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterEdgeStatement
public void enterEdgeStatement(DOTParser.EdgeStatementContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.edgeStatement().The default implementation does nothing.
- Specified by:
enterEdgeStatementin interfaceDOTListener- Overrides:
enterEdgeStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitEdgeStatement
public void exitEdgeStatement(DOTParser.EdgeStatementContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.edgeStatement().The default implementation does nothing.
- Specified by:
exitEdgeStatementin interfaceDOTListener- Overrides:
exitEdgeStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterIdentifierPairStatement
public void enterIdentifierPairStatement(DOTParser.IdentifierPairStatementContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.identifierPairStatement().The default implementation does nothing.
- Specified by:
enterIdentifierPairStatementin interfaceDOTListener- Overrides:
enterIdentifierPairStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitIdentifierPairStatement
public void exitIdentifierPairStatement(DOTParser.IdentifierPairStatementContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.identifierPairStatement().The default implementation does nothing.
- Specified by:
exitIdentifierPairStatementin interfaceDOTListener- Overrides:
exitIdentifierPairStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterNodeStatement
public void enterNodeStatement(DOTParser.NodeStatementContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.nodeStatement().The default implementation does nothing.
- Specified by:
enterNodeStatementin interfaceDOTListener- Overrides:
enterNodeStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitNodeStatement
public void exitNodeStatement(DOTParser.NodeStatementContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.nodeStatement().The default implementation does nothing.
- Specified by:
exitNodeStatementin interfaceDOTListener- Overrides:
exitNodeStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterNodeStatementNoAttributes
public void enterNodeStatementNoAttributes(DOTParser.NodeStatementNoAttributesContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.nodeStatementNoAttributes().The default implementation does nothing.
- Specified by:
enterNodeStatementNoAttributesin interfaceDOTListener- Overrides:
enterNodeStatementNoAttributesin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitNodeStatementNoAttributes
public void exitNodeStatementNoAttributes(DOTParser.NodeStatementNoAttributesContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.nodeStatementNoAttributes().The default implementation does nothing.
- Specified by:
exitNodeStatementNoAttributesin interfaceDOTListener- Overrides:
exitNodeStatementNoAttributesin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterNodeIdentifier
public void enterNodeIdentifier(DOTParser.NodeIdentifierContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.nodeIdentifier().The default implementation does nothing.
- Specified by:
enterNodeIdentifierin interfaceDOTListener- Overrides:
enterNodeIdentifierin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitNodeIdentifier
public void exitNodeIdentifier(DOTParser.NodeIdentifierContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.nodeIdentifier().The default implementation does nothing.
- Specified by:
exitNodeIdentifierin interfaceDOTListener- Overrides:
exitNodeIdentifierin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterSubgraphStatement
public void enterSubgraphStatement(DOTParser.SubgraphStatementContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.subgraphStatement().The default implementation does nothing.
- Specified by:
enterSubgraphStatementin interfaceDOTListener- Overrides:
enterSubgraphStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitSubgraphStatement
public void exitSubgraphStatement(DOTParser.SubgraphStatementContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.subgraphStatement().The default implementation does nothing.
- Specified by:
exitSubgraphStatementin interfaceDOTListener- Overrides:
exitSubgraphStatementin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterIdentifierPair
public void enterIdentifierPair(DOTParser.IdentifierPairContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.identifierPair().The default implementation does nothing.
- Specified by:
enterIdentifierPairin interfaceDOTListener- Overrides:
enterIdentifierPairin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitIdentifierPair
public void exitIdentifierPair(DOTParser.IdentifierPairContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.identifierPair().The default implementation does nothing.
- Specified by:
exitIdentifierPairin interfaceDOTListener- Overrides:
exitIdentifierPairin classDOTBaseListener- Parameters:
ctx- the parse tree
-
enterIdentifier
public void enterIdentifier(DOTParser.IdentifierContext ctx)
Description copied from class:DOTBaseListenerEnter a parse tree produced byDOTParser.identifier().The default implementation does nothing.
- Specified by:
enterIdentifierin interfaceDOTListener- Overrides:
enterIdentifierin classDOTBaseListener- Parameters:
ctx- the parse tree
-
exitIdentifier
public void exitIdentifier(DOTParser.IdentifierContext ctx)
Description copied from class:DOTBaseListenerExit a parse tree produced byDOTParser.identifier().The default implementation does nothing.
- Specified by:
exitIdentifierin interfaceDOTListener- Overrides:
exitIdentifierin classDOTBaseListener- Parameters:
ctx- the parse tree
-
-