Function fixer
pub fn fixer(comments: Option<&dyn Comments>) -> impl Pass + VisitMutAvailable on crate feature
__ecma and (crate features __ecma_transforms or __testing_transform) only.Expand description
Fixes ast nodes before printing so semantics are preserved.
You don’t have to bother to create appropriate parenthesis.
The pass will insert parenthesis as needed. In other words, it’s
okay to store a * (b + c) as Bin { a * Bin { b + c } }.