Show / Hide Table of Contents

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 Source

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

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

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

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

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

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

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