Trait ParExplode
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>);
}
Available on crate feature
__ecma
and (crate features __ecma_transforms
or __testing_transform
) only.Required Methods§
fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt>)
fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt>)
Invoked after visiting each statements.
Implementor should not delete/prepend to stmts
.
fn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem>)
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.