(input: string)
| 454 | } |
| 455 | |
| 456 | private _stripComments(input: string): {stripped: string; hasComments: boolean} { |
| 457 | const i = this._commentStart(input); |
| 458 | return i != null |
| 459 | ? {stripped: input.substring(0, i), hasComments: true} |
| 460 | : {stripped: input, hasComments: false}; |
| 461 | } |
| 462 | |
| 463 | private _commentStart(input: string): number | null { |
| 464 | let outerQuote: number | null = null; |
no test coverage detected