oxc/crates/oxc_regular_expression/src
branchseer ac4f98e376
refactor(span): derive Copy on Atom (#8596)
Follow up from
https://github.com/oxc-project/oxc/pull/8543#discussion_r1918592423

> I agree. https://github.com/oxc-project/backlog/issues/155

> Originally we were considering some form of interning and
reference-counting, so we didn't make it Copy to leave the door open for
that. But now all strings are stored in the arena anyway, so even if we
did decide to intern strings, reference-counting would be irrelevant -
our bump allocator doesn't allow freeing individual allocations anyway.

Most of the changes are done automatically by `just fix` (`cargo clippy
--fix` && `cargo fmt --all`). See the commit list for the manual edits.
2025-01-19 16:14:23 +08:00
..
ast_impl refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
generated refactor(ast, regular_expression): shorten ContentEq implementations (#8519) 2025-01-17 06:24:08 +00:00
parser refactor(span): derive Copy on Atom (#8596) 2025-01-19 16:14:23 +08:00
ast.rs feat(ast, span, syntax, regular_expression)!: remove ContentHash (#8512) 2025-01-15 15:01:14 +00:00
diagnostics.rs feat(regular_expression): Intro ConstructorParser(and LiteralParser) to handle escape sequence in RegExp('pat') (#6635) 2024-10-21 07:07:27 +00:00
lib.rs feat(ast)!: remove unused and not useful ContentHash (#8483) 2025-01-14 09:53:27 +00:00
options.rs feat(regular_expression): Intro ConstructorParser(and LiteralParser) to handle escape sequence in RegExp('pat') (#6635) 2024-10-21 07:07:27 +00:00
surrogate_pair.rs