package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type clientInfo = {
  1. name : string;
  2. version : string option;
}
val create_clientInfo : name:string -> ?version:string -> unit -> clientInfo
type t = {
  1. capabilities : ClientCapabilities.t;
  2. clientInfo : clientInfo option;
  3. initializationOptions : Import.Json.t option;
  4. locale : string option;
  5. processId : int option;
  6. rootPath : string option option;
  7. rootUri : DocumentUri.t option;
  8. trace : TraceValues.t option;
  9. workDoneToken : ProgressToken.t option;
  10. workspaceFolders : WorkspaceFolder.t list option option;
}
val create : capabilities:ClientCapabilities.t -> ?clientInfo:clientInfo -> ?initializationOptions:Import.Json.t -> ?locale:string -> ?processId:int -> ?rootPath:string option -> ?rootUri:DocumentUri.t -> ?trace:TraceValues.t -> ?workDoneToken:ProgressToken.t -> ?workspaceFolders:WorkspaceFolder.t list option -> 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.