Class GmlBaseListener

java.lang.Object
org.jgrapht.io.GmlBaseListener
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener, GmlListener

class GmlBaseListener extends Object implements GmlListener
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 Details

    • GmlBaseListener

      GmlBaseListener()
  • Method Details

    • enterGml

      public void enterGml(GmlParser.GmlContext ctx)
      Enter a parse tree produced by GmlParser.gml().

      The default implementation does nothing.

      Specified by:
      enterGml in interface GmlListener
      Parameters:
      ctx - the parse tree
    • exitGml

      public void exitGml(GmlParser.GmlContext ctx)
      Exit a parse tree produced by GmlParser.gml().

      The default implementation does nothing.

      Specified by:
      exitGml in interface GmlListener
      Parameters:
      ctx - the parse tree
    • enterStringKeyValue

      public void enterStringKeyValue(GmlParser.StringKeyValueContext ctx)
      Enter a parse tree produced by the StringKeyValue labeled alternative in GmlParser.keyValuePair().

      The default implementation does nothing.

      Specified by:
      enterStringKeyValue in interface GmlListener
      Parameters:
      ctx - the parse tree
    • exitStringKeyValue

      public void exitStringKeyValue(GmlParser.StringKeyValueContext ctx)
      Exit a parse tree produced by the StringKeyValue labeled alternative in GmlParser.keyValuePair().

      The default implementation does nothing.

      Specified by:
      exitStringKeyValue in interface GmlListener
      Parameters:
      ctx - the parse tree
    • enterNumberKeyValue

      public void enterNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
      Enter a parse tree produced by the NumberKeyValue labeled alternative in GmlParser.keyValuePair().

      The default implementation does nothing.

      Specified by:
      enterNumberKeyValue in interface GmlListener
      Parameters:
      ctx - the parse tree
    • exitNumberKeyValue

      public void exitNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
      Exit a parse tree produced by the NumberKeyValue labeled alternative in GmlParser.keyValuePair().

      The default implementation does nothing.

      Specified by:
      exitNumberKeyValue in interface GmlListener
      Parameters:
      ctx - the parse tree
    • enterListKeyValue

      public void enterListKeyValue(GmlParser.ListKeyValueContext ctx)
      Enter a parse tree produced by the ListKeyValue labeled alternative in GmlParser.keyValuePair().

      The default implementation does nothing.

      Specified by:
      enterListKeyValue in interface GmlListener
      Parameters:
      ctx - the parse tree
    • exitListKeyValue

      public void exitListKeyValue(GmlParser.ListKeyValueContext ctx)
      Exit a parse tree produced by the ListKeyValue labeled alternative in GmlParser.keyValuePair().

      The default implementation does nothing.

      Specified by:
      exitListKeyValue in interface GmlListener
      Parameters:
      ctx - the parse tree
    • enterEveryRule

      public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)

      The default implementation does nothing.

      Specified by:
      enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListener
    • exitEveryRule

      public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)

      The default implementation does nothing.

      Specified by:
      exitEveryRule in interface org.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 interface org.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 interface org.antlr.v4.runtime.tree.ParseTreeListener