(p: SectionPart, next: SectionPart | undefined, end: number)
| 7257 | * the member's lines from there to the next part shown, or to its end. |
| 7258 | */ |
| 7259 | const cutNoteOf = (p: SectionPart, next: SectionPart | undefined, end: number): string => { |
| 7260 | const cut = p.cut!; |
| 7261 | const holeEnd = Math.min(cut.hostEnd, next ? next.range.start - 1 : Infinity); |
| 7262 | return holeEnd > end ? elidedBodyNote(filePath, cut.host, end + 1, holeEnd) : ''; |
| 7263 | }; |
| 7264 | /** |
| 7265 | * Each cut part's note written again from its `cut`, for after a part |
| 7266 | * behind it was dropped: the hole it names now runs on to the next part |
nothing calls this directly
no test coverage detected