(span: Span)
| 127 | } |
| 128 | |
| 129 | snippetOf(span: Span): string { |
| 130 | const text = this.textOf(span).replace(/\s*\n\s*/g, " ") |
| 131 | return text.length > 60 ? `${text.slice(0, 59)}…` : text |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | const parse = (id: string, source: string, lang: Lang) => |
no test coverage detected