package lsp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Types.DiagnosticSource

Sourcetype 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
Sourceval t_of_yojson : Yojson.Safe.t -> t
Sourceval yojson_of_t : t -> Yojson.Safe.t
Sourceval 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