class LSProtocol::RelatedFullDocumentDiagnosticReport
- LSProtocol::RelatedFullDocumentDiagnosticReport
- Reference
- Object
Overview
A full diagnostic report with a set of related documents.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(items : Array(Diagnostic) | Nil, kind : String | Nil, related_documents : Hash(URI, FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport) | Nil = 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.
-
#related_documents : Hash(URI, FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport) | Nil
Diagnostics of related documents.
-
#result_id : String | Nil
An optional result id.
Constructor Detail
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.