java.lang.Object
org.jgrapht.nio.gml.GmlBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,GmlListener
- Direct Known Subclasses:
GmlEventDrivenImporter.NotifyGmlListener
This class provides an empty implementation of
GmlListener
,
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
enterEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Enter a parse tree produced byGmlParser.gml()
.void
Enter a parse tree produced by theListKeyValue
labeled alternative inGmlParser.keyValuePair()
.void
Enter a parse tree produced by theNumberKeyValue
labeled alternative inGmlParser.keyValuePair()
.void
Enter a parse tree produced by theStringKeyValue
labeled alternative inGmlParser.keyValuePair()
.void
exitEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Exit a parse tree produced byGmlParser.gml()
.void
Exit a parse tree produced by theListKeyValue
labeled alternative inGmlParser.keyValuePair()
.void
Exit a parse tree produced by theNumberKeyValue
labeled alternative inGmlParser.keyValuePair()
.void
Exit a parse tree produced by theStringKeyValue
labeled alternative inGmlParser.keyValuePair()
.void
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode node) void
visitTerminal
(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
GmlBaseListener
GmlBaseListener()
-
-
Method Details
-
enterGml
Enter a parse tree produced byGmlParser.gml()
.The default implementation does nothing.
- Specified by:
enterGml
in interfaceGmlListener
- Parameters:
ctx
- the parse tree
-
exitGml
Exit a parse tree produced byGmlParser.gml()
.The default implementation does nothing.
- Specified by:
exitGml
in interfaceGmlListener
- Parameters:
ctx
- the parse tree
-
enterStringKeyValue
Enter a parse tree produced by theStringKeyValue
labeled alternative inGmlParser.keyValuePair()
.The default implementation does nothing.
- Specified by:
enterStringKeyValue
in interfaceGmlListener
- Parameters:
ctx
- the parse tree
-
exitStringKeyValue
Exit a parse tree produced by theStringKeyValue
labeled alternative inGmlParser.keyValuePair()
.The default implementation does nothing.
- Specified by:
exitStringKeyValue
in interfaceGmlListener
- Parameters:
ctx
- the parse tree
-
enterNumberKeyValue
Enter a parse tree produced by theNumberKeyValue
labeled alternative inGmlParser.keyValuePair()
.The default implementation does nothing.
- Specified by:
enterNumberKeyValue
in interfaceGmlListener
- Parameters:
ctx
- the parse tree
-
exitNumberKeyValue
Exit a parse tree produced by theNumberKeyValue
labeled alternative inGmlParser.keyValuePair()
.The default implementation does nothing.
- Specified by:
exitNumberKeyValue
in interfaceGmlListener
- Parameters:
ctx
- the parse tree
-
enterListKeyValue
Enter a parse tree produced by theListKeyValue
labeled alternative inGmlParser.keyValuePair()
.The default implementation does nothing.
- Specified by:
enterListKeyValue
in interfaceGmlListener
- Parameters:
ctx
- the parse tree
-
exitListKeyValue
Exit a parse tree produced by theListKeyValue
labeled alternative inGmlParser.keyValuePair()
.The default implementation does nothing.
- Specified by:
exitListKeyValue
in interfaceGmlListener
- 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
-