Class JsonBaseBaseListener
- java.lang.Object
-
- org.reploop.parser.json.base.JsonBaseBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,JsonBaseListener
public class JsonBaseBaseListener extends Object implements JsonBaseListener
This class provides an empty implementation ofJsonBaseListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description JsonBaseBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterArr(JsonBaseParser.ArrContext ctx)Enter a parse tree produced byJsonBaseParser.arr().voidenterArrValue(JsonBaseParser.ArrValueContext ctx)Enter a parse tree produced by thearrValuelabeled alternative inJsonBaseParser.value().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterFalseValue(JsonBaseParser.FalseValueContext ctx)Enter a parse tree produced by thefalseValuelabeled alternative inJsonBaseParser.value().voidenterJson(JsonBaseParser.JsonContext ctx)Enter a parse tree produced byJsonBaseParser.json().voidenterNullValue(JsonBaseParser.NullValueContext ctx)Enter a parse tree produced by thenullValuelabeled alternative inJsonBaseParser.value().voidenterNumberValue(JsonBaseParser.NumberValueContext ctx)Enter a parse tree produced by thenumberValuelabeled alternative inJsonBaseParser.value().voidenterObj(JsonBaseParser.ObjContext ctx)Enter a parse tree produced byJsonBaseParser.obj().voidenterObjValue(JsonBaseParser.ObjValueContext ctx)Enter a parse tree produced by theobjValuelabeled alternative inJsonBaseParser.value().voidenterPair(JsonBaseParser.PairContext ctx)Enter a parse tree produced byJsonBaseParser.pair().voidenterStringValue(JsonBaseParser.StringValueContext ctx)Enter a parse tree produced by thestringValuelabeled alternative inJsonBaseParser.value().voidenterTrueValue(JsonBaseParser.TrueValueContext ctx)Enter a parse tree produced by thetrueValuelabeled alternative inJsonBaseParser.value().voidexitArr(JsonBaseParser.ArrContext ctx)Exit a parse tree produced byJsonBaseParser.arr().voidexitArrValue(JsonBaseParser.ArrValueContext ctx)Exit a parse tree produced by thearrValuelabeled alternative inJsonBaseParser.value().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitFalseValue(JsonBaseParser.FalseValueContext ctx)Exit a parse tree produced by thefalseValuelabeled alternative inJsonBaseParser.value().voidexitJson(JsonBaseParser.JsonContext ctx)Exit a parse tree produced byJsonBaseParser.json().voidexitNullValue(JsonBaseParser.NullValueContext ctx)Exit a parse tree produced by thenullValuelabeled alternative inJsonBaseParser.value().voidexitNumberValue(JsonBaseParser.NumberValueContext ctx)Exit a parse tree produced by thenumberValuelabeled alternative inJsonBaseParser.value().voidexitObj(JsonBaseParser.ObjContext ctx)Exit a parse tree produced byJsonBaseParser.obj().voidexitObjValue(JsonBaseParser.ObjValueContext ctx)Exit a parse tree produced by theobjValuelabeled alternative inJsonBaseParser.value().voidexitPair(JsonBaseParser.PairContext ctx)Exit a parse tree produced byJsonBaseParser.pair().voidexitStringValue(JsonBaseParser.StringValueContext ctx)Exit a parse tree produced by thestringValuelabeled alternative inJsonBaseParser.value().voidexitTrueValue(JsonBaseParser.TrueValueContext ctx)Exit a parse tree produced by thetrueValuelabeled alternative inJsonBaseParser.value().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterJson
public void enterJson(JsonBaseParser.JsonContext ctx)
Enter a parse tree produced byJsonBaseParser.json().The default implementation does nothing.
- Specified by:
enterJsonin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitJson
public void exitJson(JsonBaseParser.JsonContext ctx)
Exit a parse tree produced byJsonBaseParser.json().The default implementation does nothing.
- Specified by:
exitJsonin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterObj
public void enterObj(JsonBaseParser.ObjContext ctx)
Enter a parse tree produced byJsonBaseParser.obj().The default implementation does nothing.
- Specified by:
enterObjin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitObj
public void exitObj(JsonBaseParser.ObjContext ctx)
Exit a parse tree produced byJsonBaseParser.obj().The default implementation does nothing.
- Specified by:
exitObjin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterPair
public void enterPair(JsonBaseParser.PairContext ctx)
Enter a parse tree produced byJsonBaseParser.pair().The default implementation does nothing.
- Specified by:
enterPairin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitPair
public void exitPair(JsonBaseParser.PairContext ctx)
Exit a parse tree produced byJsonBaseParser.pair().The default implementation does nothing.
- Specified by:
exitPairin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterArr
public void enterArr(JsonBaseParser.ArrContext ctx)
Enter a parse tree produced byJsonBaseParser.arr().The default implementation does nothing.
- Specified by:
enterArrin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitArr
public void exitArr(JsonBaseParser.ArrContext ctx)
Exit a parse tree produced byJsonBaseParser.arr().The default implementation does nothing.
- Specified by:
exitArrin interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterStringValue
public void enterStringValue(JsonBaseParser.StringValueContext ctx)
Enter a parse tree produced by thestringValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
enterStringValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitStringValue
public void exitStringValue(JsonBaseParser.StringValueContext ctx)
Exit a parse tree produced by thestringValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
exitStringValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterNumberValue
public void enterNumberValue(JsonBaseParser.NumberValueContext ctx)
Enter a parse tree produced by thenumberValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
enterNumberValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitNumberValue
public void exitNumberValue(JsonBaseParser.NumberValueContext ctx)
Exit a parse tree produced by thenumberValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
exitNumberValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterObjValue
public void enterObjValue(JsonBaseParser.ObjValueContext ctx)
Enter a parse tree produced by theobjValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
enterObjValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitObjValue
public void exitObjValue(JsonBaseParser.ObjValueContext ctx)
Exit a parse tree produced by theobjValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
exitObjValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterArrValue
public void enterArrValue(JsonBaseParser.ArrValueContext ctx)
Enter a parse tree produced by thearrValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
enterArrValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitArrValue
public void exitArrValue(JsonBaseParser.ArrValueContext ctx)
Exit a parse tree produced by thearrValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
exitArrValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterTrueValue
public void enterTrueValue(JsonBaseParser.TrueValueContext ctx)
Enter a parse tree produced by thetrueValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
enterTrueValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitTrueValue
public void exitTrueValue(JsonBaseParser.TrueValueContext ctx)
Exit a parse tree produced by thetrueValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
exitTrueValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterFalseValue
public void enterFalseValue(JsonBaseParser.FalseValueContext ctx)
Enter a parse tree produced by thefalseValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
enterFalseValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitFalseValue
public void exitFalseValue(JsonBaseParser.FalseValueContext ctx)
Exit a parse tree produced by thefalseValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
exitFalseValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
enterNullValue
public void enterNullValue(JsonBaseParser.NullValueContext ctx)
Enter a parse tree produced by thenullValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
enterNullValuein interfaceJsonBaseListener- Parameters:
ctx- the parse tree
-
exitNullValue
public void exitNullValue(JsonBaseParser.NullValueContext ctx)
Exit a parse tree produced by thenullValuelabeled alternative inJsonBaseParser.value().The default implementation does nothing.
- Specified by:
exitNullValuein interfaceJsonBaseListener- 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
-
-