Function swc_ecma_utils::collect_decls_with_ctxt[][src]

pub fn collect_decls_with_ctxt<I, N>(n: &N, ctxt: SyntaxContext) -> AHashSet<I> where
    I: IdentLike + Eq + Hash,
    N: VisitWith<BindingCollector<I>>, 
Expand description

Collects binding identifiers, but only if it has a context which is identical to ctxt.