class

LSProtocol::PublishDiagnosticsParams

Inherits JSON::Serializable / Reference / Object

The publish diagnostic notification's parameters.

Constructors

new(diagnostics : Array(Diagnostic) | Nil, uri : URI | Nil, 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
uri

The URI for which diagnostic information is reported.

Source
version

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

@since 3.15.0

Source