swc_core::ecma::utils

Function for_each_binding_ident

pub fn for_each_binding_ident<T, F>(node: &T, op: F)
where T: VisitWith<BindingIdentifierVisitor<F>>, F: for<'a> FnMut(&'a BindingIdent),
Available on crate features __ecma and __utils only.
Expand description

Finds all binding idents of node. Any nested identifiers in expressions are ignored.