public class JSONBaseListener extends Object implements JSONListener
This class provides an empty implementation of 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 |
enterArray(JSONParser.ArrayContext ctx)
Enter a parse tree produced by
JSONParser.array(). |
void |
enterArrayElements(JSONParser.ArrayElementsContext ctx)
Enter a parse tree produced by
JSONParser.arrayElements(). |
void |
enterDocument(JSONParser.DocumentContext ctx)
Enter a parse tree produced by
JSONParser.document(). |
void |
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
<p>The default implementation does nothing.
|
void |
enterKeyValuePair(JSONParser.KeyValuePairContext ctx)
Enter a parse tree produced by
JSONParser.keyValuePair(). |
void |
enterObject(JSONParser.ObjectContext ctx)
Enter a parse tree produced by
JSONParser.object(). |
void |
enterScalarValue(JSONParser.ScalarValueContext ctx)
Enter a parse tree produced by
JSONParser.scalarValue(). |
void |
enterValue(JSONParser.ValueContext ctx)
Enter a parse tree produced by
JSONParser.value(). |
void |
exitArray(JSONParser.ArrayContext ctx)
Exit a parse tree produced by
JSONParser.array(). |
void |
exitArrayElements(JSONParser.ArrayElementsContext ctx)
Exit a parse tree produced by
JSONParser.arrayElements(). |
void |
exitDocument(JSONParser.DocumentContext ctx)
Exit a parse tree produced by
JSONParser.document(). |
void |
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
<p>The default implementation does nothing.
|
void |
exitKeyValuePair(JSONParser.KeyValuePairContext ctx)
Exit a parse tree produced by
JSONParser.keyValuePair(). |
void |
exitObject(JSONParser.ObjectContext ctx)
Exit a parse tree produced by
JSONParser.object(). |
void |
exitScalarValue(JSONParser.ScalarValueContext ctx)
Exit a parse tree produced by
JSONParser.scalarValue(). |
void |
exitValue(JSONParser.ValueContext ctx)
Exit a parse tree produced by
JSONParser.value(). |
void |
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
<p>The default implementation does nothing.
|
void |
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
<p>The default implementation does nothing.
|
public void enterDocument(JSONParser.DocumentContext ctx)
Enter a parse tree produced by JSONParser.document().
<p>The default implementation does nothing.</p>
enterDocument in interface JSONListenerctx - the parse treepublic void exitDocument(JSONParser.DocumentContext ctx)
Exit a parse tree produced by JSONParser.document().
<p>The default implementation does nothing.</p>
exitDocument in interface JSONListenerctx - the parse treepublic void enterObject(JSONParser.ObjectContext ctx)
Enter a parse tree produced by JSONParser.object().
<p>The default implementation does nothing.</p>
enterObject in interface JSONListenerctx - the parse treepublic void exitObject(JSONParser.ObjectContext ctx)
Exit a parse tree produced by JSONParser.object().
<p>The default implementation does nothing.</p>
exitObject in interface JSONListenerctx - the parse treepublic void enterKeyValuePair(JSONParser.KeyValuePairContext ctx)
Enter a parse tree produced by JSONParser.keyValuePair().
<p>The default implementation does nothing.</p>
enterKeyValuePair in interface JSONListenerctx - the parse treepublic void exitKeyValuePair(JSONParser.KeyValuePairContext ctx)
Exit a parse tree produced by JSONParser.keyValuePair().
<p>The default implementation does nothing.</p>
exitKeyValuePair in interface JSONListenerctx - the parse treepublic void enterArrayElements(JSONParser.ArrayElementsContext ctx)
Enter a parse tree produced by JSONParser.arrayElements().
<p>The default implementation does nothing.</p>
enterArrayElements in interface JSONListenerctx - the parse treepublic void exitArrayElements(JSONParser.ArrayElementsContext ctx)
Exit a parse tree produced by JSONParser.arrayElements().
<p>The default implementation does nothing.</p>
exitArrayElements in interface JSONListenerctx - the parse treepublic void enterArray(JSONParser.ArrayContext ctx)
Enter a parse tree produced by JSONParser.array().
<p>The default implementation does nothing.</p>
enterArray in interface JSONListenerctx - the parse treepublic void exitArray(JSONParser.ArrayContext ctx)
Exit a parse tree produced by JSONParser.array().
<p>The default implementation does nothing.</p>
exitArray in interface JSONListenerctx - the parse treepublic void enterValue(JSONParser.ValueContext ctx)
Enter a parse tree produced by JSONParser.value().
<p>The default implementation does nothing.</p>
enterValue in interface JSONListenerctx - the parse treepublic void exitValue(JSONParser.ValueContext ctx)
Exit a parse tree produced by JSONParser.value().
<p>The default implementation does nothing.</p>
exitValue in interface JSONListenerctx - the parse treepublic void enterScalarValue(JSONParser.ScalarValueContext ctx)
Enter a parse tree produced by JSONParser.scalarValue().
<p>The default implementation does nothing.</p>
enterScalarValue in interface JSONListenerctx - the parse treepublic void exitScalarValue(JSONParser.ScalarValueContext ctx)
Exit a parse tree produced by JSONParser.scalarValue().
<p>The default implementation does nothing.</p>
exitScalarValue in interface JSONListenerctx - the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
<p>The default implementation does nothing.</p>
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
<p>The default implementation does nothing.</p>
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
<p>The default implementation does nothing.</p>
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
<p>The default implementation does nothing.</p>
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListenerCopyright © 2016–2021 jQAssistant Development Team. All rights reserved.