package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. range : Range.t;
  2. severity : DiagnosticSeverity.t option;
  3. code : [ `Integer of Integer.t | `String of string ] option;
  4. codeDescription : CodeDescription.t option;
  5. source : string option;
  6. message : string;
  7. tags : DiagnosticTag.t list option;
  8. relatedInformation : DiagnosticRelatedInformation.t list option;
  9. data : Import.Json.t option;
}
val create : range:Range.t -> ?severity:DiagnosticSeverity.t -> ?code:[ `Integer of Integer.t | `String of string ] -> ?codeDescription:CodeDescription.t -> ?source:string -> message:string -> ?tags:DiagnosticTag.t list -> ?relatedInformation:DiagnosticRelatedInformation.t list -> ?data:Import.Json.t -> unit -> t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.