org.openrewrite.json.internal.grammar.JSON5Listener 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.tree.ParseTreeListener;
/**
* This interface defines a complete listener for a parse tree produced by
* {@link JSON5Parser}.
*/
public interface JSON5Listener extends ParseTreeListener {
/**
* Enter a parse tree produced by {@link JSON5Parser#json5}.
* @param ctx the parse tree
*/
void enterJson5(JSON5Parser.Json5Context ctx);
/**
* Exit a parse tree produced by {@link JSON5Parser#json5}.
* @param ctx the parse tree
*/
void exitJson5(JSON5Parser.Json5Context ctx);
/**
* Enter a parse tree produced by {@link JSON5Parser#obj}.
* @param ctx the parse tree
*/
void enterObj(JSON5Parser.ObjContext ctx);
/**
* Exit a parse tree produced by {@link JSON5Parser#obj}.
* @param ctx the parse tree
*/
void exitObj(JSON5Parser.ObjContext ctx);
/**
* Enter a parse tree produced by {@link JSON5Parser#member}.
* @param ctx the parse tree
*/
void enterMember(JSON5Parser.MemberContext ctx);
/**
* Exit a parse tree produced by {@link JSON5Parser#member}.
* @param ctx the parse tree
*/
void exitMember(JSON5Parser.MemberContext ctx);
/**
* Enter a parse tree produced by {@link JSON5Parser#key}.
* @param ctx the parse tree
*/
void enterKey(JSON5Parser.KeyContext ctx);
/**
* Exit a parse tree produced by {@link JSON5Parser#key}.
* @param ctx the parse tree
*/
void exitKey(JSON5Parser.KeyContext ctx);
/**
* Enter a parse tree produced by {@link JSON5Parser#value}.
* @param ctx the parse tree
*/
void enterValue(JSON5Parser.ValueContext ctx);
/**
* Exit a parse tree produced by {@link JSON5Parser#value}.
* @param ctx the parse tree
*/
void exitValue(JSON5Parser.ValueContext ctx);
/**
* Enter a parse tree produced by {@link JSON5Parser#arr}.
* @param ctx the parse tree
*/
void enterArr(JSON5Parser.ArrContext ctx);
/**
* Exit a parse tree produced by {@link JSON5Parser#arr}.
* @param ctx the parse tree
*/
void exitArr(JSON5Parser.ArrContext ctx);
/**
* Enter a parse tree produced by {@link JSON5Parser#number}.
* @param ctx the parse tree
*/
void enterNumber(JSON5Parser.NumberContext ctx);
/**
* Exit a parse tree produced by {@link JSON5Parser#number}.
* @param ctx the parse tree
*/
void exitNumber(JSON5Parser.NumberContext ctx);
}