class LSProtocol::WorkspaceFullDocumentDiagnosticReport
- LSProtocol::WorkspaceFullDocumentDiagnosticReport
- Reference
- Object
Overview
A full document diagnostic report for a workspace diagnostic result.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(items : Array(Diagnostic) | Nil, kind : String | Nil, uri : URI | Nil, version : Int32 | Nil, result_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#items : Array(Diagnostic)
The actual items.
-
#kind : String
A full document diagnostic report.
-
#result_id : String | Nil
An optional result id.
-
#uri : URI
The URI for which diagnostic information is reported.
-
#version : Int32 | Nil
The version number for which the diagnostics are reported.
Constructor Detail
def self.new(items : Array(Diagnostic) | Nil, kind : String | Nil, uri : URI | Nil, version : Int32 | Nil, result_id : String | Nil = nil)
#
Instance Method Detail
def result_id : String | Nil
#
An optional result id. If provided it will be sent on the next diagnostic request for the same document.
def version : Int32 | Nil
#
The version number for which the diagnostics are reported.
If the document is not marked as open null
can be provided.