what happened with swc_ecmascript::visit::visit_expr?
I can't find the PR nor commit that removed it, nor any discussions. It's no longer exported and I don't know what to replace it with. My code is
7 Replies
node.visit_children_with(self)
will workah excellent, thanks!
And it's documented at https://rustdoc.swc.rs/swc_ecma_visit/trait.Visit.html#method.visit_expr
Visit in swc_ecma_visit - Rust
A visitor trait for traversing the AST.
Can I ask you how you found this? I searched for "swc visit_expr" and found only outdated links
The rustdoc for SWC is published at https://rustdoc.swc.rs/swc
swc - Rust
The main crate of the swc project.
You can search from there
aha ok, I did find that page but couldn't interpret the results from the search. Thanks! Newbie here 🙂