Trait swc_plugin::ast::InjectVars
[−]pub trait InjectVars {
fn take_vars(&mut self) -> Vec<VarDeclarator, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
}
Expand description
Implemented for passes which inject variables.
If a pass depends on other pass which injects variables, this trait can be used to keep the variables.