Skip to content

Commit 581aafb

Browse files
authoredOct 29, 2024··
perf(visit): Introduce Pass API and adjust visitor APIs for it (#9680)
**Description:** - `Pass`: `FnMut(&mut Program)`. **Breaking Changes:** - `chain!`: Use a tuple instead. You can replace all `chain!(` with `(` with IDE feature and it will work. - `chain!` with 13 or more args: Use nested tuples for items after 13th element. **Related issue:** - Related to #9601
1 parent b32a533 commit 581aafb

File tree

209 files changed

+2496
-2045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+2496
-2045
lines changed
 

‎.changeset/few-pigs-shout.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
swc_visit: major
3+
swc_common: major
4+
swc_plugin_proxy: major
5+
---
6+
7+
perf(visit): Introduce `Pass` API and adjust visitor APIs for it

‎Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.