org.openrewrite.json.internal.grammar.JSON5BaseListener Maven / Gradle / Ivy
Show all versions of rewrite-json Show documentation
/*
* Copyright 2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated from /Users/jon/Projects/github/openrewrite/rewrite/rewrite-json/src/main/antlr/JSON5.g4 by ANTLR 4.9.2
package org.openrewrite.json.internal.grammar;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.TerminalNode;
/**
* This class provides an empty implementation of {@link JSON5Listener},
* which can be extended to create a listener which only needs to handle a subset
* of the available methods.
*/
public class JSON5BaseListener implements JSON5Listener {
/**
* {@inheritDoc}
*
*
The default implementation does nothing.
*/
@Override public void enterJson5(JSON5Parser.Json5Context ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitJson5(JSON5Parser.Json5Context ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterObj(JSON5Parser.ObjContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitObj(JSON5Parser.ObjContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterMember(JSON5Parser.MemberContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitMember(JSON5Parser.MemberContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterKey(JSON5Parser.KeyContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitKey(JSON5Parser.KeyContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterValue(JSON5Parser.ValueContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitValue(JSON5Parser.ValueContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterArr(JSON5Parser.ArrContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitArr(JSON5Parser.ArrContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void enterNumber(JSON5Parser.NumberContext ctx) { }
/**
* {@inheritDoc}
*
* The default implementation does nothing.
*/
@Override public void exitNumber(JSON5Parser.NumberContext 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) { }
}