Skip to main content

fold_stmts

Function fold_stmts 

Source
pub fn fold_stmts<'new, 'src, F: Fold<'src> + ?Sized>(
    folder: &mut F,
    arena: &'new Bump,
    stmts: &[Stmt<'_, 'src>],
) -> ArenaVec<'new, Stmt<'new, 'src>>
Expand description

Folds each statement of a list in order.