enum SyntaxScopeKindScope identities are allocated by the macro driver. The pair keeps scope ordinals local to one deterministic compilation namespace.
Cases
case lexical
A scope belonging to a source node in a file.
case expansion
A fresh scope belonging to one macro expansion.
case module
A scope shared by declarations in one module.