Function swc_core::ecma::visit::fold_unary_op

pub fn fold_unary_op<V>(_visitor: &mut V, n: UnaryOp) -> UnaryOp
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.