class LSProtocol::FullDocumentDiagnosticReport
- LSProtocol::FullDocumentDiagnosticReport
- Reference
- Object
Overview
A diagnostic report with a full set of problems.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(items : Array(Diagnostic) | Nil, kind : String | 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.
Constructor Detail
def self.new(items : Array(Diagnostic) | Nil, kind : String | 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.