(classText: string)
| 205 | } |
| 206 | |
| 207 | function modelSchemaPrefix(classText: string): string { |
| 208 | const match = /\bextends\s+((?:[A-Za-z_$][\w$]*\.)?)(?:Opaque|OpaqueType|OpaqueShape)\s*</.exec(classText) |
| 209 | return match?.[1] ?? "S." |
| 210 | } |
| 211 | |
| 212 | function schemaName(prefix: string): string { |
| 213 | return prefix.endsWith(".") ? prefix.slice(0, -1) : prefix |
no test coverage detected
searching dependent graphs…