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. processId : int option;
  2. clientInfo : clientInfo option;
  3. rootPath : string option option;
  4. rootUri : DocumentUri.t option;
  5. initializationOptions : Import.Json.t option;
  6. capabilities : ClientCapabilities.t;
  7. trace : [ `Off | `Messages | `Verbose ] option;
  8. workspaceFolders : WorkspaceFolder.t list option 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 : ?processId:int -> ?clientInfo:clientInfo -> ?rootPath:string option -> ?rootUri:DocumentUri.t -> ?initializationOptions:Import.Json.t -> capabilities:ClientCapabilities.t -> ?trace:[ `Off | `Messages | `Verbose ] -> ?workspaceFolders:WorkspaceFolder.t list option -> unit -> t
OCaml

Innovation. Community. Security.