oxc/crates/oxc_parser/src
overlookmotel a78303d5a6
refactor(parser): continue_if in byte_search macro not unsafe (#2440)
#2439 made using `continue_if` in `byte_search!` macro safe, as it no longer continues the main loop after a match, so no danger of reading out of bounds if `continue_if` code fast-forwards the current position.

This follow-on PR removes the unsafe blocks, and uses that fast-forward ability in a couple of places.
2024-02-20 10:45:31 +08:00
..
js fix(parser): incorrect parsing of class accessor property name (#2386) 2024-02-11 22:57:13 +08:00
jsx refactor(parser): wrapper type for parser (#2339) 2024-02-07 23:22:08 +08:00
lexer refactor(parser): continue_if in byte_search macro not unsafe (#2440) 2024-02-20 10:45:31 +08:00
ts feat(parser): parse import attributes in TSImportType (#2436) 2024-02-19 12:26:42 +08:00
context.rs fix(parser): false postive for "Missing initializer in const declaration" in declare + namespace (#1724) 2023-12-18 17:03:42 +08:00
cursor.rs refactor(parser): make Source::set_position safe (#2341) 2024-02-08 14:56:26 +08:00
diagnostics.rs feat(parser): recover from async x [newline] => x (#2375) 2024-02-10 11:19:08 +08:00
lib.rs parser(refactor): promise only one Source on a thread at a time (#2340) 2024-02-08 14:51:17 +08:00
list.rs refactor(parser): wrapper type for parser (#2339) 2024-02-07 23:22:08 +08:00
state.rs refactor(ast): change Option<Vec> to Vec for decorators (#84) 2023-03-02 15:52:46 +08:00