(at: number)
| 1089 | // The few characters before `at`, trailing whitespace skipped: enough for the |
| 1090 | // end-anchored checks below without copying the whole prefix per `/` or `<`. |
| 1091 | const tokenBefore = (at: number): string => { |
| 1092 | let j = at - 1; |
| 1093 | while (j >= 0 && /\s/.test(source[j]!)) j--; |
| 1094 | return source.slice(Math.max(0, j - 11), j + 1); |
| 1095 | }; |
| 1096 | const trivia = (at: number): number => { |
| 1097 | while (at < source.length) { |
| 1098 | if (/\s/.test(source[at]!)) { at++; continue; } |