Function swc_core::ecma::visit::fold_opt_expr_or_spreads

pub fn fold_opt_expr_or_spreads<V>(
    _visitor: &mut V,
    n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
where V: Fold + ?Sized,
Available on crate features __ecma and __visit only.
Expand description

Visits children of the nodes with the given visitor.

This is the default implementation of a method of Fold.