class LSProtocol::WorkspaceFullDocumentDiagnosticReport

Overview

A full document diagnostic report for a workspace diagnostic result.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(items : Array(Diagnostic) | Nil, kind : String | Nil, uri : URI | Nil, version : Int32 | Nil, result_id : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def items : Array(Diagnostic) #

The actual items.


[View source]
def kind : String #

A full document diagnostic report.


[View source]
def result_id : String | Nil #

[View source]
def uri : URI #

The URI for which diagnostic information is reported.


[View source]
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.


[View source]