package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type disabled = {
  1. reason : string;
}
val create_disabled : reason:string -> disabled
type t = {
  1. title : string;
  2. kind : CodeActionKind.t option;
  3. diagnostics : Diagnostic.t list option;
  4. isPreferred : bool option;
  5. disabled : disabled option;
  6. edit : WorkspaceEdit.t option;
  7. command : Command.t option;
  8. data : Import.Json.t option;
}
val create : title:string -> ?kind:CodeActionKind.t -> ?diagnostics:Diagnostic.t list -> ?isPreferred:bool -> ?disabled:disabled -> ?edit:WorkspaceEdit.t -> ?command:Command.t -> ?data:Import.Json.t -> 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
OCaml

Innovation. Community. Security.