Namespace RDCore.SDK.Model.Symbols
Classes
- ClassLifecycleInterface
The interface every class module implicitly implements: its lifecycle (MS-VBAL §5.3.1.10).
- CurrentTypes
The class a declaration is of, as the composition has it now.
- GlobalSymbols
The symbols that belong to no declaration.
- LexicalScope
One lexical scope of a composed workspace: a compile-time region a name lookup starts from and then walks outward, through the Parent chain, until the name binds or the global scope is reached (MS-VBAL §5.2 Name Binding, RD-VBAL §2.3.1.2).
- PrecompilerConstantSymbol
A project-level conditional-compilation constant (MS-VBAL §3.4.1): supplied by the
.rdprojor a--defineargument, and shadowed by a module's own#Const.
- ReferencePriorityInfo
One entry in a workspace's ordered reference list, as the runtime sees it: a reference's source-visible name and its position in that list. Nothing more — a referenced library's members are not carried here. They are contributed by an
ISymbolProviderand resolved throughISymbolResolverlike any other symbol (today theVBAintrinsics come from the environment host; a dedicated library scope tier is planned). This type exists only so a name-resolution pass can break a cross-reference tie by list position.
- ScopeTree
The lexical-scope tree of a composed set of symbols: a Global scope at the root, a scope per module, and a scope per procedure body. Built by ScopeTreeBuilder; the static and run-time name resolvers walk it to bind an identifier (RD-VBAL §2.3.1.2).
- ScopeTreeBuilder
Builds a ScopeTree from a flat set of composed symbols. Placement is structural: a symbol's concrete type, its ParentUri, and its access modifier decide its scope:
- module symbols, project-level precompiler constants, global StaticSymbols, and anything the tree cannot otherwise place → the Global scope;
- a standard module's non-
Privatemembers → the project scope, where sibling modules see them; - every module's members: fields, constants, procedures, properties, enums, user-defined
types, events,
Declares → that module's own scope; - a procedure's parameters and its procedure-local
Dim/Static/Const(and the dynamic array a bareReDimintroduces) → that procedure's scope.
An enum constant is placed in the scope that declares its
Enum, since that is where MS-VBAL §5.2.3.4 makes it accessible: it parents to the enum, not to a scope, so its placement is resolved through the enum. A user-defined type's fields are reached through member access rather than lexical scoping, and are not placed at all. Ordering referenced libraries by their.rdprojpriority within the global scope is later work.
- SymbolUri
The addresses of symbols: what a module, and what a member of anything, is identified by (Uri).
- VBClassModuleSymbol
An unbound symbol representing a class module.
- VBLocalConstantSymbol
A
TypedSymbolrepresenting a procedure-localConstdeclaration (MS-VBAL §5.4.3.2). A local constant statically evaluates to a value of a fixed VBType, is visible only within its declaring procedure, and cannot be assigned at run-time; a module-levelConstis modelled by VBConstantMemberSymbol and anEnummember by VBEnumConstMemberSymbol.
- VBLocalVariableSymbol
A
TypedSymbolrepresenting any local variable.
- VBModuleSymbol
An unbound symbol representing any type of module.
- VBPredeclaredInstanceSymbol
The default instance variable of a class module whose
VB_PredeclaredIdattribute isTrue(MS-VBAL §5.2.4.1.2): a variable named after the class, declared as that class, created with module extent as if declaredAs New, that is, as an automatic instantiation variable (AutoInstantiated, §2.5.1), without any code declaring it, so the class name itself can be used as if it were an automatic instantiation variable, the wayUserForm1.Shownames a form's default instance.
- VBProjectSymbol
A VBA project, as a resolvable, named symbol: the enclosing project, or a library it references. It is a namespace of the type binding context (MS-VBAL §5.6.4): a qualified type reference like
Project.ClassNameresolvesProjectto a project symbol before looking upClassNameamong that project's modules.
- VBStandardModuleSymbol
An unbound symbol representing a standard module.
- VBStaticLocalVariableSymbol
Represents a semantically
Staticlocal variable symbol.
Structs
- ModuleDirectives
The resolved module-level directives a VBModuleSymbol was declared under: the
Option ...statements (MS-VBAL §5.2.1) andAttribute VB_...declarations (MS-VBAL §4.2) a static-semantics pass needs to know about, plus RD-VBA's own annotation-driven dials (Option Strict).
Enums
- ImplementationAccess
What is done to a public variable of an interface, which is implemented by property declarations (MS-VBAL §5.3.1.9).
- 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).
- LocalDeclarationKind
How a VBLocalVariableSymbol first entered its procedure scope.
- OptionCompare
The comparison mode of a module: how the relational operators compare
Stringvalues (MS-VBAL §5.2.1.1, §5.6.9.5).
- VBAutomationKind
Whether a class module's own live object reference is COM Automation-capable (
IDispatch, MS-VBAL 6.1.1.16's ownvbObjectVBVarType tag) orIUnknown-only (vbDataObject): a static fact about the class itself, not about any one instance of it.
- ValueDestination
What a place that expects a value expects of an object, at compile time: what the static semantics of an object value check the object it is given against (MS-VBAL §5.5.1.1, as MS-VBA compiles it).