Function renamer_keep_contexts

pub fn renamer_keep_contexts<R>(
    config: Config,
    renamer: R,
) -> impl Pass + VisitMut
where R: Renamer<Target = (Atom, SyntaxContext)>,
Available on crate feature __ecma and (crate features __ecma_transforms or __testing_transform) only.
Expand description

Create correct (unique) syntax contexts. Use this if you need the syntax contexts produces by this pass (unlike the default hygiene pass which removes them anyway.)