Struct ParserLiteralConversionResult
Describes the deterministic result of converting one parsed simple literal to a supported declared type.
public readonly record struct ParserLiteralConversionResult : IEquatable<ParserLiteralConversionResult>
- Implements
- Inherited Members
- Extension Methods
Properties
Error
Gets the deterministic conversion failure reason, or null after success.
public string? Error { get; init; }
Property Value
Success
Gets whether conversion succeeded.
public required bool Success { get; init; }
Property Value
Value
Gets the converted scalar value, including null for accepted null literals.
public object? Value { get; init; }