struct LSP::Message::PublishDiagnostics::Params
- LSP::Message::PublishDiagnostics::Params
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/message.crConstructors
- .new(pull : JSON::PullParser)
- .new(uri : URI = URI.new, diagnostics : Array(LSP::Data::Diagnostic) = [] of Data::Diagnostic)
Instance Method Summary
-
#diagnostics : Array(Data::Diagnostic)
An array of diagnostic information items.
-
#diagnostics=(diagnostics : Array(Data::Diagnostic))
An array of diagnostic information items.
- #uri : URI
- #uri=(uri : URI)
Constructor Detail
def self.new(uri : URI = URI.new, diagnostics : Array(LSP::Data::Diagnostic) = [] of Data::Diagnostic)
#