(L: Lexer, off = 0)
| 160 | } |
| 161 | |
| 162 | function peek(L: Lexer, off = 0): string { |
| 163 | return L.i + off < L.len ? L.src[L.i + off]! : '' |
| 164 | } |
| 165 | |
| 166 | function byteAt(L: Lexer, charIdx: number): number { |
| 167 | // Fast path: ASCII-only prefix means char idx == byte idx |
no outgoing calls
no test coverage detected