Past the blanks at `i`.
(text: string, i: number)
| 204 | |
| 205 | /** Past the blanks at `i`. */ |
| 206 | function skipBlank(text: string, i: number): number { |
| 207 | while (i < text.length && /\s/.test(text[i]!)) i++; |
| 208 | return i; |
| 209 | } |
| 210 | |
| 211 | /** The end of the identifier at `i`, or -1. */ |
| 212 | function wordEnd(text: string, i: number): number { |
no outgoing calls
no test coverage detected