struct

LSP::PublishDiagnosticsParams

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(uri : String, diagnostics : Array(LSP::Diagnostic), version : Int32 | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

diagnostics

An array of diagnostic information items.

Source
diagnostics=(diagnostics : Array(Diagnostic))

An array of diagnostic information items.

Source
uri

The URI for which diagnostic information is reported.

Source
uri=(uri : String)

The URI for which diagnostic information is reported.

Source
version

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

Source
version=(version : Int32 | Nil)

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

Source