package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type _ t =
  1. | WorkspaceApplyEdit : Types.ApplyWorkspaceEditParams.t -> Types.ApplyWorkspaceEditResult.t t
  2. | WorkspaceFolders : Types.WorkspaceFolder.t list t
  3. | WorkspaceConfiguration : Types.ConfigurationParams.t -> Import.Json.t list t
  4. | ClientRegisterCapability : Types.RegistrationParams.t -> unit t
  5. | ClientUnregisterCapability : Types.UnregistrationParams.t -> unit t
  6. | ShowMessageRequest : Types.ShowMessageRequestParams.t -> Types.MessageActionItem.t option t
  7. | ShowDocumentRequest : Types.ShowDocumentParams.t -> Types.ShowDocumentResult.t t
  8. | WorkDoneProgressCreate : Types.WorkDoneProgressCreateParams.t -> unit t
  9. | CodeLensRefresh : unit t
  10. | SemanticTokensRefresh : unit t
  11. | UnknownRequest : string * Jsonrpc.Structured.t option -> Import.Json.t t
type packed =
  1. | E : 'r t -> packed
val yojson_of_result : 'a t -> 'a -> Import.Json.t
val to_jsonrpc_request : _ t -> id:Jsonrpc.Id.t -> Jsonrpc.Request.t
val of_jsonrpc : Jsonrpc.Request.t -> (packed, string) Import.Result.t
val response_of_json : 'a t -> Import.Json.t -> 'a
OCaml

Innovation. Community. Security.