(p: SectionPart, next: SectionPart | undefined, end: number)
| 7313 | * the member's lines from there to the next part shown, or to its end. |
| 7314 | */ |
| 7315 | const cutNoteOf = (p: SectionPart, next: SectionPart | undefined, end: number): string => { |
| 7316 | const cut = p.cut!; |
| 7317 | const holeEnd = Math.min(cut.hostEnd, next ? next.range.start - 1 : Infinity); |
| 7318 | return holeEnd > end ? elidedBodyNote(filePath, cut.host, end + 1, holeEnd) : ''; |
| 7319 | }; |
| 7320 | /** |
| 7321 | * Each cut part's note written again from its `cut`, for after a part |
| 7322 | * behind it was dropped: the hole it names now runs on to the next part |
nothing calls this directly
no test coverage detected