class LSProtocol::WorkspaceDiagnosticParams

Overview

Parameters of the workspace diagnostic request.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(previous_result_ids : Array(PreviousResultId) | Nil, identifier : String | Nil = nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil) #

[View source]

Instance Method Detail

def identifier : String | Nil #

The additional identifier provided during registration.


[View source]
def partial_result_token : ProgressToken | Nil #

An optional token that a server can use to report partial results (e.g. streaming) to the client.


[View source]
def previous_result_ids : Array(PreviousResultId) #

The currently known diagnostic reports with their previous result ids.


[View source]
def work_done_token : ProgressToken | Nil #

An optional token that a server can use to report work done progress.


[View source]