Function swc_ecma_compat_es2015::es2015

source ·
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.