Function swc_ecma_transforms_compat::es2015

pub fn es2015<C>(
    unresolved_mark: Mark,
    comments: Option<C>,
    c: Config
) -> impl Fold
where C: Comments + Clone,
Expand description

Compiles es2015 to es5.

§Parameters

§unresolved_mark

Used to generate require calls. See the documentation of regenerator for more details.