swc_core::ecma::visit::swc_ecma_ast

Function fast_id

pub unsafe fn fast_id(id: &(Atom, SyntaxContext)) -> (FastAtom, SyntaxContext)
Available on crate features __ecma and __visit only.
Expand description

This is extremely unsafe so don’t use it unless you know what you are doing.

§Safety

See FastAtom::new for constraints.

Currently, it’s considered as a unstable API and may be changed in the future without a semver bump.