Skip to content

Commit

Permalink
feat(traverse): support generate_uid_based_on_node method in `Trave…
Browse files Browse the repository at this point in the history
…rseCtx` (#4940)

close: #4906

Port completely  `gatherNodeParts` from `Babel`. But we don't have test cases to test it, we can find the bugs(if any) after we use this API in transformer plugins
  • Loading branch information
Dunqing committed Aug 17, 2024
1 parent 3f28c77 commit fd34640
Show file tree
Hide file tree
Showing 6 changed files with 541 additions and 89 deletions.
85 changes: 0 additions & 85 deletions crates/oxc_ast/src/syntax_directed_operations/gather_node_parts.rs

This file was deleted.

4 changes: 1 addition & 3 deletions crates/oxc_ast/src/syntax_directed_operations/mod.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
//! [ECMA262 Syntax-Directed Operations](https://tc39.es/ecma262/#sec-syntax-directed-operations)
mod bound_names;
mod gather_node_parts;
mod is_simple_parameter_list;
mod private_bound_identifiers;
mod prop_name;

pub use self::{
bound_names::BoundNames, gather_node_parts::GatherNodeParts,
is_simple_parameter_list::IsSimpleParameterList,
bound_names::BoundNames, is_simple_parameter_list::IsSimpleParameterList,
private_bound_identifiers::PrivateBoundIdentifiers, prop_name::PropName,
};
Loading

0 comments on commit fd34640

Please sign in to comment.