Function swc_ecma_utils::prepend_stmts
source · [−]pub fn prepend_stmts<T: StmtLike>(
to: &mut Vec<T>,
stmts: impl Iterator + ExactSizeIterator<Item = T>
)
Expand description
inject stmts
after directives
pub fn prepend_stmts<T: StmtLike>(
to: &mut Vec<T>,
stmts: impl Iterator + ExactSizeIterator<Item = T>
)
inject stmts
after directives