swc_core::ecma::atoms::hstr

Macro atom

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

Create an atom from a string literal. This atom is never dropped.