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 : Jsonrpc.Id.t option;
  4. source : string option;
  5. message : string;
  6. tags : DiagnosticTag.t list option;
  7. relatedInformation : DiagnosticRelatedInformation.t list option;
}
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
val create : range:Range.t -> ?severity:DiagnosticSeverity.t -> ?code:Jsonrpc.Id.t -> ?source:string -> message:string -> ?tags:DiagnosticTag.t list -> ?relatedInformation:DiagnosticRelatedInformation.t list -> unit -> t
OCaml

Innovation. Community. Security.