- java.lang.Object
-
- org.jgrapht.io.DOTBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,DOTListener
class DOTBaseListener extends java.lang.Object implements DOTListener
This class provides an empty implementation ofDOTListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description DOTBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterGraph
public void enterGraph(DOTParser.GraphContext ctx)
Enter a parse tree produced byDOTParser.graph().The default implementation does nothing.
- Specified by:
enterGraphin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitGraph
public void exitGraph(DOTParser.GraphContext ctx)
Exit a parse tree produced byDOTParser.graph().The default implementation does nothing.
- Specified by:
exitGraphin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterCompoundStatement
public void enterCompoundStatement(DOTParser.CompoundStatementContext ctx)
Enter a parse tree produced byDOTParser.compoundStatement().The default implementation does nothing.
- Specified by:
enterCompoundStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitCompoundStatement
public void exitCompoundStatement(DOTParser.CompoundStatementContext ctx)
Exit a parse tree produced byDOTParser.compoundStatement().The default implementation does nothing.
- Specified by:
exitCompoundStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterGraphHeader
public void enterGraphHeader(DOTParser.GraphHeaderContext ctx)
Enter a parse tree produced byDOTParser.graphHeader().The default implementation does nothing.
- Specified by:
enterGraphHeaderin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitGraphHeader
public void exitGraphHeader(DOTParser.GraphHeaderContext ctx)
Exit a parse tree produced byDOTParser.graphHeader().The default implementation does nothing.
- Specified by:
exitGraphHeaderin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterGraphIdentifier
public void enterGraphIdentifier(DOTParser.GraphIdentifierContext ctx)
Enter a parse tree produced byDOTParser.graphIdentifier().The default implementation does nothing.
- Specified by:
enterGraphIdentifierin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitGraphIdentifier
public void exitGraphIdentifier(DOTParser.GraphIdentifierContext ctx)
Exit a parse tree produced byDOTParser.graphIdentifier().The default implementation does nothing.
- Specified by:
exitGraphIdentifierin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterStatement
public void enterStatement(DOTParser.StatementContext ctx)
Enter a parse tree produced byDOTParser.statement().The default implementation does nothing.
- Specified by:
enterStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitStatement
public void exitStatement(DOTParser.StatementContext ctx)
Exit a parse tree produced byDOTParser.statement().The default implementation does nothing.
- Specified by:
exitStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterIdentifierPairStatement
public void enterIdentifierPairStatement(DOTParser.IdentifierPairStatementContext ctx)
Enter a parse tree produced byDOTParser.identifierPairStatement().The default implementation does nothing.
- Specified by:
enterIdentifierPairStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitIdentifierPairStatement
public void exitIdentifierPairStatement(DOTParser.IdentifierPairStatementContext ctx)
Exit a parse tree produced byDOTParser.identifierPairStatement().The default implementation does nothing.
- Specified by:
exitIdentifierPairStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterAttributeStatement
public void enterAttributeStatement(DOTParser.AttributeStatementContext ctx)
Enter a parse tree produced byDOTParser.attributeStatement().The default implementation does nothing.
- Specified by:
enterAttributeStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitAttributeStatement
public void exitAttributeStatement(DOTParser.AttributeStatementContext ctx)
Exit a parse tree produced byDOTParser.attributeStatement().The default implementation does nothing.
- Specified by:
exitAttributeStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterAttributesList
public void enterAttributesList(DOTParser.AttributesListContext ctx)
Enter a parse tree produced byDOTParser.attributesList().The default implementation does nothing.
- Specified by:
enterAttributesListin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitAttributesList
public void exitAttributesList(DOTParser.AttributesListContext ctx)
Exit a parse tree produced byDOTParser.attributesList().The default implementation does nothing.
- Specified by:
exitAttributesListin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterAList
public void enterAList(DOTParser.AListContext ctx)
Enter a parse tree produced byDOTParser.aList().The default implementation does nothing.
- Specified by:
enterAListin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitAList
public void exitAList(DOTParser.AListContext ctx)
Exit a parse tree produced byDOTParser.aList().The default implementation does nothing.
- Specified by:
exitAListin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterEdgeStatement
public void enterEdgeStatement(DOTParser.EdgeStatementContext ctx)
Enter a parse tree produced byDOTParser.edgeStatement().The default implementation does nothing.
- Specified by:
enterEdgeStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitEdgeStatement
public void exitEdgeStatement(DOTParser.EdgeStatementContext ctx)
Exit a parse tree produced byDOTParser.edgeStatement().The default implementation does nothing.
- Specified by:
exitEdgeStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterNodeStatement
public void enterNodeStatement(DOTParser.NodeStatementContext ctx)
Enter a parse tree produced byDOTParser.nodeStatement().The default implementation does nothing.
- Specified by:
enterNodeStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitNodeStatement
public void exitNodeStatement(DOTParser.NodeStatementContext ctx)
Exit a parse tree produced byDOTParser.nodeStatement().The default implementation does nothing.
- Specified by:
exitNodeStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterNodeStatementNoAttributes
public void enterNodeStatementNoAttributes(DOTParser.NodeStatementNoAttributesContext ctx)
Enter a parse tree produced byDOTParser.nodeStatementNoAttributes().The default implementation does nothing.
- Specified by:
enterNodeStatementNoAttributesin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitNodeStatementNoAttributes
public void exitNodeStatementNoAttributes(DOTParser.NodeStatementNoAttributesContext ctx)
Exit a parse tree produced byDOTParser.nodeStatementNoAttributes().The default implementation does nothing.
- Specified by:
exitNodeStatementNoAttributesin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterNodeIdentifier
public void enterNodeIdentifier(DOTParser.NodeIdentifierContext ctx)
Enter a parse tree produced byDOTParser.nodeIdentifier().The default implementation does nothing.
- Specified by:
enterNodeIdentifierin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitNodeIdentifier
public void exitNodeIdentifier(DOTParser.NodeIdentifierContext ctx)
Exit a parse tree produced byDOTParser.nodeIdentifier().The default implementation does nothing.
- Specified by:
exitNodeIdentifierin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterPort
public void enterPort(DOTParser.PortContext ctx)
Enter a parse tree produced byDOTParser.port().The default implementation does nothing.
- Specified by:
enterPortin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitPort
public void exitPort(DOTParser.PortContext ctx)
Exit a parse tree produced byDOTParser.port().The default implementation does nothing.
- Specified by:
exitPortin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterSubgraphStatement
public void enterSubgraphStatement(DOTParser.SubgraphStatementContext ctx)
Enter a parse tree produced byDOTParser.subgraphStatement().The default implementation does nothing.
- Specified by:
enterSubgraphStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitSubgraphStatement
public void exitSubgraphStatement(DOTParser.SubgraphStatementContext ctx)
Exit a parse tree produced byDOTParser.subgraphStatement().The default implementation does nothing.
- Specified by:
exitSubgraphStatementin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterIdentifierPair
public void enterIdentifierPair(DOTParser.IdentifierPairContext ctx)
Enter a parse tree produced byDOTParser.identifierPair().The default implementation does nothing.
- Specified by:
enterIdentifierPairin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitIdentifierPair
public void exitIdentifierPair(DOTParser.IdentifierPairContext ctx)
Exit a parse tree produced byDOTParser.identifierPair().The default implementation does nothing.
- Specified by:
exitIdentifierPairin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterIdentifier
public void enterIdentifier(DOTParser.IdentifierContext ctx)
Enter a parse tree produced byDOTParser.identifier().The default implementation does nothing.
- Specified by:
enterIdentifierin interfaceDOTListener- Parameters:
ctx- the parse tree
-
exitIdentifier
public void exitIdentifier(DOTParser.IdentifierContext ctx)
Exit a parse tree produced byDOTParser.identifier().The default implementation does nothing.
- Specified by:
exitIdentifierin interfaceDOTListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-