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 TypeMethodDescriptionvoidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byGmlParser.gml().voidEnter a parse tree produced by theListKeyValuelabeled alternative inGmlParser.keyValuePair().voidEnter a parse tree produced by theNumberKeyValuelabeled alternative inGmlParser.keyValuePair().voidEnter a parse tree produced by theStringKeyValuelabeled alternative inGmlParser.keyValuePair().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byGmlParser.gml().voidExit a parse tree produced by theListKeyValuelabeled alternative inGmlParser.keyValuePair().voidExit a parse tree produced by theNumberKeyValuelabeled alternative inGmlParser.keyValuePair().voidExit a parse tree produced by theStringKeyValuelabeled alternative inGmlParser.keyValuePair().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(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:
enterGmlin interfaceGmlListener- Parameters:
ctx- the parse tree
-
exitGml
Exit a parse tree produced byGmlParser.gml().The default implementation does nothing.
- Specified by:
exitGmlin interfaceGmlListener- Parameters:
ctx- the parse tree
-
enterStringKeyValue
Enter a parse tree produced by theStringKeyValuelabeled alternative inGmlParser.keyValuePair().The default implementation does nothing.
- Specified by:
enterStringKeyValuein interfaceGmlListener- Parameters:
ctx- the parse tree
-
exitStringKeyValue
Exit a parse tree produced by theStringKeyValuelabeled alternative inGmlParser.keyValuePair().The default implementation does nothing.
- Specified by:
exitStringKeyValuein interfaceGmlListener- Parameters:
ctx- the parse tree
-
enterNumberKeyValue
Enter a parse tree produced by theNumberKeyValuelabeled alternative inGmlParser.keyValuePair().The default implementation does nothing.
- Specified by:
enterNumberKeyValuein interfaceGmlListener- Parameters:
ctx- the parse tree
-
exitNumberKeyValue
Exit a parse tree produced by theNumberKeyValuelabeled alternative inGmlParser.keyValuePair().The default implementation does nothing.
- Specified by:
exitNumberKeyValuein interfaceGmlListener- Parameters:
ctx- the parse tree
-
enterListKeyValue
Enter a parse tree produced by theListKeyValuelabeled alternative inGmlParser.keyValuePair().The default implementation does nothing.
- Specified by:
enterListKeyValuein interfaceGmlListener- Parameters:
ctx- the parse tree
-
exitListKeyValue
Exit a parse tree produced by theListKeyValuelabeled alternative inGmlParser.keyValuePair().The default implementation does nothing.
- Specified by:
exitListKeyValuein interfaceGmlListener- 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
-