public class JSONBaseListener extends Object implements JSONListener
JSONListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
JSONBaseListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
enterArr(JSONParser.ArrContext ctx)
Enter a parse tree produced by
JSONParser.arr(). |
void |
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
enterJson(JSONParser.JsonContext ctx)
Enter a parse tree produced by
JSONParser.json(). |
void |
enterObj(JSONParser.ObjContext ctx)
Enter a parse tree produced by
JSONParser.obj(). |
void |
enterPair(JSONParser.PairContext ctx)
Enter a parse tree produced by
JSONParser.pair(). |
void |
enterValue(JSONParser.ValueContext ctx)
Enter a parse tree produced by
JSONParser.value(). |
void |
exitArr(JSONParser.ArrContext ctx)
Exit a parse tree produced by
JSONParser.arr(). |
void |
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
exitJson(JSONParser.JsonContext ctx)
Exit a parse tree produced by
JSONParser.json(). |
void |
exitObj(JSONParser.ObjContext ctx)
Exit a parse tree produced by
JSONParser.obj(). |
void |
exitPair(JSONParser.PairContext ctx)
Exit a parse tree produced by
JSONParser.pair(). |
void |
exitValue(JSONParser.ValueContext ctx)
Exit a parse tree produced by
JSONParser.value(). |
void |
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) |
void |
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) |
public void enterJson(JSONParser.JsonContext ctx)
JSONParser.json().
The default implementation does nothing.
enterJson in interface JSONListenerctx - the parse treepublic void exitJson(JSONParser.JsonContext ctx)
JSONParser.json().
The default implementation does nothing.
exitJson in interface JSONListenerctx - the parse treepublic void enterObj(JSONParser.ObjContext ctx)
JSONParser.obj().
The default implementation does nothing.
enterObj in interface JSONListenerctx - the parse treepublic void exitObj(JSONParser.ObjContext ctx)
JSONParser.obj().
The default implementation does nothing.
exitObj in interface JSONListenerctx - the parse treepublic void enterPair(JSONParser.PairContext ctx)
JSONParser.pair().
The default implementation does nothing.
enterPair in interface JSONListenerctx - the parse treepublic void exitPair(JSONParser.PairContext ctx)
JSONParser.pair().
The default implementation does nothing.
exitPair in interface JSONListenerctx - the parse treepublic void enterArr(JSONParser.ArrContext ctx)
JSONParser.arr().
The default implementation does nothing.
enterArr in interface JSONListenerctx - the parse treepublic void exitArr(JSONParser.ArrContext ctx)
JSONParser.arr().
The default implementation does nothing.
exitArr in interface JSONListenerctx - the parse treepublic void enterValue(JSONParser.ValueContext ctx)
JSONParser.value().
The default implementation does nothing.
enterValue in interface JSONListenerctx - the parse treepublic void exitValue(JSONParser.ValueContext ctx)
JSONParser.value().
The default implementation does nothing.
exitValue in interface JSONListenerctx - the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListenerCopyright © 2021 Markus Heberling. All rights reserved.