* Whitespace token. Caller advances past the leading code point so * `start = pos - 1`. * @param {string} input input * @param {number} pos position just past the first whitespace code point * @param {MutableToken} out token to populate * @returns {MutableToken | undefined} the resulting token,
(input, pos, out)
| 611 | * @returns {MutableToken | undefined} the resulting token, or undefined at EOF |
| 612 | */ |
| 613 | function consumeSpace(input, pos, out) { |
| 614 | const start = pos - 1; |
| 615 | while (_isWhiteSpace(input.charCodeAt(pos))) pos++; |
| 616 | return fill(out, TT_WHITESPACE, start, pos); |
| 617 | } |
| 618 | |
| 619 | /** |
| 620 | * Consume a string token. Caller advanced past the opening quote so |
no test coverage detected