Interface IJSON5Visitor<Result>
This interface defines a complete generic visitor for a parse tree produced by JSON5Parser.
Namespace: GCore.Antlr.Grammers.Json5
Assembly: Json5.dll
Syntax
public interface IJSON5Visitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitArr(JSON5Parser.ArrContext)
Visit a parse tree produced by arr().
Declaration
Result VisitArr(JSON5Parser.ArrContext context)
Parameters
Type | Name | Description |
---|---|---|
JSON5Parser.ArrContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitJson5(JSON5Parser.Json5Context)
Visit a parse tree produced by json5().
Declaration
Result VisitJson5(JSON5Parser.Json5Context context)
Parameters
Type | Name | Description |
---|---|---|
JSON5Parser.Json5Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKey(JSON5Parser.KeyContext)
Visit a parse tree produced by key().
Declaration
Result VisitKey(JSON5Parser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
JSON5Parser.KeyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumber(JSON5Parser.NumberContext)
Visit a parse tree produced by number().
Declaration
Result VisitNumber(JSON5Parser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
JSON5Parser.NumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitObj(JSON5Parser.ObjContext)
Visit a parse tree produced by obj().
Declaration
Result VisitObj(JSON5Parser.ObjContext context)
Parameters
Type | Name | Description |
---|---|---|
JSON5Parser.ObjContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPair(JSON5Parser.PairContext)
Visit a parse tree produced by pair().
Declaration
Result VisitPair(JSON5Parser.PairContext context)
Parameters
Type | Name | Description |
---|---|---|
JSON5Parser.PairContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitValue(JSON5Parser.ValueContext)
Visit a parse tree produced by value().
Declaration
Result VisitValue(JSON5Parser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
JSON5Parser.ValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |