Class JSON5BaseListener
java.lang.Object
org.openrewrite.json.internal.grammar.JSON5BaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,JSON5Listener
This class provides an empty implementation of
JSON5Listener,
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 byJSON5Parser.arr().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byJSON5Parser.json5().voidEnter a parse tree produced byJSON5Parser.key().voidEnter a parse tree produced byJSON5Parser.member().voidEnter a parse tree produced byJSON5Parser.number().voidEnter a parse tree produced byJSON5Parser.obj().voidEnter a parse tree produced byJSON5Parser.value().voidExit a parse tree produced byJSON5Parser.arr().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byJSON5Parser.json5().voidExit a parse tree produced byJSON5Parser.key().voidExit a parse tree produced byJSON5Parser.member().voidExit a parse tree produced byJSON5Parser.number().voidExit a parse tree produced byJSON5Parser.obj().voidExit a parse tree produced byJSON5Parser.value().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
JSON5BaseListener
public JSON5BaseListener()
-
-
Method Details
-
enterJson5
Enter a parse tree produced byJSON5Parser.json5().The default implementation does nothing.
- Specified by:
enterJson5in interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitJson5
Exit a parse tree produced byJSON5Parser.json5().The default implementation does nothing.
- Specified by:
exitJson5in interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterObj
Enter a parse tree produced byJSON5Parser.obj().The default implementation does nothing.
- Specified by:
enterObjin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitObj
Exit a parse tree produced byJSON5Parser.obj().The default implementation does nothing.
- Specified by:
exitObjin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterMember
Enter a parse tree produced byJSON5Parser.member().The default implementation does nothing.
- Specified by:
enterMemberin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitMember
Exit a parse tree produced byJSON5Parser.member().The default implementation does nothing.
- Specified by:
exitMemberin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterKey
Enter a parse tree produced byJSON5Parser.key().The default implementation does nothing.
- Specified by:
enterKeyin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitKey
Exit a parse tree produced byJSON5Parser.key().The default implementation does nothing.
- Specified by:
exitKeyin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterValue
Enter a parse tree produced byJSON5Parser.value().The default implementation does nothing.
- Specified by:
enterValuein interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitValue
Exit a parse tree produced byJSON5Parser.value().The default implementation does nothing.
- Specified by:
exitValuein interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterArr
Enter a parse tree produced byJSON5Parser.arr().The default implementation does nothing.
- Specified by:
enterArrin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitArr
Exit a parse tree produced byJSON5Parser.arr().The default implementation does nothing.
- Specified by:
exitArrin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterNumber
Enter a parse tree produced byJSON5Parser.number().The default implementation does nothing.
- Specified by:
enterNumberin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitNumber
Exit a parse tree produced byJSON5Parser.number().The default implementation does nothing.
- Specified by:
exitNumberin interfaceJSON5Listener- 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
-