oxc/crates/oxc_parser
overlookmotel 9e5be78af5 refactor(parser): add Lexer::consume_2_chars (#4569)
Add `Lexer::consume_2_chars` to replace `lexer.consume_char(); lexer.consume_char();`. Mostly this is just neater code, but *may* also help compiler to elide bounds checks when it's preceded by `lexer.peek_2_bytes()`.
2024-07-31 00:28:58 +00:00
..
examples refactor(ast): pass final ScopeFlags into visit_function (#4283) 2024-07-16 07:22:07 +00:00
src refactor(parser): add Lexer::consume_2_chars (#4569) 2024-07-31 00:28:58 +00:00
Cargo.toml Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
CHANGELOG.md Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00