Package org.reploop.parser.json.base
Interface JSON5Visitor<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:
JSON5BaseVisitor
public interface JSON5Visitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>This interface defines a complete generic visitor for a parse tree produced byJSON5Parser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitArr(JSON5Parser.ArrContext ctx)Visit a parse tree produced byJSON5Parser.arr().TvisitJson5(JSON5Parser.Json5Context ctx)Visit a parse tree produced byJSON5Parser.json5().TvisitKey(JSON5Parser.KeyContext ctx)Visit a parse tree produced byJSON5Parser.key().TvisitNumber(JSON5Parser.NumberContext ctx)Visit a parse tree produced byJSON5Parser.number().TvisitObj(JSON5Parser.ObjContext ctx)Visit a parse tree produced byJSON5Parser.obj().TvisitPair(JSON5Parser.PairContext ctx)Visit a parse tree produced byJSON5Parser.pair().TvisitValue(JSON5Parser.ValueContext ctx)Visit a parse tree produced byJSON5Parser.value().
-
-
-
Method Detail
-
visitJson5
T visitJson5(JSON5Parser.Json5Context ctx)
Visit a parse tree produced byJSON5Parser.json5().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObj
T visitObj(JSON5Parser.ObjContext ctx)
Visit a parse tree produced byJSON5Parser.obj().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPair
T visitPair(JSON5Parser.PairContext ctx)
Visit a parse tree produced byJSON5Parser.pair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKey
T visitKey(JSON5Parser.KeyContext ctx)
Visit a parse tree produced byJSON5Parser.key().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
T visitValue(JSON5Parser.ValueContext ctx)
Visit a parse tree produced byJSON5Parser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArr
T visitArr(JSON5Parser.ArrContext ctx)
Visit a parse tree produced byJSON5Parser.arr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumber
T visitNumber(JSON5Parser.NumberContext ctx)
Visit a parse tree produced byJSON5Parser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-