(src: string, k: number)
| 74 | } |
| 75 | |
| 76 | function lineEnd(src: string, k: number): number { |
| 77 | for (let c = src.charCodeAt(k); k < src.length && c !== 10 && c !== 13; c = src.charCodeAt(++k)); |
| 78 | return k; |
| 79 | } |
| 80 | |
| 81 | /** The `/` closing the regex literal opened at `start`, or -1 when it doesn't close on its line. */ |
| 82 | function regexEnd(src: string, start: number): number { |