Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val docs : (Lsp.Types.DocumentUri.t, doc_state) Stdlib.Hashtbl.t
method find_doc : Lsp.Types.DocumentUri.t -> doc_state option
method on_notif_doc_did_change : notify_back:notify_back ->
Lsp.Types.VersionedTextDocumentIdentifier.t ->
Lsp.Types.TextDocumentContentChangeEvent.t list ->
old_content:string ->
new_content:string ->
unit IO.t
method on_notif_doc_did_close : notify_back:notify_back ->
Lsp.Types.TextDocumentIdentifier.t ->
unit IO.t
method on_notif_doc_did_open : notify_back:notify_back ->
Lsp.Types.TextDocumentItem.t ->
content:string ->
unit IO.t
method on_notif_doc_did_save : notify_back:notify_back ->
Lsp.Types.DidSaveTextDocumentParams.t ->
unit IO.t
method on_notification : notify_back:(Lsp.Server_notification.t -> unit IO.t) ->
server_request:send_request ->
Lsp.Client_notification.t ->
unit IO.t
method on_notification_unhandled : notify_back:notify_back ->
Lsp.Client_notification.t ->
unit IO.t
method on_req_completion : notify_back:notify_back ->
id:Req_id.t ->
uri:Lsp__Types.DocumentUri.t ->
pos:Lsp__Types.Position.t ->
ctx:Lsp__Types.CompletionContext.t option ->
workDoneToken:Lsp__Types.ProgressToken.t option ->
partialResultToken:Lsp__Types.ProgressToken.t option ->
doc_state ->
[ `CompletionList of Lsp__.Types.CompletionList.t
| `List of Lsp__.Types.CompletionItem.t list ]
option
IO.t
method on_req_initialize : notify_back:notify_back ->
Lsp.Types.InitializeParams.t ->
Lsp.Types.InitializeResult.t IO.t
method on_req_symbol : notify_back:notify_back ->
id:Req_id.t ->
uri:Lsp__Types.DocumentUri.t ->
workDoneToken:Lsp__Types.ProgressToken.t option ->
partialResultToken:Lsp__Types.ProgressToken.t option ->
unit ->
[ `DocumentSymbol of Lsp__.Types.DocumentSymbol.t list
| `SymbolInformation of Lsp__.Types.SymbolInformation.t list ]
option
IO.t
method on_request : 'a. notify_back:(Lsp.Server_notification.t -> unit IO.t) ->
server_request:send_request ->
id:Req_id.t ->
'a Lsp.Client_request.t ->
'a IO.t
method on_unknown_notification : notify_back:notify_back ->
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 ->
Jsonrpc.Structured.t option ->
Yojson.Safe.t IO.t
method spawn_query_handler : (unit -> unit IO.t) -> unit