(val: string)
| 374 | } |
| 375 | |
| 376 | protected quote(val: string) { |
| 377 | const backtick = val.startsWith(`'`) || val.includes('\n'); |
| 378 | /* v8 ignore next */ |
| 379 | return backtick ? `\`${val.replaceAll('`', '\\``')}\`` : `'${val.replaceAll(`'`, `\\'`)}'`; |
| 380 | } |
| 381 | |
| 382 | protected getPropertyDefinition(prop: EntityProperty, padLeft: number): string { |
| 383 | const padding = ' '.repeat(padLeft); |
no outgoing calls
no test coverage detected