Class JSONBaseListener
- java.lang.Object
-
- com.buschmais.jqassistant.plugin.json.impl.parsing.generated.JSONBaseListener
-
- All Implemented Interfaces:
JSONListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class JSONBaseListener extends java.lang.Object implements JSONListener
This class provides an empty implementation ofJSONListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description JSONBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterDocument
public void enterDocument(JSONParser.DocumentContext ctx)
Enter a parse tree produced byJSONParser.document().The default implementation does nothing.
- Specified by:
enterDocumentin interfaceJSONListener- Parameters:
ctx- the parse tree
-
exitDocument
public void exitDocument(JSONParser.DocumentContext ctx)
Exit a parse tree produced byJSONParser.document().The default implementation does nothing.
- Specified by:
exitDocumentin interfaceJSONListener- Parameters:
ctx- the parse tree
-
enterObject
public void enterObject(JSONParser.ObjectContext ctx)
Enter a parse tree produced byJSONParser.object().The default implementation does nothing.
- Specified by:
enterObjectin interfaceJSONListener- Parameters:
ctx- the parse tree
-
exitObject
public void exitObject(JSONParser.ObjectContext ctx)
Exit a parse tree produced byJSONParser.object().The default implementation does nothing.
- Specified by:
exitObjectin interfaceJSONListener- Parameters:
ctx- the parse tree
-
enterKeyValuePair
public void enterKeyValuePair(JSONParser.KeyValuePairContext ctx)
Enter a parse tree produced byJSONParser.keyValuePair().The default implementation does nothing.
- Specified by:
enterKeyValuePairin interfaceJSONListener- Parameters:
ctx- the parse tree
-
exitKeyValuePair
public void exitKeyValuePair(JSONParser.KeyValuePairContext ctx)
Exit a parse tree produced byJSONParser.keyValuePair().The default implementation does nothing.
- Specified by:
exitKeyValuePairin interfaceJSONListener- Parameters:
ctx- the parse tree
-
enterArrayElements
public void enterArrayElements(JSONParser.ArrayElementsContext ctx)
Enter a parse tree produced byJSONParser.arrayElements().The default implementation does nothing.
- Specified by:
enterArrayElementsin interfaceJSONListener- Parameters:
ctx- the parse tree
-
exitArrayElements
public void exitArrayElements(JSONParser.ArrayElementsContext ctx)
Exit a parse tree produced byJSONParser.arrayElements().The default implementation does nothing.
- Specified by:
exitArrayElementsin interfaceJSONListener- Parameters:
ctx- the parse tree
-
enterArray
public void enterArray(JSONParser.ArrayContext ctx)
Enter a parse tree produced byJSONParser.array().The default implementation does nothing.
- Specified by:
enterArrayin interfaceJSONListener- Parameters:
ctx- the parse tree
-
exitArray
public void exitArray(JSONParser.ArrayContext ctx)
Exit a parse tree produced byJSONParser.array().The default implementation does nothing.
- Specified by:
exitArrayin interfaceJSONListener- Parameters:
ctx- the parse tree
-
enterValue
public void enterValue(JSONParser.ValueContext ctx)
Enter a parse tree produced byJSONParser.value().The default implementation does nothing.
- Specified by:
enterValuein interfaceJSONListener- Parameters:
ctx- the parse tree
-
exitValue
public void exitValue(JSONParser.ValueContext ctx)
Exit a parse tree produced byJSONParser.value().The default implementation does nothing.
- Specified by:
exitValuein interfaceJSONListener- Parameters:
ctx- the parse tree
-
enterScalarValue
public void enterScalarValue(JSONParser.ScalarValueContext ctx)
Enter a parse tree produced byJSONParser.scalarValue().The default implementation does nothing.
- Specified by:
enterScalarValuein interfaceJSONListener- Parameters:
ctx- the parse tree
-
exitScalarValue
public void exitScalarValue(JSONParser.ScalarValueContext ctx)
Exit a parse tree produced byJSONParser.scalarValue().The default implementation does nothing.
- Specified by:
exitScalarValuein interfaceJSONListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-