Class JsonBaseListener
java.lang.Object
org.jgrapht.nio.json.JsonBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener, JsonListener
- Direct Known Subclasses:
JSONEventDrivenImporter.NotifyJsonListener
This class provides an empty implementation of
JsonListener,
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 TypeMethodDescriptionvoidEnter a parse tree produced byJsonParser.array().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byJsonParser.json().voidEnter a parse tree produced byJsonParser.obj().voidEnter a parse tree produced byJsonParser.pair().voidEnter a parse tree produced byJsonParser.value().voidExit a parse tree produced byJsonParser.array().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byJsonParser.json().voidExit a parse tree produced byJsonParser.obj().voidExit a parse tree produced byJsonParser.pair().voidExit a parse tree produced byJsonParser.value().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
JsonBaseListener
JsonBaseListener()
-
-
Method Details
-
enterJson
Enter a parse tree produced byJsonParser.json().The default implementation does nothing.
- Specified by:
enterJsonin interfaceJsonListener- Parameters:
ctx- the parse tree
-
exitJson
Exit a parse tree produced byJsonParser.json().The default implementation does nothing.
- Specified by:
exitJsonin interfaceJsonListener- Parameters:
ctx- the parse tree
-
enterObj
Enter a parse tree produced byJsonParser.obj().The default implementation does nothing.
- Specified by:
enterObjin interfaceJsonListener- Parameters:
ctx- the parse tree
-
exitObj
Exit a parse tree produced byJsonParser.obj().The default implementation does nothing.
- Specified by:
exitObjin interfaceJsonListener- Parameters:
ctx- the parse tree
-
enterPair
Enter a parse tree produced byJsonParser.pair().The default implementation does nothing.
- Specified by:
enterPairin interfaceJsonListener- Parameters:
ctx- the parse tree
-
exitPair
Exit a parse tree produced byJsonParser.pair().The default implementation does nothing.
- Specified by:
exitPairin interfaceJsonListener- Parameters:
ctx- the parse tree
-
enterArray
Enter a parse tree produced byJsonParser.array().The default implementation does nothing.
- Specified by:
enterArrayin interfaceJsonListener- Parameters:
ctx- the parse tree
-
exitArray
Exit a parse tree produced byJsonParser.array().The default implementation does nothing.
- Specified by:
exitArrayin interfaceJsonListener- Parameters:
ctx- the parse tree
-
enterValue
Enter a parse tree produced byJsonParser.value().The default implementation does nothing.
- Specified by:
enterValuein interfaceJsonListener- Parameters:
ctx- the parse tree
-
exitValue
Exit a parse tree produced byJsonParser.value().The default implementation does nothing.
- Specified by:
exitValuein interfaceJsonListener- 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
-