json.JSONTreeBaseListener Maven / Gradle / Ivy
Show all versions of xpresso Show documentation
// Generated from JSONTree.g by ANTLR 4.5
package com.wantedtech.common.xpresso.json2;
import com.wantedtech.common.xpresso.types.*;
import com.wantedtech.common.xpresso.x;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.TerminalNode;
/**
* This class provides an empty implementation of {@link JSONTreeListener},
* which can be extended to create a listener which only needs to handle a subset
* of the available methods.
*/
public class JSONTreeBaseListener implements JSONTreeListener {
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterValue(JSONTreeParser.ValueContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitValue(JSONTreeParser.ValueContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterString(JSONTreeParser.StringContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitString(JSONTreeParser.StringContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterObject(JSONTreeParser.ObjectContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitObject(JSONTreeParser.ObjectContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterNumber(JSONTreeParser.NumberContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitNumber(JSONTreeParser.NumberContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterArray(JSONTreeParser.ArrayContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitArray(JSONTreeParser.ArrayContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterElements(JSONTreeParser.ElementsContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitElements(JSONTreeParser.ElementsContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterMembers(JSONTreeParser.MembersContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitMembers(JSONTreeParser.MembersContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterPair(JSONTreeParser.PairContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitPair(JSONTreeParser.PairContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterEveryRule(ParserRuleContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitEveryRule(ParserRuleContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void visitTerminal(TerminalNode node) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void visitErrorNode(ErrorNode node) { }
}