package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type _ t =
  1. | WorkspaceApplyEdit : Types.ApplyWorkspaceEditParams.t -> Types.ApplyWorkspaceEditResponse.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. | WorkDoneProgressCreate : Types.WorkDoneProgressCreateParams.t -> unit t
  8. | CodeLensRefresh : unit t
  9. | SemanticTokensRefresh : unit t
  10. | UnknownRequest : string * Jsonrpc.Message.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.Message.request
val of_jsonrpc : Jsonrpc.Message.request -> (packed, string) Import.Result.t
val response_of_json : 'a t -> Import.Json.t -> 'a
OCaml

Innovation. Community. Security.