(input: string)
| 446 | } |
| 447 | |
| 448 | private _stripComments(input: string): {stripped: string; hasComments: boolean} { |
| 449 | const i = this._commentStart(input); |
| 450 | return i != null |
| 451 | ? {stripped: input.substring(0, i), hasComments: true} |
| 452 | : {stripped: input, hasComments: false}; |
| 453 | } |
| 454 | |
| 455 | private _commentStart(input: string): number | null { |
| 456 | let outerQuote: number | null = null; |
no test coverage detected