Package org.reploop.parser.json.base
Class JSON5BaseListener
- java.lang.Object
-
- org.reploop.parser.json.base.JSON5BaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,JSON5Listener
public class JSON5BaseListener extends Object implements JSON5Listener
This class provides an empty implementation ofJSON5Listener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description JSON5BaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterArr(JSON5Parser.ArrContext ctx)Enter a parse tree produced byJSON5Parser.arr().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterJson5(JSON5Parser.Json5Context ctx)Enter a parse tree produced byJSON5Parser.json5().voidenterKey(JSON5Parser.KeyContext ctx)Enter a parse tree produced byJSON5Parser.key().voidenterNumber(JSON5Parser.NumberContext ctx)Enter a parse tree produced byJSON5Parser.number().voidenterObj(JSON5Parser.ObjContext ctx)Enter a parse tree produced byJSON5Parser.obj().voidenterPair(JSON5Parser.PairContext ctx)Enter a parse tree produced byJSON5Parser.pair().voidenterValue(JSON5Parser.ValueContext ctx)Enter a parse tree produced byJSON5Parser.value().voidexitArr(JSON5Parser.ArrContext ctx)Exit a parse tree produced byJSON5Parser.arr().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitJson5(JSON5Parser.Json5Context ctx)Exit a parse tree produced byJSON5Parser.json5().voidexitKey(JSON5Parser.KeyContext ctx)Exit a parse tree produced byJSON5Parser.key().voidexitNumber(JSON5Parser.NumberContext ctx)Exit a parse tree produced byJSON5Parser.number().voidexitObj(JSON5Parser.ObjContext ctx)Exit a parse tree produced byJSON5Parser.obj().voidexitPair(JSON5Parser.PairContext ctx)Exit a parse tree produced byJSON5Parser.pair().voidexitValue(JSON5Parser.ValueContext ctx)Exit a parse tree produced byJSON5Parser.value().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterJson5
public void enterJson5(JSON5Parser.Json5Context ctx)
Enter a parse tree produced byJSON5Parser.json5().The default implementation does nothing.
- Specified by:
enterJson5in interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitJson5
public void exitJson5(JSON5Parser.Json5Context ctx)
Exit a parse tree produced byJSON5Parser.json5().The default implementation does nothing.
- Specified by:
exitJson5in interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterObj
public void enterObj(JSON5Parser.ObjContext ctx)
Enter a parse tree produced byJSON5Parser.obj().The default implementation does nothing.
- Specified by:
enterObjin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitObj
public void exitObj(JSON5Parser.ObjContext ctx)
Exit a parse tree produced byJSON5Parser.obj().The default implementation does nothing.
- Specified by:
exitObjin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterPair
public void enterPair(JSON5Parser.PairContext ctx)
Enter a parse tree produced byJSON5Parser.pair().The default implementation does nothing.
- Specified by:
enterPairin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitPair
public void exitPair(JSON5Parser.PairContext ctx)
Exit a parse tree produced byJSON5Parser.pair().The default implementation does nothing.
- Specified by:
exitPairin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterKey
public void enterKey(JSON5Parser.KeyContext ctx)
Enter a parse tree produced byJSON5Parser.key().The default implementation does nothing.
- Specified by:
enterKeyin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitKey
public void exitKey(JSON5Parser.KeyContext ctx)
Exit a parse tree produced byJSON5Parser.key().The default implementation does nothing.
- Specified by:
exitKeyin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterValue
public void enterValue(JSON5Parser.ValueContext ctx)
Enter a parse tree produced byJSON5Parser.value().The default implementation does nothing.
- Specified by:
enterValuein interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitValue
public void exitValue(JSON5Parser.ValueContext ctx)
Exit a parse tree produced byJSON5Parser.value().The default implementation does nothing.
- Specified by:
exitValuein interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterArr
public void enterArr(JSON5Parser.ArrContext ctx)
Enter a parse tree produced byJSON5Parser.arr().The default implementation does nothing.
- Specified by:
enterArrin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitArr
public void exitArr(JSON5Parser.ArrContext ctx)
Exit a parse tree produced byJSON5Parser.arr().The default implementation does nothing.
- Specified by:
exitArrin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
enterNumber
public void enterNumber(JSON5Parser.NumberContext ctx)
Enter a parse tree produced byJSON5Parser.number().The default implementation does nothing.
- Specified by:
enterNumberin interfaceJSON5Listener- Parameters:
ctx- the parse tree
-
exitNumber
public void exitNumber(JSON5Parser.NumberContext ctx)
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
-
-