Interface IJSONVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by JSONParser.
Namespace: GCore.Antlr.Grammers.Json
Assembly: Json.dll
Syntax
public interface IJSONVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitArr(JSONParser.ArrContext)
Visit a parse tree produced by arr().
Declaration
Result VisitArr(JSONParser.ArrContext context)
Parameters
Type | Name | Description |
---|---|---|
JSONParser.ArrContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitJson(JSONParser.JsonContext)
Visit a parse tree produced by json().
Declaration
Result VisitJson(JSONParser.JsonContext context)
Parameters
Type | Name | Description |
---|---|---|
JSONParser.JsonContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitObj(JSONParser.ObjContext)
Visit a parse tree produced by obj().
Declaration
Result VisitObj(JSONParser.ObjContext context)
Parameters
Type | Name | Description |
---|---|---|
JSONParser.ObjContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPair(JSONParser.PairContext)
Visit a parse tree produced by pair().
Declaration
Result VisitPair(JSONParser.PairContext context)
Parameters
Type | Name | Description |
---|---|---|
JSONParser.PairContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitValue(JSONParser.ValueContext)
Visit a parse tree produced by value().
Declaration
Result VisitValue(JSONParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
JSONParser.ValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |