T - The return type of the visit operation. Use Void for
operations with no return type.public interface JSONVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
JSONParser.| Modifier and Type | Method and Description |
|---|---|
T |
visitArray(JSONParser.ArrayContext ctx)
Visit a parse tree produced by
JSONParser.array(). |
T |
visitJson(JSONParser.JsonContext ctx)
Visit a parse tree produced by
JSONParser.json(). |
T |
visitObject(JSONParser.ObjectContext ctx)
Visit a parse tree produced by
JSONParser.object(). |
T |
visitPair(JSONParser.PairContext ctx)
Visit a parse tree produced by
JSONParser.pair(). |
T |
visitValue(JSONParser.ValueContext ctx)
Visit a parse tree produced by
JSONParser.value(). |
T visitArray(@NotNull JSONParser.ArrayContext ctx)
JSONParser.array().ctx - the parse treeT visitJson(@NotNull JSONParser.JsonContext ctx)
JSONParser.json().ctx - the parse treeT visitValue(@NotNull JSONParser.ValueContext ctx)
JSONParser.value().ctx - the parse treeT visitPair(@NotNull JSONParser.PairContext ctx)
JSONParser.pair().ctx - the parse treeT visitObject(@NotNull JSONParser.ObjectContext ctx)
JSONParser.object().ctx - the parse tree