swc_ecma_transforms_optimization

Type Alias GlobalExprMap

source
pub type GlobalExprMap = Lrc<AHashMap<NodeIgnoringSpan<'static, Expr>, Expr>>;
Expand description

The key will be compared using [EqIgnoreSpan::eq_ignore_span], and matched expressions will be replaced with the value.

Aliased Typeยง

struct GlobalExprMap { /* private fields */ }