class LSProtocol::PublishDiagnosticsParams
- LSProtocol::PublishDiagnosticsParams
- Reference
- Object
Overview
The publish diagnostic notification's parameters.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(diagnostics : Array(Diagnostic) | Nil, uri : URI | Nil, version : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#diagnostics : Array(Diagnostic)
An array of diagnostic information items.
-
#uri : URI
The URI for which diagnostic information is reported.
-
#version : Int32 | Nil
Optional the version number of the document the diagnostics are published for.
Constructor Detail
Instance Method Detail
def version : Int32 | Nil
#
Optional the version number of the document the diagnostics are published for.
@since 3.15.0