All checks were successful
Run the JSON parser tests / test (push) Has been skipped
12 lines
291 B
C#
12 lines
291 B
C#
namespace Jtr.Parsing.Json.Syntax;
|
|
|
|
public readonly struct JsonStringSyntax : IJsonSyntax
|
|
{
|
|
public Lexer<JsonToken>.Token Token { get; }
|
|
public string Value => Token.Lexeme;
|
|
|
|
public JsonStringSyntax(Lexer<JsonToken>.Token token)
|
|
{
|
|
Token = token;
|
|
}
|
|
} |