swc_ecma_utils

Function find_pat_ids

source
pub fn find_pat_ids<T, I: IdentLike>(node: &T) -> Vec<I>
where T: VisitWith<DestructuringFinder<I>>,
Expand description

Finds all binding idents of node.

If you want to avoid allocation, use for_each_binding_ident instead.