linol/dev/linol-lwt/Linol_lwt/Jsonrpc2/class-server/index.html
2021-02-09 19:43:49 -05:00

2 lines
No EOL
5.9 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>server (linol-lwt.Linol_lwt.Jsonrpc2.server)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../../index.html">linol-lwt</a> &#x00BB; <a href="../../index.html">Linol_lwt</a> &#x00BB; <a href="../index.html">Jsonrpc2</a> &#x00BB; server</nav><h1>Class <code>Jsonrpc2.server</code></h1></header><dl><dt class="spec instance-variable" id="val-docs"><a href="#val-docs" class="anchor"></a><code><span class="keyword">val</span> docs : (Lsp.Types.DocumentUri.t, <a href="../index.html#type-doc_state">doc_state</a>) Stdlib.Hashtbl.t</code></dt><dt class="spec instance-variable" id="val-_quit"><a href="#val-_quit" class="anchor"></a><code><span class="keyword">val</span> <span class="keyword">mutable</span> _quit : bool</code></dt></dl><dl><dt class="spec method" id="method-config_sync_opts"><a href="#method-config_sync_opts" class="anchor"></a><code><span class="keyword">method</span> config_sync_opts : Lsp.Types.TextDocumentSyncOptions.t</code></dt><dt class="spec method" id="method-find_doc"><a href="#method-find_doc" class="anchor"></a><code><span class="keyword">method</span> find_doc : Lsp.Types.DocumentUri.t <span>&#45;&gt;</span> <a href="../index.html#type-doc_state">doc_state</a> option</code></dt><dt class="spec method" id="method-must_quit"><a href="#method-must_quit" class="anchor"></a><code><span class="keyword">method</span> must_quit : bool</code></dt><dt class="spec method" id="method-on_notif_doc_did_change"><a href="#method-on_notif_doc_did_change" class="anchor"></a><code><span class="keyword">method</span> <span class="keyword">virtual</span> on_notif_doc_did_change : notify_back:<a href="../class-notify_back/index.html">notify_back</a> <span>&#45;&gt;</span> Lsp.Types.VersionedTextDocumentIdentifier.t <span>&#45;&gt;</span> Lsp.Types.TextDocumentContentChangeEvent.t list <span>&#45;&gt;</span> old_content:string <span>&#45;&gt;</span> new_content:string <span>&#45;&gt;</span> unit <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_notif_doc_did_close"><a href="#method-on_notif_doc_did_close" class="anchor"></a><code><span class="keyword">method</span> <span class="keyword">virtual</span> on_notif_doc_did_close : notify_back:<a href="../class-notify_back/index.html">notify_back</a> <span>&#45;&gt;</span> Lsp.Types.TextDocumentIdentifier.t <span>&#45;&gt;</span> unit <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_notif_doc_did_open"><a href="#method-on_notif_doc_did_open" class="anchor"></a><code><span class="keyword">method</span> <span class="keyword">virtual</span> on_notif_doc_did_open : notify_back:<a href="../class-notify_back/index.html">notify_back</a> <span>&#45;&gt;</span> Lsp.Types.TextDocumentItem.t <span>&#45;&gt;</span> content:string <span>&#45;&gt;</span> unit <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_notification"><a href="#method-on_notification" class="anchor"></a><code><span class="keyword">method</span> on_notification : notify_back:(Lsp.Server_notification.t <span>&#45;&gt;</span> unit <a href="../IO/index.html#type-t">IO.t</a>) <span>&#45;&gt;</span> Lsp.Client_notification.t <span>&#45;&gt;</span> unit <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_req_completion"><a href="#method-on_req_completion" class="anchor"></a><code><span class="keyword">method</span> on_req_completion : uri:Lsp__Types.DocumentUri.t <span>&#45;&gt;</span> pos:Lsp__Types.Position.t <span>&#45;&gt;</span> ctx:Lsp__Types.CompletionContext.t option <span>&#45;&gt;</span> <a href="../index.html#type-doc_state">doc_state</a> <span>&#45;&gt;</span> [ `CompletionList of Lsp__.Types.CompletionList.t | `List of Lsp__.Types.CompletionItem.t list ] option <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_req_definition"><a href="#method-on_req_definition" class="anchor"></a><code><span class="keyword">method</span> on_req_definition : uri:Lsp__Types.DocumentUri.t <span>&#45;&gt;</span> pos:Lsp__Types.Position.t <span>&#45;&gt;</span> <a href="../index.html#type-doc_state">doc_state</a> <span>&#45;&gt;</span> Lsp.Types.Locations.t option <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_req_hover"><a href="#method-on_req_hover" class="anchor"></a><code><span class="keyword">method</span> on_req_hover : uri:Lsp__Types.DocumentUri.t <span>&#45;&gt;</span> pos:Lsp__Types.Position.t <span>&#45;&gt;</span> <a href="../index.html#type-doc_state">doc_state</a> <span>&#45;&gt;</span> Lsp.Types.Hover.t option <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_req_initialize"><a href="#method-on_req_initialize" class="anchor"></a><code><span class="keyword">method</span> on_req_initialize : Lsp.Types.InitializeParams.t <span>&#45;&gt;</span> Lsp.Types.InitializeResult.t <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_request"><a href="#method-on_request" class="anchor"></a><code><span class="keyword">method</span> on_request : a. <span class="type-var">'a</span> Lsp.Client_request.t <span>&#45;&gt;</span> <span class="type-var">'a</span> <a href="../IO/index.html#type-t">IO.t</a></code></dt><dt class="spec method" id="method-on_request_unhandled"><a href="#method-on_request_unhandled" class="anchor"></a><code><span class="keyword">method</span> on_request_unhandled : r. <span class="type-var">'r</span> Lsp.Client_request.t <span>&#45;&gt;</span> <span class="type-var">'r</span> <a href="../IO/index.html#type-t">IO.t</a></code></dt></dl></div></body></html>