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