Trait swc_ecma_transforms::perf::ParExplode
source · [−]pub trait ParExplode: Parallel {
fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt, Global>);
fn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem, Global>);
}
Required Methods
sourcefn after_one_stmt(&mut self, stmts: &mut Vec<Stmt, Global>)
fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt, Global>)
Invoked after visiting each statements.
Implementor should not delete/prepend to stmts
.
sourcefn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem, Global>)
fn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem, Global>)
Invoked after visiting each statements.
Implementor should not delete/prepend to stmts
.