namespace RolemasterDb.CriticalParsing;

public sealed class CriticalCellParseContent(
    IReadOnlyList<string> baseLines,
    string rawCellText,
    string descriptionText,
    string? rawAffixText,
    IReadOnlyList<ParsedCriticalEffect> effects,
    IReadOnlyList<ParsedCriticalBranch> branches,
    IReadOnlyList<string> validationErrors,
    IReadOnlyList<CriticalTokenReviewIssue> tokenReviewIssues)
{
    public IReadOnlyList<string> BaseLines { get; } = baseLines;
    public string RawCellText { get; } = rawCellText;
    public string DescriptionText { get; } = descriptionText;
    public string? RawAffixText { get; } = rawAffixText;
    public IReadOnlyList<ParsedCriticalEffect> Effects { get; } = effects;
    public IReadOnlyList<ParsedCriticalBranch> Branches { get; } = branches;
    public IReadOnlyList<string> ValidationErrors { get; } = validationErrors;
    public IReadOnlyList<CriticalTokenReviewIssue> TokenReviewIssues { get; } = tokenReviewIssues;
}
