namespace AspClassic.Parser;
///
/// A parse tree for a character literal expression.
///
public sealed class CharacterLiteralExpression : LiteralExpression
{
private readonly char _Literal;
///
/// The literal value.
///
public char Literal => _Literal;
public override object Value => _Literal;
///
/// Constructs a new parse tree for a character literal expression.
///
/// The literal value.
/// The location of the parse tree.
public CharacterLiteralExpression(char literal, Span span)
: base(TreeType.CharacterLiteralExpression, span)
{
_Literal = literal;
}
}