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,JsonParserVisitor
public interface JSON5Visitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
JSON5Parser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byJSON5Parser.arr().Visit a parse tree produced byJSON5Parser.json5().Visit a parse tree produced byJSON5Parser.key().Visit a parse tree produced byJSON5Parser.member().Visit a parse tree produced byJSON5Parser.number().Visit a parse tree produced byJSON5Parser.obj().Visit a parse tree produced byJSON5Parser.value().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitJson5
Visit a parse tree produced byJSON5Parser.json5().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObj
Visit a parse tree produced byJSON5Parser.obj().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMember
Visit a parse tree produced byJSON5Parser.member().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKey
Visit a parse tree produced byJSON5Parser.key().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byJSON5Parser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArr
Visit a parse tree produced byJSON5Parser.arr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumber
Visit a parse tree produced byJSON5Parser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-