All checks were successful
Run the JSON parser tests / test (push) Has been skipped
14 lines
376 B
C#
14 lines
376 B
C#
namespace Jtr.Parsing.Json.Syntax;
|
|
|
|
public readonly struct JsonPropertySyntax : IJsonSyntax
|
|
{
|
|
public Lexer<JsonToken>.Token Token => Key;
|
|
public Lexer<JsonToken>.Token Key { get; }
|
|
public IJsonSyntax Value { get; }
|
|
|
|
public JsonPropertySyntax(Lexer<JsonToken>.Token key, IJsonSyntax value)
|
|
{
|
|
Key = key;
|
|
Value = value;
|
|
}
|
|
} |