[][src]Function swc_ecma_transforms::resolver::resolver_with_mark

pub fn resolver_with_mark(top_level_mark: Mark) -> impl 'static + Fold

When to run

The resolver expects 'clean' ast. You can get clean ast by parsing, or by removing all syntax context in ast nodes.

What does it do

It makes binding identifiers unique with respect to symbol and syntax context.

Panics

top_level_mark should not be root.