namespace Rubberduck.InternalApi.Model.Document;

public record class BlockFoldingInfo : NamedDocumentOffset
{
    public BlockFoldingInfo(string name, DocumentOffset offset, bool isDefinition = false)
        : base(name, offset)
    {
        IsDefinition = isDefinition;
    }

    /// <summary>
    /// <c>True</c> if this block is folding a symbol's definition.
    /// </summary>
    public bool IsDefinition { get; }
}
