(text: string)
| 434 | } |
| 435 | |
| 436 | function withoutComments(text: string): string { |
| 437 | return text.replace(/\/\*[\s\S]*?\*\//g, ' ').replace(/\/\/[^\n]*/g, ' '); |
| 438 | } |
| 439 | |
| 440 | /** A spliced directive without the `//` comment that ends it, one in a string literal aside. */ |
| 441 | function withoutLineComment(text: string): string { |
nothing calls this directly
no outgoing calls
no test coverage detected