namespace Spectre.Console.Json.Syntax;
///
/// Represents a boolean literal in the JSON abstract syntax tree.
///
public sealed class JsonBoolean : JsonSyntax
{
///
/// Gets the lexeme.
///
public string Lexeme { get; }
///
/// Initializes a new instance of the class.
///
/// The lexeme.
public JsonBoolean(string lexeme)
{
Lexeme = lexeme;
}
internal override void Accept(JsonSyntaxVisitor visitor, T context)
{
visitor.VisitBoolean(this, context);
}
}