public class JSONTreeBaseListener extends java.lang.Object implements JSONTreeListener
JSONTreeListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.Constructor and Description |
---|
JSONTreeBaseListener() |
public void enterValue(JSONTreeParser.ValueContext ctx)
JSONTreeParser.value()
.
The default implementation does nothing.
enterValue
in interface JSONTreeListener
ctx
- the parse treepublic void exitValue(JSONTreeParser.ValueContext ctx)
JSONTreeParser.value()
.
The default implementation does nothing.
exitValue
in interface JSONTreeListener
ctx
- the parse treepublic void enterString(JSONTreeParser.StringContext ctx)
JSONTreeParser.string()
.
The default implementation does nothing.
enterString
in interface JSONTreeListener
ctx
- the parse treepublic void exitString(JSONTreeParser.StringContext ctx)
JSONTreeParser.string()
.
The default implementation does nothing.
exitString
in interface JSONTreeListener
ctx
- the parse treepublic void enterObject(JSONTreeParser.ObjectContext ctx)
JSONTreeParser.object()
.
The default implementation does nothing.
enterObject
in interface JSONTreeListener
ctx
- the parse treepublic void exitObject(JSONTreeParser.ObjectContext ctx)
JSONTreeParser.object()
.
The default implementation does nothing.
exitObject
in interface JSONTreeListener
ctx
- the parse treepublic void enterNumber(JSONTreeParser.NumberContext ctx)
JSONTreeParser.number()
.
The default implementation does nothing.
enterNumber
in interface JSONTreeListener
ctx
- the parse treepublic void exitNumber(JSONTreeParser.NumberContext ctx)
JSONTreeParser.number()
.
The default implementation does nothing.
exitNumber
in interface JSONTreeListener
ctx
- the parse treepublic void enterArray(JSONTreeParser.ArrayContext ctx)
JSONTreeParser.array()
.
The default implementation does nothing.
enterArray
in interface JSONTreeListener
ctx
- the parse treepublic void exitArray(JSONTreeParser.ArrayContext ctx)
JSONTreeParser.array()
.
The default implementation does nothing.
exitArray
in interface JSONTreeListener
ctx
- the parse treepublic void enterElements(JSONTreeParser.ElementsContext ctx)
JSONTreeParser.elements()
.
The default implementation does nothing.
enterElements
in interface JSONTreeListener
ctx
- the parse treepublic void exitElements(JSONTreeParser.ElementsContext ctx)
JSONTreeParser.elements()
.
The default implementation does nothing.
exitElements
in interface JSONTreeListener
ctx
- the parse treepublic void enterMembers(JSONTreeParser.MembersContext ctx)
JSONTreeParser.members()
.
The default implementation does nothing.
enterMembers
in interface JSONTreeListener
ctx
- the parse treepublic void exitMembers(JSONTreeParser.MembersContext ctx)
JSONTreeParser.members()
.
The default implementation does nothing.
exitMembers
in interface JSONTreeListener
ctx
- the parse treepublic void enterPair(JSONTreeParser.PairContext ctx)
JSONTreeParser.pair()
.
The default implementation does nothing.
enterPair
in interface JSONTreeListener
ctx
- the parse treepublic void exitPair(JSONTreeParser.PairContext ctx)
JSONTreeParser.pair()
.
The default implementation does nothing.
exitPair
in interface JSONTreeListener
ctx
- the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener