oxc/crates/oxc_parser
overlookmotel dd31c6453a
refactor(parser): byte_search macro evaluate to matched byte (#2555)
Change behavior of `byte_search!` macro, to make it easier to understand and use:

1. `handle_match` removed. Macro instead evaluates to the first matching byte.
2. `handle_eof` does not return from enclosing function.
3. Alter syntax to make clear that `continue_if` and `handle_eof` are not closures, so can use `return` statements in them.

These changes enabled by #2552.
2024-03-01 21:28:39 +08:00
..
examples chore(parser): print both AST and errors in examples/parser 2024-02-26 23:20:46 +08:00
src refactor(parser): byte_search macro evaluate to matched byte (#2555) 2024-03-01 21:28:39 +08:00
Cargo.toml Publish crates v0.8.0 2024-02-26 19:01:51 +08:00