refactor(estree/tokens): move raw transfer-related files into subdirectory#19892
Conversation
There was a problem hiding this comment.
Pull request overview
Refactors oxc_estree_tokens’ raw-transfer implementation by moving ESTreeKind (the compact token-kind mapping used for JS-side raw transfer) into the raw_transfer/ submodule, aligning structure with the existing JSON serialization layout.
Changes:
- Move
ESTreeKindimplementation intoraw_transfer/estree_kind.rs. - Update
raw_transfer/mod.rsto use the new internal submodule. - Remove the now-unneeded top-level
mod estree_kind;fromlib.rs.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| crates/oxc_estree_tokens/src/raw_transfer/mod.rs | Switches ESTreeKind usage to a local raw_transfer::estree_kind submodule. |
| crates/oxc_estree_tokens/src/raw_transfer/estree_kind.rs | Houses the compact Kind→ESTreeKind mapping and conversion utilities for raw transfer. |
| crates/oxc_estree_tokens/src/lib.rs | Drops the old top-level estree_kind module declaration. |
Merging this PR will not alter performance
Comparing Footnotes
|
c17ff02 to
b0e8d04
Compare
e594f3d to
be741da
Compare
Merge activity
|
be741da to
0a87dbd
Compare
…ctory (#19892) Pure refactor. Move files related to raw transfer into their own directory, mirroring that all files related to JSON serialization have their own directory too.
b0e8d04 to
f9f0fb7
Compare
…ctory (#19892) Pure refactor. Move files related to raw transfer into their own directory, mirroring that all files related to JSON serialization have their own directory too.
0a87dbd to
1f9c115
Compare
f9f0fb7 to
68152f3
Compare

Pure refactor. Move files related to raw transfer into their own directory, mirroring that all files related to JSON serialization have their own directory too.