Table of Contents

Class SymbolDescriptorReader

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.dll

Reconstructs runtime member Symbols from the descriptors carried by a DefineSymbolsParams. The inverse of the language server's descriptor projection; one trivial method per SymbolDescriptorKind, mirroring the language server's SymbolBuilder. Declared types are bound through a caller-supplied resolver so the same call path binds real types once the environment host composes a project/library resolver — a name the resolver returns null for stays VBUnknownType.

public static class SymbolDescriptorReader
Inheritance
SymbolDescriptorReader
Inherited Members

Methods

Read(DefineSymbolsParams, Func<string, VBType?>)

Reconstructs every member symbol in the request, including the nested members (Enum constants, user-defined-Type fields) parented to their owner rather than the module.

public static IEnumerable<Symbol> Read(DefineSymbolsParams request, Func<string, VBType?> resolveType)

Parameters

request DefineSymbolsParams

The define-symbols request.

resolveType Func<string, VBType>

Resolves a declared type name to a VBType, or returns null when it cannot.

Returns

IEnumerable<Symbol>

Exceptions

ArgumentException

WorkspaceRoot is not set.