swc_core::ecma::atoms

Macro atom

macro_rules! atom {
    ($s:tt) => { ... };
}
Available on crate features __ecma and ecma_ast only.
Expand description

Creates an Atom from a constant.