public class JSONSideKickListener extends JSONBaseListener
Constructor and Description |
---|
JSONSideKickListener() |
enterEveryRule, exitEveryRule, visitErrorNode, visitTerminal
public JSONNode getRoot()
public void enterJson(@NotNull JSONParser.JsonContext ctx)
JSONBaseListener
JSONParser.json()
.
The default implementation does nothing.
enterJson
in interface JSONListener
enterJson
in class JSONBaseListener
ctx
- the parse treepublic void exitJson(@NotNull JSONParser.JsonContext ctx)
JSONBaseListener
JSONParser.json()
.
The default implementation does nothing.
exitJson
in interface JSONListener
exitJson
in class JSONBaseListener
ctx
- the parse treepublic void enterObject(@NotNull JSONParser.ObjectContext ctx)
JSONBaseListener
JSONParser.object()
.
The default implementation does nothing.
enterObject
in interface JSONListener
enterObject
in class JSONBaseListener
ctx
- the parse treepublic void exitObject(@NotNull JSONParser.ObjectContext ctx)
JSONBaseListener
JSONParser.object()
.
The default implementation does nothing.
exitObject
in interface JSONListener
exitObject
in class JSONBaseListener
ctx
- the parse treepublic void enterArray(@NotNull JSONParser.ArrayContext ctx)
JSONBaseListener
JSONParser.array()
.
The default implementation does nothing.
enterArray
in interface JSONListener
enterArray
in class JSONBaseListener
ctx
- the parse treepublic void exitArray(@NotNull JSONParser.ArrayContext ctx)
JSONBaseListener
JSONParser.array()
.
The default implementation does nothing.
exitArray
in interface JSONListener
exitArray
in class JSONBaseListener
ctx
- the parse treepublic void enterPair(@NotNull JSONParser.PairContext ctx)
JSONBaseListener
JSONParser.pair()
.
The default implementation does nothing.
enterPair
in interface JSONListener
enterPair
in class JSONBaseListener
ctx
- the parse treepublic void exitPair(@NotNull JSONParser.PairContext ctx)
JSONBaseListener
JSONParser.pair()
.
The default implementation does nothing.
exitPair
in interface JSONListener
exitPair
in class JSONBaseListener
ctx
- the parse treepublic void enterValue(@NotNull JSONParser.ValueContext ctx)
JSONBaseListener
JSONParser.value()
.
The default implementation does nothing.
enterValue
in interface JSONListener
enterValue
in class JSONBaseListener
ctx
- the parse treepublic void exitValue(@NotNull JSONParser.ValueContext ctx)
JSONBaseListener
JSONParser.value()
.
The default implementation does nothing.
exitValue
in interface JSONListener
exitValue
in class JSONBaseListener
ctx
- the parse tree