swc_core::ecma::transforms::base

Module hygiene

Available on crate feature __ecma and (crate features __ecma_transforms or __testing_transform) only.

Structs§

Functions§

  • See hygiene_with_config for doc. Creates a hygiene pass with default value of Config.
  • The pass actually modifies the identifiers in the way that different identifier (with respect to span hygiene) becomes different identifier. (e.g. a1 for a#6, a2 for a#23)