class

LSProtocol::WorkspaceFullDocumentDiagnosticReport

Inherits JSON::Serializable / Reference / Object

A full document diagnostic report for a workspace diagnostic result.

@since 3.17.0

Constructors

new(items : Array(Diagnostic) | Nil, kind : String | Nil, uri : URI | Nil, version : Int32 | Nil, result_id : String | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

items

The actual items.

Source
kind

A full document diagnostic report.

Source
result_id

An optional result id. If provided it will be sent on the next diagnostic request for the same document.

Source
uri

The URI for which diagnostic information is reported.

Source
version

The version number for which the diagnostics are reported. If the document is not marked as open null can be provided.

Source