class LSProtocol::PublishDiagnosticsParams

Overview

The publish diagnostic notification's parameters.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(diagnostics : Array(Diagnostic) | Nil, uri : URI | Nil, version : Int32 | Nil = nil) #

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

[View source]

Instance Method Detail

def diagnostics : Array(Diagnostic) #

An array of diagnostic information items.


[View source]
def uri : URI #

The URI for which diagnostic information is reported.


[View source]
def version : Int32 | Nil #

Optional the version number of the document the diagnostics are published for.

@since 3.15.0


[View source]