pub static GLOBALS: ScopedKey<Globals>
Expand description

Storage for span hygiene data.

This variable is used to manage identifiers or to identify nodes. Note that it’s stored as a thread-local storage, but actually it’s shared between threads.


Span hygiene

Marks are stored in this variable.

You can see the document how swc uses the span hygiene info at