(L: Lexer)
| 754 | /** Packed as (b << 16) | i — avoids heap alloc on every backtrack. */ |
| 755 | type LexSave = number |
| 756 | function saveLex(L: Lexer): LexSave { |
| 757 | return L.b * 0x10000 + L.i |
| 758 | } |
| 759 | function restoreLex(L: Lexer, s: LexSave): void { |
| 760 | L.i = s & 0xffff |
| 761 | L.b = s >>> 16 |
no outgoing calls
no test coverage detected