Files
spectre.console/src/Extensions/Spectre.Console.Json/JsonToken.cs
Patrik Svensson 45799107a3 Remove Spectre.Console.Cli from repository
* Move Spectre.Console.Cli to its own repository
* Update build script to use Cake.Sdk and .NET Make
* Remove StyleCop (unmaintained)
* Add linting using dotnet format
* Fix generator which was broken
* Update dependencies
2025-11-12 20:56:48 +01:00

13 lines
307 B
C#

namespace Spectre.Console.Json;
internal sealed class JsonToken
{
public JsonTokenType Type { get; }
public string Lexeme { get; }
public JsonToken(JsonTokenType type, string lexeme)
{
Type = type;
Lexeme = lexeme ?? throw new ArgumentNullException(nameof(lexeme));
}
}