Table of Contents

Namespace RDCore.SDK.Platform.Protocol

Classes

AnalyzeSessionParams

Request for rdcore/session/analyze: a client asks the language server to analyze a module it supplies and report what is wrong with it, without running anything.

AnalyzeSessionResult

What the platform found in the module.

ArrayBoundDescriptor

The bounds of one dimension of a fixed-size array.

ArrayDescriptor

What an array declaration says beyond its element type (MS-VBAL §5.2.3.1.3): whether it is fixed-size, and the bounds it was declared with.

CompileErrorDto

A compile error, as it travels: what a diagnostics extension needs to say it.

ConstantDescriptor

A transport-friendly projection of a Const declaration — a module-level VBConstantMemberSymbol or a procedure-local VBLocalConstantSymbol.

DeclarationFactDto

A DeclarationFact, as it travels.

DefineSymbolsParams

Request for rdcore/host/symbols/define: the language server sends the environment host the member symbols one workspace module declares, as descriptors. The host reconstructs a runtime Symbol from each, resolves its declared type name against its own session, and defines it in the session symbol table.

DefineSymbolsResult

Result of an rdcore/host/symbols/define request.

DefinitionDescriptor

A transport-friendly projection of one SymbolDefinition — a single declaration site of a member declared in more than one conditional-compilation branch.

DiagnoseDocumentPayload

The System.Text.Json payload carried in Json.

DiagnoseDocumentRequest

Request for rdcore/diagnostics/document: the language server hands a diagnostics-provider extension everything it needs to analyze one document and asks for the diagnostics it finds.

DiagnoseDocumentResponse

Response to rdcore/diagnostics/document: the diagnostics a provider found, already projected to LSP Diagnostics (code, codeDescription help URL, and structured data), plus the source version echoed back for the language server's staleness gate.

ExecuteSessionParams

Request for rdcore/session/execute: a client asks the language server to run one procedure of a module it supplies.

ExecuteSessionResult

The result of a run. The same result answers both hops — the language server passes the host's answer back to the client unchanged, except for a parse that never reached the host at all.

ExecuteStackFrame

One activation of the call stack a run-time error was raised on.

ExpressionFactDto

An ExpressionFact, as it travels.

ExternalDescriptor

The Declare-statement metadata of an external member.

HostExecuteParams

Request for rdcore/host/execute: the language-server side of ExecuteSessionParams, addressed to the component that owns the runtime session.

HostExecutePayload

The System.Text.Json payload carried in Json.

HostPeekParams

Request for rdcore/host/memory/peek: the language-server side of PeekSessionParams, addressed to the component that owns the session.

HostPokeParams

Request for rdcore/host/memory/poke: the language-server side of PokeSessionParams, addressed to the component that owns the session.

HostSemanticsParams

Request for rdcore/host/semantics: the language server asks the environment host what the static pass found out about the code it holds.

HostSemanticsResult

The models the host answers with.

HostSessionStatusParams

Request for rdcore/host/session/status: the language-server side of SessionStatusParams, addressed to the component that owns the session.

LocalDescriptor

A transport-friendly projection of a VBLocalVariableSymbol — one Dim or Static of a procedure.

ModuleSemanticsDto

A ModuleSemanticModel, as it travels.

ParameterDescriptor

A transport-friendly projection of a VBParameterSymbol.

ParseDocumentParams

The parameter object for a ParseDocumentCommand. The [Method] attribute lets the JSON-RPC layer infer the request method when the caller sends this by type.

ParseTokensParams

Request for rdcore/parser/tokens: the language server asks the parsing server what the tokens of a text are.

ParseTokensResult

The tokens of a text, in the order they are in it.

PeekSessionParams

Request for rdcore/session/memory/peek: a client reads one byte of the runtime session's memory.

PeekSessionResult

What was at the address.

PlatformInitializeParams

Request: the caller tells the child what it expects; sent by ChildConnection after LSP init.

PlatformInitializeResult

Response: what the child actually is and provides.

PlatformJson

System.Text.Json (de)serialization for rich platform payloads that ride a JSON-RPC method as an opaque string.

PlatformJsonEnvelope

A JSON-RPC request or response body whose real payload is a System.Text.Json string (see PlatformJson). Flat by design so the transport's own serializer round-trips it.

PokeSessionParams

Request for rdcore/session/memory/poke: a client writes one byte of the runtime session's memory.

PokeSessionResult

Whether the byte went in.

ProcedureSemanticsDto

A ProcedureSemanticModel, as it travels.

RDCoreInitializationOptions

What a client says of itself to a server in the initializationOptions of the LSP initialize request - the part of the protocol that exists for exactly this: the settings of a server that no standard capability describes.

RDCoreNotificationHandler<TNotification>

The base class for a platform protocol JSON-RPC notification.

RDCorePlatformHandshake

The non-LSP handshake that follows the LSP initialize/initialized exchange on a platform connection: advertised capabilities become provided ones. Keeps the LSP layer pure LSP.

RDCoreRequestHandler<TRequest, TResponse>

The base class for a platform protocol JSON-RPC request.

SemanticsPayload

The semantic facts of one or more modules, as they travel (Json).

SessionDiagnostic

One finding, flattened for a client that renders lines of text rather than editor decorations.

SessionMemoryStatus

A transport-friendly projection of SessionMemoryInfo.

SessionStatusParams

Request for rdcore/session/status: a client asks the language server for the state of the platform's runtime session.

SessionStatusResult

The state of the platform's runtime session. The same result answers both hops of the status request — the language server passes the host's answer through unchanged.

SymbolDescriptor

A transport-friendly projection of one declared member Symbol. Declared types travel as names, not resolved VBTypes — the environment host is the resolution authority.

SymbolDescriptorReader

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.

Enums

ExecutionOutcome

How a run ended.

SessionDiagnosticSeverity

How bad a SessionDiagnostic is. Mirrors LSP's own severities so a client that has an editor and a client that has a prompt rank the same finding the same way.

SymbolDescriptorKind

The member-symbol kinds a SymbolDescriptor can carry. Mirrors the subset of MemberKind the language server's AST symbol provider emits, split so Property accessors and Enum/Type members each map to one runtime symbol type.