swc_core::common

Derive Macro EqIgnoreSpan

#[derive(EqIgnoreSpan)]
{
    // Attributes available to this derive:
    #[not_spanned]
    #[use_eq]
}
Available on crate feature __common only.
Expand description

Derives swc_common::EqIgnoreSpan.

Fields annotated with #[not_spanned] or #[use_eq] will use == instead of eq_ignore_span.