Class 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.
[Method("rdcore/session/analyze", Direction.ClientToServer)]
public record AnalyzeSessionParams : IRequest, IRequest<Unit>, IRequest<AnalyzeSessionResult>, IBaseRequest, IEquatable<AnalyzeSessionParams>
- Inheritance
-
AnalyzeSessionParams
- Implements
-
IRequestIRequest<Unit>IRequest<AnalyzeSessionResult>IBaseRequest
- Inherited Members
Remarks
The counterpart to ExecuteSessionParams for a client with no editor: an editor gets
this through LSP's own textDocument/diagnostic pull against a document it has open, and a
shell has neither a document nor a pull — but wants the same answer, from the same providers, for
the code in its buffer.
Properties
ModuleName
The module's programmatic name, which is how the analysis addresses it.
public string ModuleName { get; init; }
Property Value
Source
The complete source of the module to analyze.
public string Source { get; init; }