oxc/crates
Ali Rezvani 813226b648
refactor(ast): get rid of unsafe transmutation in VisitMut trait. (#2764)
This will close #2745,

In this PR I attempt to fix this issue using a combination of ideas
discussed in the issue mentioned above, I've created this early draft so
people can pitch in if there is something I should consider doing.

The first goal of this PR is to resolve the issue with the possible
illegal references, As a result of my approach it would also end up with
a bunch of walk_* and walk_*_mut functions to help with the abstraction.
I want to eliminate enter_node and leave_node functions, but I still
haven't started working on it since I first want to familiarize myself
with all of its usage throughout the project. I'm hesitating to do it at
the moment, When we want to do this it would require quite a bit of
refactoring so we should make sure it is probably going to work and end
up being a better implementation.
2024-03-23 13:48:30 +00:00
..
oxc Release crates v0.10.0 2024-03-14 18:23:34 +08:00
oxc_allocator Release crates v0.10.0 2024-03-14 18:23:34 +08:00
oxc_ast refactor(ast): get rid of unsafe transmutation in VisitMut trait. (#2764) 2024-03-23 13:48:30 +00:00
oxc_cli chore: Rust v1.77.0 (#2781) 2024-03-21 17:21:57 +00:00
oxc_codegen refactor(sourcemap): change sourcemap name to take a reference (#2779) 2024-03-23 21:40:05 +08:00
oxc_diagnostics Release crates v0.10.0 2024-03-14 18:23:34 +08:00
oxc_index Release crates v0.10.0 2024-03-14 18:23:34 +08:00
oxc_js_regex refactor: rename CompactString to CompactStr (#2619) 2024-03-06 12:24:23 +08:00
oxc_language_server chore(deps): update rust crates (#2671) 2024-03-11 13:39:02 +08:00
oxc_linter refactor(sourcemap): change sourcemap name to take a reference (#2779) 2024-03-23 21:40:05 +08:00
oxc_macros feat: merge features serde and wasm to serialize (#2716) 2024-03-14 17:13:12 +08:00
oxc_minifier refactor(sourcemap): change sourcemap name to take a reference (#2779) 2024-03-23 21:40:05 +08:00
oxc_module_lexer New tool: oxc_module_lexer (#2650) 2024-03-09 23:23:55 +08:00
oxc_parser chore: Rust v1.77.0 (#2781) 2024-03-21 17:21:57 +00:00
oxc_prettier chore: Rust v1.77.0 (#2781) 2024-03-21 17:21:57 +00:00
oxc_semantic feat(semantic): distinguish type imports in ModuleRecord (#2785) 2024-03-23 21:38:17 +08:00
oxc_span chore: silence erroneous RA warnings for Tsify (#2731) 2024-03-15 12:42:12 +00:00
oxc_syntax feat(semantic): distinguish type imports in ModuleRecord (#2785) 2024-03-23 21:38:17 +08:00
oxc_transformer refactor(ast): get rid of unsafe transmutation in VisitMut trait. (#2764) 2024-03-23 13:48:30 +00:00
oxc_wasm refactor(sourcemap): change sourcemap name to take a reference (#2779) 2024-03-23 21:40:05 +08:00