Function swc_core::transforms::fixer::fixer
[−]Available on crate feature
__transforms
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 } }
.