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