Class Jsonrpc2.server

val mutable status : [ `ReceivedExit | `ReceivedShutdown | `Running ]
val mutable positionEncoding : [ `UTF16 | `UTF8 ]
method config_code_action_provider : [ `Bool of bool | `CodeActionOptions of Linol_lsp.Lsp.Types.CodeActionOptions.t ]
method config_code_lens_options : Linol_lsp.Lsp.Types.CodeLensOptions.t option
method config_completion : Linol_lsp.Lsp.Types.CompletionOptions.t option
method config_definition : [ `Bool of bool | `DefinitionOptions of Linol_lsp.Lsp.Types.DefinitionOptions.t ] option
method config_hover : [ `Bool of bool | `HoverOptions of Linol_lsp.Lsp.Types.HoverOptions.t ] option
method config_inlay_hints : [ `Bool of bool | `InlayHintOptions of Linol_lsp.Lsp.Types.InlayHintOptions.t | `InlayHintRegistrationOptions of Linol_lsp.Lsp.Types.InlayHintRegistrationOptions.t ] option
method config_list_commands : string list
method config_symbol : [ `Bool of bool | `DocumentSymbolOptions of Linol_lsp.Lsp.Types.DocumentSymbolOptions.t ] option
method filter_text_document : Linol_lsp.Lsp.Types.DocumentUri.t -> bool
method find_doc : Linol_lsp.Lsp.Types.DocumentUri.t -> doc_state option
method get_status : [ `ReceivedExit | `ReceivedShutdown | `Running ]
method must_quit : bool
method on_notif_doc_did_change : notify_back:notify_back -> Linol_lsp.Lsp.Types.VersionedTextDocumentIdentifier.t -> Linol_lsp.Lsp.Types.TextDocumentContentChangeEvent.t list -> old_content:string -> new_content:string -> unit IO.t
method on_notif_doc_did_close : notify_back:notify_back -> Linol_lsp.Lsp.Types.TextDocumentIdentifier.t -> unit IO.t
method on_notif_doc_did_open : notify_back:notify_back -> Linol_lsp.Lsp.Types.TextDocumentItem.t -> content:string -> unit IO.t
method on_notif_doc_did_save : notify_back:notify_back -> Linol_lsp.Lsp.Types.DidSaveTextDocumentParams.t -> unit IO.t
method on_notification : notify_back: (Linol_lsp.Lsp.Server_notification.t -> unit IO.t) -> server_request:send_request -> Linol_lsp.Lsp.Client_notification.t -> unit IO.t
method on_notification_unhandled : notify_back:notify_back -> Linol_lsp.Lsp.Client_notification.t -> unit IO.t
method on_req_code_action : notify_back:notify_back -> id:Req_id.t -> Linol_lsp.Lsp.Types.CodeActionParams.t -> Linol_lsp.Lsp.Types.CodeActionResult.t IO.t
method on_req_code_lens : notify_back:notify_back -> id:Req_id.t -> uri:Linol_lsp__Types.DocumentUri.t -> workDoneToken:Linol_lsp__Types.ProgressToken.t option -> partialResultToken:Linol_lsp__Types.ProgressToken.t option -> doc_state -> Linol_lsp.Lsp.Types.CodeLens.t list IO.t
method on_req_code_lens_resolve : notify_back:notify_back -> id:Req_id.t -> Linol_lsp.Lsp.Types.CodeLens.t -> Linol_lsp.Lsp.Types.CodeLens.t IO.t
method on_req_completion : notify_back:notify_back -> id:Req_id.t -> uri:Linol_lsp__Types.DocumentUri.t -> pos:Linol_lsp__Types.Position.t -> ctx:Linol_lsp__Types.CompletionContext.t option -> workDoneToken:Linol_lsp__Types.ProgressToken.t option -> partialResultToken:Linol_lsp__Types.ProgressToken.t option -> doc_state -> [ `CompletionList of Linol_lsp.Types.CompletionList.t | `List of Linol_lsp.Types.CompletionItem.t list ] option IO.t
method on_req_definition : notify_back:notify_back -> id:Req_id.t -> uri:Linol_lsp__Types.DocumentUri.t -> pos:Linol_lsp__Types.Position.t -> workDoneToken:Linol_lsp__Types.ProgressToken.t option -> partialResultToken:Linol_lsp__Types.ProgressToken.t option -> doc_state -> Linol_lsp.Lsp.Types.Locations.t option IO.t
method on_req_execute_command : notify_back:notify_back -> id:Req_id.t -> workDoneToken:Linol_lsp__Types.ProgressToken.t option -> string -> Yojson.Safe.t list option -> Yojson.Safe.t IO.t
method on_req_hover : notify_back:notify_back -> id:Req_id.t -> uri:Linol_lsp__Types.DocumentUri.t -> pos:Linol_lsp__Types.Position.t -> workDoneToken:Linol_lsp__Types.ProgressToken.t option -> doc_state -> Linol_lsp.Lsp.Types.Hover.t option IO.t
method on_req_initialize : notify_back:notify_back -> Linol_lsp.Lsp.Types.InitializeParams.t -> Linol_lsp.Lsp.Types.InitializeResult.t IO.t
method on_req_inlay_hint : notify_back:notify_back -> id:Req_id.t -> uri:Linol_lsp__Types.DocumentUri.t -> range:Linol_lsp.Lsp.Types.Range.t -> unit -> Linol_lsp.Lsp.Types.InlayHint.t list option IO.t
method on_req_shutdown : notify_back:notify_back -> id:Req_id.t -> unit IO.t
method on_req_symbol : notify_back:notify_back -> id:Req_id.t -> uri:Linol_lsp__Types.DocumentUri.t -> workDoneToken:Linol_lsp__Types.ProgressToken.t option -> partialResultToken:Linol_lsp__Types.ProgressToken.t option -> unit -> [ `DocumentSymbol of Linol_lsp.Types.DocumentSymbol.t list | `SymbolInformation of Linol_lsp.Types.SymbolInformation.t list ] option IO.t
method on_request : 'a. notify_back: (Linol_lsp.Lsp.Server_notification.t -> unit IO.t) -> server_request:send_request -> id:Req_id.t -> 'a Linol_lsp.Lsp.Client_request.t -> ('a, string) result IO.t
method on_request_unhandled : 'r. notify_back:notify_back -> id:Req_id.t -> 'r Linol_lsp.Lsp.Client_request.t -> 'r IO.t
method on_unknown_notification : notify_back:notify_back -> Linol_jsonrpc.Jsonrpc.Notification.t -> unit IO.t
method on_unknown_request : notify_back:notify_back -> server_request:(server_request_handler_pair -> Req_id.t IO.t) -> id:Req_id.t -> string -> Linol_jsonrpc.Jsonrpc.Structured.t option -> Yojson.Safe.t IO.t
method set_positionEncoding : Linol_lsp.Lsp.Types.InitializeParams.t -> unit
method spawn_query_handler : (unit -> unit IO.t) -> unit