Show / Hide Table of Contents

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 Source

VisitArr(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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX