Module Linol_lwt.Diagnostic

type t = {
  1. code : Linol_jsonrpc.Jsonrpc.Id.t option;
  2. codeDescription : Linol_lsp__Types.CodeDescription.t option;
  3. data : Linol_lsp.Import.Json.t option;
  4. message : [ `String of string | `MarkupContent of Linol_lsp__Types.MarkupContent.t ];
  5. range : Linol_lsp__Types.Range.t;
  6. relatedInformation : Linol_lsp__Types.DiagnosticRelatedInformation.t list option;
  7. severity : Linol_lsp__Types.DiagnosticSeverity.t option;
  8. source : string option;
  9. tags : Linol_lsp__Types.DiagnosticTag.t list option;
}
val create : ?code:Linol_jsonrpc.Jsonrpc.Id.t -> ?codeDescription:Linol_lsp__Types.CodeDescription.t -> ?data:Linol_lsp.Import.Json.t -> message: [ `String of string | `MarkupContent of Linol_lsp__Types.MarkupContent.t ] -> range:Linol_lsp__Types.Range.t -> ?relatedInformation:Linol_lsp__Types.DiagnosticRelatedInformation.t list -> ?severity:Linol_lsp__Types.DiagnosticSeverity.t -> ?source:string -> ?tags:Linol_lsp__Types.DiagnosticTag.t list -> unit -> t
include Linol_lsp.Import.Json.Jsonable.S with type t := t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t