Table of Contents

Class HostSemanticsParams

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

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

[Method("rdcore/host/semantics", Direction.ClientToServer)]
public record HostSemanticsParams : IRequest, IRequest<Unit>, IRequest<HostSemanticsResult>, IBaseRequest, IEquatable<HostSemanticsParams>
Inheritance
HostSemanticsParams
Implements
IRequest
IRequest<Unit>
IBaseRequest
Inherited Members

Remarks

The environment host runs the semantic analysis pass (RD-VBAL §5.0.3) when it loads the code of a module, and keeps the model of each; this is the language-server side of asking for them, never sent by a client. The answer is the semantic facts, which a diagnostics extension analyzes: the host says what is, and an analyzer decides what is worth saying. A module the host does not have, or has not loaded, has no model.

Properties

ModuleName

The name of the module whose model is asked for, or empty for the model of every module of the workspace.

public string ModuleName { get; init; }

Property Value

string