| // Generated from Json.g4 by ANTLR 4.5.3 |
| |
| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you 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 |
| * |
| * http://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. |
| */ |
| package org.netbeans.modules.javascript2.json.parser; |
| |
| import org.antlr.v4.runtime.tree.ParseTreeListener; |
| |
| /** |
| * This interface defines a complete listener for a parse tree produced by |
| * {@link JsonParser}. |
| */ |
| public interface JsonListener extends ParseTreeListener { |
| /** |
| * Enter a parse tree produced by {@link JsonParser#json}. |
| * @param ctx the parse tree |
| */ |
| void enterJson(JsonParser.JsonContext ctx); |
| /** |
| * Exit a parse tree produced by {@link JsonParser#json}. |
| * @param ctx the parse tree |
| */ |
| void exitJson(JsonParser.JsonContext ctx); |
| /** |
| * Enter a parse tree produced by {@link JsonParser#value}. |
| * @param ctx the parse tree |
| */ |
| void enterValue(JsonParser.ValueContext ctx); |
| /** |
| * Exit a parse tree produced by {@link JsonParser#value}. |
| * @param ctx the parse tree |
| */ |
| void exitValue(JsonParser.ValueContext ctx); |
| /** |
| * Enter a parse tree produced by {@link JsonParser#object}. |
| * @param ctx the parse tree |
| */ |
| void enterObject(JsonParser.ObjectContext ctx); |
| /** |
| * Exit a parse tree produced by {@link JsonParser#object}. |
| * @param ctx the parse tree |
| */ |
| void exitObject(JsonParser.ObjectContext ctx); |
| /** |
| * Enter a parse tree produced by {@link JsonParser#pair}. |
| * @param ctx the parse tree |
| */ |
| void enterPair(JsonParser.PairContext ctx); |
| /** |
| * Exit a parse tree produced by {@link JsonParser#pair}. |
| * @param ctx the parse tree |
| */ |
| void exitPair(JsonParser.PairContext ctx); |
| /** |
| * Enter a parse tree produced by {@link JsonParser#key}. |
| * @param ctx the parse tree |
| */ |
| void enterKey(JsonParser.KeyContext ctx); |
| /** |
| * Exit a parse tree produced by {@link JsonParser#key}. |
| * @param ctx the parse tree |
| */ |
| void exitKey(JsonParser.KeyContext ctx); |
| /** |
| * Enter a parse tree produced by {@link JsonParser#array}. |
| * @param ctx the parse tree |
| */ |
| void enterArray(JsonParser.ArrayContext ctx); |
| /** |
| * Exit a parse tree produced by {@link JsonParser#array}. |
| * @param ctx the parse tree |
| */ |
| void exitArray(JsonParser.ArrayContext ctx); |
| } |