Package org.reploop.parser.json.base
Interface JsonBaseVisitor<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:
JsonAstBuilder,JsonBaseBaseVisitor
public interface JsonBaseVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>This interface defines a complete generic visitor for a parse tree produced byJsonBaseParser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitArr(JsonBaseParser.ArrContext ctx)Visit a parse tree produced byJsonBaseParser.arr().TvisitArrValue(JsonBaseParser.ArrValueContext ctx)Visit a parse tree produced by thearrValuelabeled alternative inJsonBaseParser.value().TvisitFalseValue(JsonBaseParser.FalseValueContext ctx)Visit a parse tree produced by thefalseValuelabeled alternative inJsonBaseParser.value().TvisitJson(JsonBaseParser.JsonContext ctx)Visit a parse tree produced byJsonBaseParser.json().TvisitNullValue(JsonBaseParser.NullValueContext ctx)Visit a parse tree produced by thenullValuelabeled alternative inJsonBaseParser.value().TvisitNumberValue(JsonBaseParser.NumberValueContext ctx)Visit a parse tree produced by thenumberValuelabeled alternative inJsonBaseParser.value().TvisitObj(JsonBaseParser.ObjContext ctx)Visit a parse tree produced byJsonBaseParser.obj().TvisitObjValue(JsonBaseParser.ObjValueContext ctx)Visit a parse tree produced by theobjValuelabeled alternative inJsonBaseParser.value().TvisitPair(JsonBaseParser.PairContext ctx)Visit a parse tree produced byJsonBaseParser.pair().TvisitStringValue(JsonBaseParser.StringValueContext ctx)Visit a parse tree produced by thestringValuelabeled alternative inJsonBaseParser.value().TvisitTrueValue(JsonBaseParser.TrueValueContext ctx)Visit a parse tree produced by thetrueValuelabeled alternative inJsonBaseParser.value().
-
-
-
Method Detail
-
visitJson
T visitJson(JsonBaseParser.JsonContext ctx)
Visit a parse tree produced byJsonBaseParser.json().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObj
T visitObj(JsonBaseParser.ObjContext ctx)
Visit a parse tree produced byJsonBaseParser.obj().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPair
T visitPair(JsonBaseParser.PairContext ctx)
Visit a parse tree produced byJsonBaseParser.pair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArr
T visitArr(JsonBaseParser.ArrContext ctx)
Visit a parse tree produced byJsonBaseParser.arr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringValue
T visitStringValue(JsonBaseParser.StringValueContext ctx)
Visit a parse tree produced by thestringValuelabeled alternative inJsonBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberValue
T visitNumberValue(JsonBaseParser.NumberValueContext ctx)
Visit a parse tree produced by thenumberValuelabeled alternative inJsonBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjValue
T visitObjValue(JsonBaseParser.ObjValueContext ctx)
Visit a parse tree produced by theobjValuelabeled alternative inJsonBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrValue
T visitArrValue(JsonBaseParser.ArrValueContext ctx)
Visit a parse tree produced by thearrValuelabeled alternative inJsonBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrueValue
T visitTrueValue(JsonBaseParser.TrueValueContext ctx)
Visit a parse tree produced by thetrueValuelabeled alternative inJsonBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFalseValue
T visitFalseValue(JsonBaseParser.FalseValueContext ctx)
Visit a parse tree produced by thefalseValuelabeled alternative inJsonBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullValue
T visitNullValue(JsonBaseParser.NullValueContext ctx)
Visit a parse tree produced by thenullValuelabeled alternative inJsonBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-