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