struct LSP::PublishDiagnosticsParams

Included Modules

Defined in:

notifications/diagnostics/publish_diagnostics.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def diagnostics : Array(Diagnostic) #

An array of diagnostic information items.


[View source]
def diagnostics=(diagnostics : Array(Diagnostic)) #

An array of diagnostic information items.


[View source]
def uri : String #

The URI for which diagnostic information is reported.


[View source]
def uri=(uri : String) #

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.


[View source]
def version=(version : Int32 | Nil) #

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


[View source]