public class JSONBaseListener extends java.lang.Object implements JSONListener
JSONListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.| 构造器和说明 |
|---|
JSONBaseListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
enterArray(JSONParser.ArrayContext ctx)
Enter a parse tree produced by
JSONParser.array(). |
void |
enterArrayValue(JSONParser.ArrayValueContext ctx)
Enter a parse tree produced by the
ArrayValue
labeled alternative in JSONParser.value(). |
void |
enterBOOLEANFALSE(JSONParser.BOOLEANFALSEContext ctx)
Enter a parse tree produced by the
BOOLEANFALSE
labeled alternative in JSONParser.value(). |
void |
enterBOOLEANTRUE(JSONParser.BOOLEANTRUEContext ctx)
Enter a parse tree produced by the
BOOLEANTRUE
labeled alternative in JSONParser.value(). |
void |
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
|
void |
enterJsonArray(JSONParser.JsonArrayContext ctx)
Enter a parse tree produced by the
JsonArray
labeled alternative in JSONParser.json(). |
void |
enterJsonObject(JSONParser.JsonObjectContext ctx)
Enter a parse tree produced by the
JsonObject
labeled alternative in JSONParser.json(). |
void |
enterNULL(JSONParser.NULLContext ctx)
Enter a parse tree produced by the
NULL
labeled alternative in JSONParser.value(). |
void |
enterNUMBER(JSONParser.NUMBERContext ctx)
Enter a parse tree produced by the
NUMBER
labeled alternative in JSONParser.value(). |
void |
enterObject(JSONParser.ObjectContext ctx)
Enter a parse tree produced by
JSONParser.object(). |
void |
enterObjectValue(JSONParser.ObjectValueContext ctx)
Enter a parse tree produced by the
ObjectValue
labeled alternative in JSONParser.value(). |
void |
enterPair(JSONParser.PairContext ctx)
Enter a parse tree produced by
JSONParser.pair(). |
void |
enterString(JSONParser.StringContext ctx)
Enter a parse tree produced by the
String
labeled alternative in JSONParser.value(). |
void |
exitArray(JSONParser.ArrayContext ctx)
Exit a parse tree produced by
JSONParser.array(). |
void |
exitArrayValue(JSONParser.ArrayValueContext ctx)
Exit a parse tree produced by the
ArrayValue
labeled alternative in JSONParser.value(). |
void |
exitBOOLEANFALSE(JSONParser.BOOLEANFALSEContext ctx)
Exit a parse tree produced by the
BOOLEANFALSE
labeled alternative in JSONParser.value(). |
void |
exitBOOLEANTRUE(JSONParser.BOOLEANTRUEContext ctx)
Exit a parse tree produced by the
BOOLEANTRUE
labeled alternative in JSONParser.value(). |
void |
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
|
void |
exitJsonArray(JSONParser.JsonArrayContext ctx)
Exit a parse tree produced by the
JsonArray
labeled alternative in JSONParser.json(). |
void |
exitJsonObject(JSONParser.JsonObjectContext ctx)
Exit a parse tree produced by the
JsonObject
labeled alternative in JSONParser.json(). |
void |
exitNULL(JSONParser.NULLContext ctx)
Exit a parse tree produced by the
NULL
labeled alternative in JSONParser.value(). |
void |
exitNUMBER(JSONParser.NUMBERContext ctx)
Exit a parse tree produced by the
NUMBER
labeled alternative in JSONParser.value(). |
void |
exitObject(JSONParser.ObjectContext ctx)
Exit a parse tree produced by
JSONParser.object(). |
void |
exitObjectValue(JSONParser.ObjectValueContext ctx)
Exit a parse tree produced by the
ObjectValue
labeled alternative in JSONParser.value(). |
void |
exitPair(JSONParser.PairContext ctx)
Exit a parse tree produced by
JSONParser.pair(). |
void |
exitString(JSONParser.StringContext ctx)
Exit a parse tree produced by the
String
labeled alternative in JSONParser.value(). |
void |
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
|
void |
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
|
public void enterJsonObject(JSONParser.JsonObjectContext ctx)
JsonObject
labeled alternative in JSONParser.json().
The default implementation does nothing.
enterJsonObject 在接口中 JSONListenerctx - the parse treepublic void exitJsonObject(JSONParser.JsonObjectContext ctx)
JsonObject
labeled alternative in JSONParser.json().
The default implementation does nothing.
exitJsonObject 在接口中 JSONListenerctx - the parse treepublic void enterJsonArray(JSONParser.JsonArrayContext ctx)
JsonArray
labeled alternative in JSONParser.json().
The default implementation does nothing.
enterJsonArray 在接口中 JSONListenerctx - the parse treepublic void exitJsonArray(JSONParser.JsonArrayContext ctx)
JsonArray
labeled alternative in JSONParser.json().
The default implementation does nothing.
exitJsonArray 在接口中 JSONListenerctx - the parse treepublic void enterObject(JSONParser.ObjectContext ctx)
JSONParser.object().
The default implementation does nothing.
enterObject 在接口中 JSONListenerctx - the parse treepublic void exitObject(JSONParser.ObjectContext ctx)
JSONParser.object().
The default implementation does nothing.
exitObject 在接口中 JSONListenerctx - the parse treepublic void enterPair(JSONParser.PairContext ctx)
JSONParser.pair().
The default implementation does nothing.
enterPair 在接口中 JSONListenerctx - the parse treepublic void exitPair(JSONParser.PairContext ctx)
JSONParser.pair().
The default implementation does nothing.
exitPair 在接口中 JSONListenerctx - the parse treepublic void enterArray(JSONParser.ArrayContext ctx)
JSONParser.array().
The default implementation does nothing.
enterArray 在接口中 JSONListenerctx - the parse treepublic void exitArray(JSONParser.ArrayContext ctx)
JSONParser.array().
The default implementation does nothing.
exitArray 在接口中 JSONListenerctx - the parse treepublic void enterString(JSONParser.StringContext ctx)
String
labeled alternative in JSONParser.value().
The default implementation does nothing.
enterString 在接口中 JSONListenerctx - the parse treepublic void exitString(JSONParser.StringContext ctx)
String
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitString 在接口中 JSONListenerctx - the parse treepublic void enterNUMBER(JSONParser.NUMBERContext ctx)
NUMBER
labeled alternative in JSONParser.value().
The default implementation does nothing.
enterNUMBER 在接口中 JSONListenerctx - the parse treepublic void exitNUMBER(JSONParser.NUMBERContext ctx)
NUMBER
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitNUMBER 在接口中 JSONListenerctx - the parse treepublic void enterObjectValue(JSONParser.ObjectValueContext ctx)
ObjectValue
labeled alternative in JSONParser.value().
The default implementation does nothing.
enterObjectValue 在接口中 JSONListenerctx - the parse treepublic void exitObjectValue(JSONParser.ObjectValueContext ctx)
ObjectValue
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitObjectValue 在接口中 JSONListenerctx - the parse treepublic void enterArrayValue(JSONParser.ArrayValueContext ctx)
ArrayValue
labeled alternative in JSONParser.value().
The default implementation does nothing.
enterArrayValue 在接口中 JSONListenerctx - the parse treepublic void exitArrayValue(JSONParser.ArrayValueContext ctx)
ArrayValue
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitArrayValue 在接口中 JSONListenerctx - the parse treepublic void enterBOOLEANTRUE(JSONParser.BOOLEANTRUEContext ctx)
BOOLEANTRUE
labeled alternative in JSONParser.value().
The default implementation does nothing.
enterBOOLEANTRUE 在接口中 JSONListenerctx - the parse treepublic void exitBOOLEANTRUE(JSONParser.BOOLEANTRUEContext ctx)
BOOLEANTRUE
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitBOOLEANTRUE 在接口中 JSONListenerctx - the parse treepublic void enterBOOLEANFALSE(JSONParser.BOOLEANFALSEContext ctx)
BOOLEANFALSE
labeled alternative in JSONParser.value().
The default implementation does nothing.
enterBOOLEANFALSE 在接口中 JSONListenerctx - the parse treepublic void exitBOOLEANFALSE(JSONParser.BOOLEANFALSEContext ctx)
BOOLEANFALSE
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitBOOLEANFALSE 在接口中 JSONListenerctx - the parse treepublic void enterNULL(JSONParser.NULLContext ctx)
NULL
labeled alternative in JSONParser.value().
The default implementation does nothing.
enterNULL 在接口中 JSONListenerctx - the parse treepublic void exitNULL(JSONParser.NULLContext ctx)
NULL
labeled alternative in JSONParser.value().
The default implementation does nothing.
exitNULL 在接口中 JSONListenerctx - the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule 在接口中 org.antlr.v4.runtime.tree.ParseTreeListenerpublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule 在接口中 org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal 在接口中 org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode 在接口中 org.antlr.v4.runtime.tree.ParseTreeListenerCopyright © 2016. All Rights Reserved.