- java.lang.Object
-
- org.jgrapht.nio.gml.GmlBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,GmlListener
- Direct Known Subclasses:
GmlEventDrivenImporter.NotifyGmlListener
class GmlBaseListener extends java.lang.Object implements GmlListener
This class provides an empty implementation ofGmlListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description GmlBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterGml(GmlParser.GmlContext ctx)Enter a parse tree produced byGmlParser.gml().voidenterListKeyValue(GmlParser.ListKeyValueContext ctx)Enter a parse tree produced by theListKeyValuelabeled alternative inGmlParser.keyValuePair().voidenterNumberKeyValue(GmlParser.NumberKeyValueContext ctx)Enter a parse tree produced by theNumberKeyValuelabeled alternative inGmlParser.keyValuePair().voidenterStringKeyValue(GmlParser.StringKeyValueContext ctx)Enter a parse tree produced by theStringKeyValuelabeled alternative inGmlParser.keyValuePair().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitGml(GmlParser.GmlContext ctx)Exit a parse tree produced byGmlParser.gml().voidexitListKeyValue(GmlParser.ListKeyValueContext ctx)Exit a parse tree produced by theListKeyValuelabeled alternative inGmlParser.keyValuePair().voidexitNumberKeyValue(GmlParser.NumberKeyValueContext ctx)Exit a parse tree produced by theNumberKeyValuelabeled alternative inGmlParser.keyValuePair().voidexitStringKeyValue(GmlParser.StringKeyValueContext ctx)Exit 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)
-
-
-
Method Detail
-
enterGml
public void enterGml(GmlParser.GmlContext ctx)
Enter a parse tree produced byGmlParser.gml().The default implementation does nothing.
- Specified by:
enterGmlin interfaceGmlListener- Parameters:
ctx- the parse tree
-
exitGml
public void exitGml(GmlParser.GmlContext ctx)
Exit a parse tree produced byGmlParser.gml().The default implementation does nothing.
- Specified by:
exitGmlin interfaceGmlListener- Parameters:
ctx- the parse tree
-
enterStringKeyValue
public void enterStringKeyValue(GmlParser.StringKeyValueContext ctx)
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
public void exitStringKeyValue(GmlParser.StringKeyValueContext ctx)
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
public void enterNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
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
public void exitNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
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
public void enterListKeyValue(GmlParser.ListKeyValueContext ctx)
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
public void exitListKeyValue(GmlParser.ListKeyValueContext ctx)
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
-
-