swc_ecma_transforms_base::perf

Trait ParExplode

source
pub trait ParExplode: Parallel {
    // Required methods
    fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt>);
    fn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem>);
}

Required Methods§

source

fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt>)

Invoked after visiting each statements.

Implementor should not delete/prepend to stmts.

source

fn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem>)

Invoked after visiting each statements.

Implementor should not delete/prepend to stmts.

Object Safety§

This trait is not object safe.

Implementors§