Package org.cugos.wkg.internal
Interface JSONVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
JSONBaseVisitor
public interface JSONVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>This interface defines a complete generic visitor for a parse tree produced byJSONParser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitArray(JSONParser.ArrayContext ctx)Visit a parse tree produced byJSONParser.array().TvisitJson(JSONParser.JsonContext ctx)Visit a parse tree produced byJSONParser.json().TvisitObj(JSONParser.ObjContext ctx)Visit a parse tree produced byJSONParser.obj().TvisitPair(JSONParser.PairContext ctx)Visit a parse tree produced byJSONParser.pair().TvisitValue(JSONParser.ValueContext ctx)Visit a parse tree produced byJSONParser.value().
-
-
-
Method Detail
-
visitJson
T visitJson(JSONParser.JsonContext ctx)
Visit a parse tree produced byJSONParser.json().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObj
T visitObj(JSONParser.ObjContext ctx)
Visit a parse tree produced byJSONParser.obj().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPair
T visitPair(JSONParser.PairContext ctx)
Visit a parse tree produced byJSONParser.pair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArray
T visitArray(JSONParser.ArrayContext ctx)
Visit a parse tree produced byJSONParser.array().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
T visitValue(JSONParser.ValueContext ctx)
Visit a parse tree produced byJSONParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-