swc_ecma_utils

Macro quote_ident

source
macro_rules! quote_ident {
    ($s:expr) => { ... };
    ($ctxt:expr, $s:expr) => { ... };
    ($ctxt:expr, $span:expr, $s:expr) => { ... };
}
Expand description

As we have multiple identifier types, the expected usage is quote_ident!("foo").into().