(source: string, start: number)
| 198 | } |
| 199 | |
| 200 | function findClassEnd(source: string, start: number): number { |
| 201 | const openIndex = findClassBodyOpen(source, start) |
| 202 | if (openIndex === -1) return -1 |
| 203 | const closeIndex = findMatchingBrace(source, openIndex) |
| 204 | return closeIndex === -1 ? -1 : closeIndex + 1 |
| 205 | } |
| 206 | |
| 207 | function modelSchemaPrefix(classText: string): string { |
| 208 | const match = /\bextends\s+((?:[A-Za-z_$][\w$]*\.)?)(?:Opaque|OpaqueType|OpaqueShape)\s*</.exec(classText) |
no test coverage detected
searching dependent graphs…