Table of Contents

Enum LexicalScopeKind

Namespace
RDCore.SDK.Model.Symbols
Assembly
RDCore.SDK.dll

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: ProcedureModuleProjectGlobal (RD-VBAL §2.3.1.2).

public enum LexicalScopeKind

Fields

Global = 0

The 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 = 2

One module body — the members that module declares.

Procedure = 3

One procedure, property, function, or event body — its parameters and its procedure-local Dim / Static / Const declarations.

Project = 1

The workspace project. A standard module's non-Private members are visible here to every sibling module; a class module's instance members are not.