Enum LexicalScopeKind
The tier of a LexicalScope in the resolution tree. Distinct from ScopeKind, which says where a symbol is allocated, not where a name binds. A lookup walks these outward: Procedure → Module → Project → Global (RD-VBAL §2.3.1.2).
public enum LexicalScopeKind
Fields
Global = 0The root scope: precompiler constants, the workspace's module and library names, and the language's own globals. Every lookup that is not bound sooner ends here.
Module = 2One module body — the members that module declares.
Procedure = 3One procedure, property, function, or event body — its parameters and its procedure-local
Dim/Static/Constdeclarations.Project = 1The workspace project. A standard module's non-
Privatemembers are visible here to every sibling module; a class module's instance members are not.