Types.Diagnostic
type t = {
code : Jsonrpc.Id.t option;
codeDescription : CodeDescription.t option;
data : Import.Json.t option;
message : string;
range : Range.t;
severity : DiagnosticSeverity.t option;
source : string option;
}
val create :
?code:Jsonrpc.Id.t ->
?codeDescription:CodeDescription.t ->
?data:Import.Json.t ->
message:string ->
range:Range.t ->
?relatedInformation:DiagnosticRelatedInformation.t list ->
?severity:DiagnosticSeverity.t ->
?source:string ->
?tags:DiagnosticTag.t list ->
unit ->
t
include Ppx_yojson_conv_lib.Yojsonable.S with type t := t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t