Compare commits

...

6 commits

Author SHA1 Message Date
c-cube
b3258fa774 deploy: 1b4c56b134 2025-04-17 21:00:57 +00:00
c-cube
bca77e544c deploy: fc691e0abd 2025-04-10 19:50:29 +00:00
c-cube
bd86558655 deploy: f89022e9d0 2025-04-07 18:59:16 +00:00
c-cube
3ebb137d8b deploy: 691eac4863 2025-04-07 18:55:58 +00:00
c-cube
142732767b deploy: 43839963e1 2025-04-07 17:35:15 +00:00
c-cube
66c6c9c55b deploy: a63ac9b5cb 2025-04-03 13:23:17 +00:00
2512 changed files with 7186 additions and 6788 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (cmdliner.Cmdliner.Arg)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">cmdliner</a> &#x00BB; <a href="../index.html">Cmdliner</a> &#x00BB; Arg</nav><header class="odoc-preamble"><h1>Module <code><span>Cmdliner.Arg</span></code></h1><p>Terms for command line arguments.</p><p>This module provides functions to define terms that evaluate to the arguments provided on the command line.</p><p>Basic constraints, like the argument type or repeatability, are specified by defining a value of type <a href="#type-t"><code>Arg.t</code></a>. Further constraints can be specified during the <a href="#argterms" title="argterms">conversion</a> to a term.</p></header><nav class="odoc-toc"><ul><li><a href="#argconv">Argument converters</a></li><li><a href="#arginfo">Arguments and their information</a></li><li><a href="#optargs">Optional arguments</a></li><li><a href="#posargs">Positional arguments</a></li><li><a href="#argterms">Arguments as terms</a></li><li><a href="#predef">Predefined arguments</a></li><li><a href="#converters">Predefined converters</a></li><li><a href="#doc_helpers">Documentation formatting helpers</a></li><li><a href="#deprecated">Deprecated</a></li></ul></nav><div class="odoc-content"><h2 id="argconv"><a href="#argconv" class="anchor"></a>Argument converters</h2><p>An argument converter transforms a string argument of the command line to an OCaml value. <a href="#converters" title="converters">Predefined converters</a> are provided for many types of the standard library.</p><div class="odoc-spec"><div class="spec type anchored" id="type-parser"><a href="#type-parser" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a parser</span></span><span> = <span>string <span class="arrow">&#45;&gt;</span></span> <span>[ <span>`Ok of <span class="type-var">'a</span></span> <span><span>| `Error</span> of string</span> ]</span></span></code></div><div class="spec-doc"><p>The type for argument parsers.</p><p><b>Deprecated.</b> Use parser signatures of <a href="#val-conv"><code>conv</code></a> or <a href="#val-conv'"><code>conv'</code></a>.</p><ul class="at-tags"><li class="deprecated"><span class="at-tag">deprecated</span> Use Arg.conv or Arg.conv' instead.</li></ul></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-printer"><a href="#type-printer" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a printer</span></span><span> = <span><a href="../../../ocaml/Stdlib/Format/index.html#type-formatter">Stdlib.Format.formatter</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p>The type for converted argument printers.</p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-conv"><a href="#type-conv" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a conv</span></span><span> = <span><span class="type-var">'a</span> <a href="#type-parser">parser</a></span> * <span><span class="type-var">'a</span> <a href="#type-printer">printer</a></span></span></code></div><div class="spec-doc"><p>The type for argument converters.</p><p><b>Warning.</b> Do not use directly, use <a href="#val-conv"><code>conv</code></a> or <a href="#val-conv'"><code>conv'</code></a>. This type will become abstract in the next major version of cmdliner.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-conv"><a href="#val-conv" class="anchor"></a><code><span><span class="keyword">val</span> conv :
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Arg (cmdliner.Cmdliner.Arg)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">cmdliner</a> &#x00BB; <a href="../index.html">Cmdliner</a> &#x00BB; Arg</nav><header class="odoc-preamble"><h1>Module <code><span>Cmdliner.Arg</span></code></h1><p>Terms for command line arguments.</p><p>This module provides functions to define terms that evaluate to the arguments provided on the command line.</p><p>Basic constraints, like the argument type or repeatability, are specified by defining a value of type <a href="#type-t"><code>Arg.t</code></a>. Further constraints can be specified during the <a href="#argterms" title="argterms">conversion</a> to a term.</p></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#argconv">Argument converters</a></li><li><a href="#arginfo">Arguments and their information</a></li><li><a href="#optargs">Optional arguments</a></li><li><a href="#posargs">Positional arguments</a></li><li><a href="#argterms">Arguments as terms</a></li><li><a href="#predef">Predefined arguments</a></li><li><a href="#converters">Predefined converters</a></li><li><a href="#doc_helpers">Documentation formatting helpers</a></li><li><a href="#deprecated">Deprecated</a></li></ul></nav></div><div class="odoc-content"><h2 id="argconv"><a href="#argconv" class="anchor"></a>Argument converters</h2><p>An argument converter transforms a string argument of the command line to an OCaml value. <a href="#converters" title="converters">Predefined converters</a> are provided for many types of the standard library.</p><div class="odoc-spec"><div class="spec type anchored" id="type-parser"><a href="#type-parser" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a parser</span></span><span> = <span>string <span class="arrow">&#45;&gt;</span></span> <span>[ <span>`Ok of <span class="type-var">'a</span></span> <span><span>| `Error</span> of string</span> ]</span></span></code></div><div class="spec-doc"><p>The type for argument parsers.</p><p><b>Deprecated.</b> Use parser signatures of <a href="#val-conv"><code>conv</code></a> or <a href="#val-conv'"><code>conv'</code></a>.</p><ul class="at-tags"><li class="deprecated"><span class="at-tag">deprecated</span> Use Arg.conv or Arg.conv' instead.</li></ul></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-printer"><a href="#type-printer" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a printer</span></span><span> = <span><a href="../../../ocaml/Stdlib/Format/index.html#type-formatter">Stdlib.Format.formatter</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p>The type for converted argument printers.</p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-conv"><a href="#type-conv" class="anchor"></a><code><span><span class="keyword">type</span> <span>'a conv</span></span><span> = <span><span class="type-var">'a</span> <a href="#type-parser">parser</a></span> * <span><span class="type-var">'a</span> <a href="#type-printer">printer</a></span></span></code></div><div class="spec-doc"><p>The type for argument converters.</p><p><b>Warning.</b> Do not use directly, use <a href="#val-conv"><code>conv</code></a> or <a href="#val-conv'"><code>conv'</code></a>. This type will become abstract in the next major version of cmdliner.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-conv"><a href="#val-conv" class="anchor"></a><code><span><span class="keyword">val</span> conv :
<span><span class="optlabel">?docv</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span>(<span>string <span class="arrow">&#45;&gt;</span></span> <span><span>(<span class="type-var">'a</span>, <span>[ <span>`Msg of string</span> ]</span>)</span> <a href="../../../ocaml/Stdlib/index.html#type-result">result</a></span>)</span> * <span><span class="type-var">'a</span> <a href="#type-printer">printer</a></span>)</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="type-var">'a</span> <a href="#type-conv">conv</a></span></span></code></div><div class="spec-doc"><p><code>conv ~docv (parse, print)</code> is an argument converter parsing values with <code>parse</code> and printing them with <code>print</code>. <code>docv</code> is a documentation meta-variable used in the documentation to stand for the argument value, defaults to <code>&quot;VALUE&quot;</code>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-conv'"><a href="#val-conv'" class="anchor"></a><code><span><span class="keyword">val</span> conv' :

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Env (cmdliner.Cmdliner.Cmd.Env)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">cmdliner</a> &#x00BB; <a href="../../index.html">Cmdliner</a> &#x00BB; <a href="../index.html">Cmd</a> &#x00BB; Env</nav><header class="odoc-preamble"><h1>Module <code><span>Cmd.Env</span></code></h1><p>Environment variable and their information.</p></header><nav class="odoc-toc"><ul><li><a href="#envvars">Environment variables</a></li><li><a href="#info">Environment variable information</a></li></ul></nav><div class="odoc-content"><h2 id="envvars"><a href="#envvars" class="anchor"></a>Environment variables</h2><div class="odoc-spec"><div class="spec type anchored" id="type-var"><a href="#type-var" class="anchor"></a><code><span><span class="keyword">type</span> var</span><span> = string</span></code></div><div class="spec-doc"><p>The type for environment names.</p></div></div><h2 id="info"><a href="#info" class="anchor"></a>Environment variable information</h2><div class="odoc-spec"><div class="spec type anchored" id="type-info"><a href="#type-info" class="anchor"></a><code><span><span class="keyword">type</span> info</span><span> = <a href="../../Term/index.html#type-env_info">Term.env_info</a></span></code></div><div class="spec-doc"><p>The type for environment variable information.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-info"><a href="#val-info" class="anchor"></a><code><span><span class="keyword">val</span> info : <span><span class="optlabel">?deprecated</span>:string <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?docs</span>:string <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?doc</span>:string <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-var">var</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-info">info</a></span></code></div><div class="spec-doc"><p><code>info ~docs ~doc var</code> describes an environment variable <code>var</code> such that:</p><ul><li><code>doc</code> is the man page information of the environment variable, defaults to <code>&quot;undocumented&quot;</code>.</li><li><code>docs</code> is the title of the man page section in which the environment variable will be listed, it defaults to <a href="../../Manpage/index.html#val-s_environment"><code>Cmdliner.Manpage.s_environment</code></a>.</li><li><code>deprecated</code>, if specified the environment is deprecated and the string is a message output on standard error when the environment variable gets used to lookup the default value of an argument.</li></ul><p>In <code>doc</code> the <a href="../../../tool_man.html#doclang" title="doclang">documentation markup language</a> can be used with following variables:</p><ul><li><code>$(env)</code>, the value of <code>var</code>.</li><li>The variables mentioned in <a href="#val-info"><code>info</code></a>.</li></ul></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Env (cmdliner.Cmdliner.Cmd.Env)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../../index.html">Index</a> &#x00BB; <a href="../../../index.html">cmdliner</a> &#x00BB; <a href="../../index.html">Cmdliner</a> &#x00BB; <a href="../index.html">Cmd</a> &#x00BB; Env</nav><header class="odoc-preamble"><h1>Module <code><span>Cmd.Env</span></code></h1><p>Environment variable and their information.</p></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#envvars">Environment variables</a></li><li><a href="#info">Environment variable information</a></li></ul></nav></div><div class="odoc-content"><h2 id="envvars"><a href="#envvars" class="anchor"></a>Environment variables</h2><div class="odoc-spec"><div class="spec type anchored" id="type-var"><a href="#type-var" class="anchor"></a><code><span><span class="keyword">type</span> var</span><span> = string</span></code></div><div class="spec-doc"><p>The type for environment names.</p></div></div><h2 id="info"><a href="#info" class="anchor"></a>Environment variable information</h2><div class="odoc-spec"><div class="spec type anchored" id="type-info"><a href="#type-info" class="anchor"></a><code><span><span class="keyword">type</span> info</span><span> = <a href="../../Term/index.html#type-env_info">Term.env_info</a></span></code></div><div class="spec-doc"><p>The type for environment variable information.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-info"><a href="#val-info" class="anchor"></a><code><span><span class="keyword">val</span> info : <span><span class="optlabel">?deprecated</span>:string <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?docs</span>:string <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?doc</span>:string <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-var">var</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-info">info</a></span></code></div><div class="spec-doc"><p><code>info ~docs ~doc var</code> describes an environment variable <code>var</code> such that:</p><ul><li><code>doc</code> is the man page information of the environment variable, defaults to <code>&quot;undocumented&quot;</code>.</li><li><code>docs</code> is the title of the man page section in which the environment variable will be listed, it defaults to <a href="../../Manpage/index.html#val-s_environment"><code>Cmdliner.Manpage.s_environment</code></a>.</li><li><code>deprecated</code>, if specified the environment is deprecated and the string is a message output on standard error when the environment variable gets used to lookup the default value of an argument.</li></ul><p>In <code>doc</code> the <a href="../../../tool_man.html#doclang" title="doclang">documentation markup language</a> can be used with following variables:</p><ul><li><code>$(env)</code>, the value of <code>var</code>.</li><li>The variables mentioned in <a href="#val-info"><code>info</code></a>.</li></ul></div></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cmd (cmdliner.Cmdliner.Cmd)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">cmdliner</a> &#x00BB; <a href="../index.html">Cmdliner</a> &#x00BB; Cmd</nav><header class="odoc-preamble"><h1>Module <code><span>Cmdliner.Cmd</span></code></h1><p>Commands.</p><p>Command line syntaxes are implicitely defined by <a href="../Term/index.html"><code>Term</code></a>s. A command value binds a syntax and its documentation to a command name.</p><p>A command can group a list of sub commands (and recursively). In this case your tool defines a tree of commands, each with its own command line syntax. The root of that tree is called the <em>main command</em>; it represents your tool and its name.</p></header><nav class="odoc-toc"><ul><li><a href="#info">Command information</a></li><li><a href="#cmds">Commands</a></li><li><a href="#eval">Evaluation</a><ul><li><a href="#eval_low">Low level evaluation</a></li></ul></li></ul></nav><div class="odoc-content"><h2 id="info"><a href="#info" class="anchor"></a>Command information</h2><p>Command information defines the name and documentation of a command.</p><div class="odoc-spec"><div class="spec module anchored" id="module-Exit"><a href="#module-Exit" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Exit/index.html">Exit</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Exit codes and their information.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Env"><a href="#module-Env" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Env/index.html">Env</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Environment variable and their information.</p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-info"><a href="#type-info" class="anchor"></a><code><span><span class="keyword">type</span> info</span></code></div><div class="spec-doc"><p>The type for information about commands.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-info"><a href="#val-info" class="anchor"></a><code><span><span class="keyword">val</span> info :
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cmd (cmdliner.Cmdliner.Cmd)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">cmdliner</a> &#x00BB; <a href="../index.html">Cmdliner</a> &#x00BB; Cmd</nav><header class="odoc-preamble"><h1>Module <code><span>Cmdliner.Cmd</span></code></h1><p>Commands.</p><p>Command line syntaxes are implicitely defined by <a href="../Term/index.html"><code>Term</code></a>s. A command value binds a syntax and its documentation to a command name.</p><p>A command can group a list of sub commands (and recursively). In this case your tool defines a tree of commands, each with its own command line syntax. The root of that tree is called the <em>main command</em>; it represents your tool and its name.</p></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#info">Command information</a></li><li><a href="#cmds">Commands</a></li><li><a href="#eval">Evaluation</a><ul><li><a href="#eval_low">Low level evaluation</a></li></ul></li></ul></nav></div><div class="odoc-content"><h2 id="info"><a href="#info" class="anchor"></a>Command information</h2><p>Command information defines the name and documentation of a command.</p><div class="odoc-spec"><div class="spec module anchored" id="module-Exit"><a href="#module-Exit" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Exit/index.html">Exit</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Exit codes and their information.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Env"><a href="#module-Env" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Env/index.html">Env</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Environment variable and their information.</p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-info"><a href="#type-info" class="anchor"></a><code><span><span class="keyword">type</span> info</span></code></div><div class="spec-doc"><p>The type for information about commands.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-info"><a href="#val-info" class="anchor"></a><code><span><span class="keyword">val</span> info :
<span><span class="optlabel">?deprecated</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?man_xrefs</span>:<span><a href="../Manpage/index.html#type-xref">Manpage.xref</a> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?man</span>:<span><a href="../Manpage/index.html#type-block">Manpage.block</a> list</span> <span class="arrow">&#45;&gt;</span></span>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Syntax (cmdliner.Cmdliner.Term.Syntax)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">cmdliner</a> &#x00BB; <a href="../../index.html">Cmdliner</a> &#x00BB; <a href="../index.html">Term</a> &#x00BB; Syntax</nav><header class="odoc-preamble"><h1>Module <code><span>Term.Syntax</span></code></h1><p><code>let</code> operators.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-let+"><a href="#val-let+" class="anchor"></a><code><span><span class="keyword">val</span> let+ : <span><span><span class="type-var">'a</span> <a href="../index.html#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span>(<span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'b</span>)</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'b</span> <a href="../index.html#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>( let+ )</code> is <a href="../index.html#val-map"><code>map</code></a>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-and+"><a href="#val-and+" class="anchor"></a><code><span><span class="keyword">val</span> and+ : <span><span><span class="type-var">'a</span> <a href="../index.html#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span><span class="type-var">'b</span> <a href="../index.html#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span>(<span class="type-var">'a</span> * <span class="type-var">'b</span>)</span> <a href="../index.html#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>( and* )</code> is <a href="../index.html#val-product"><code>product</code></a>.</p></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Syntax (cmdliner.Cmdliner.Term.Syntax)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../../index.html">Index</a> &#x00BB; <a href="../../../index.html">cmdliner</a> &#x00BB; <a href="../../index.html">Cmdliner</a> &#x00BB; <a href="../index.html">Term</a> &#x00BB; Syntax</nav><header class="odoc-preamble"><h1>Module <code><span>Term.Syntax</span></code></h1><p><code>let</code> operators.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-(let+)"><a href="#val-(let+)" class="anchor"></a><code><span><span class="keyword">val</span> (let+) : <span><span><span class="type-var">'a</span> <a href="../index.html#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span>(<span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'b</span>)</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'b</span> <a href="../index.html#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>( let+ )</code> is <a href="../index.html#val-map"><code>map</code></a>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-(and+)"><a href="#val-(and+)" class="anchor"></a><code><span><span class="keyword">val</span> (and+) : <span><span><span class="type-var">'a</span> <a href="../index.html#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span><span class="type-var">'b</span> <a href="../index.html#type-t">t</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span>(<span class="type-var">'a</span> * <span class="type-var">'b</span>)</span> <a href="../index.html#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>( and* )</code> is <a href="../index.html#val-product"><code>product</code></a>.</p></div></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cmdliner (cmdliner.Cmdliner)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">cmdliner</a> &#x00BB; Cmdliner</nav><header class="odoc-preamble"><h1>Module <code><span>Cmdliner</span></code></h1><p>Declarative definition of command line interfaces.</p><p>Consult the <a href="../tutorial.html" title="tutorial">tutorial</a>, details about the supported <a href="../cli.html" title="cli">command line syntax</a> and <a href="../examples.html" title="examples">examples</a> of use.</p><p>Open the module to use it, it defines only three modules in your scope.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Manpage"><a href="#module-Manpage" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Manpage/index.html">Manpage</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Man page specification.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Term"><a href="#module-Term" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Term/index.html">Term</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Terms.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Cmd"><a href="#module-Cmd" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Cmd/index.html">Cmd</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Commands.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Arg"><a href="#module-Arg" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Arg/index.html">Arg</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Terms for command line arguments.</p></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cmdliner (cmdliner.Cmdliner)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">Index</a> &#x00BB; <a href="../index.html">cmdliner</a> &#x00BB; Cmdliner</nav><header class="odoc-preamble"><h1>Module <code><span>Cmdliner</span></code></h1><p>Declarative definition of command line interfaces.</p><p>Consult the <a href="../tutorial.html" title="tutorial">tutorial</a>, details about the supported <a href="../cli.html" title="cli">command line syntax</a> and <a href="../examples.html" title="examples">examples</a> of use.</p><p>Open the module to use it, it defines only three modules in your scope.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Manpage"><a href="#module-Manpage" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Manpage/index.html">Manpage</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Man page specification.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Term"><a href="#module-Term" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Term/index.html">Term</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Terms.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Cmd"><a href="#module-Cmd" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Cmd/index.html">Cmd</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Commands.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Arg"><a href="#module-Arg" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Arg/index.html">Arg</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Terms for command line arguments.</p></div></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>examples (cmdliner.examples)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="index.html">Up</a> <a href="index.html">cmdliner</a> &#x00BB; examples</nav><header class="odoc-preamble"><h1 id="examples"><a href="#examples" class="anchor"></a>Examples</h1><p>The examples are self-contained, cut and paste them in a file to play with them.</p></header><nav class="odoc-toc"><ul><li><a href="#exrm">A <code>rm</code> command</a></li><li><a href="#excp">A <code>cp</code> command</a></li><li><a href="#extail">A <code>tail</code> command</a></li><li><a href="#exdarcs">A <code>darcs</code> command</a></li></ul></nav><div class="odoc-content"><h2 id="exrm"><a href="#exrm" class="anchor"></a>A <code>rm</code> command</h2><p>We define the command line interface of an <code>rm</code> command with the synopsis:</p><pre>rm [OPTION]… FILE…</pre><p>The <code>-f</code>, <code>-i</code> and <code>-I</code> flags define the prompt behaviour of <code>rm</code>. It is represented in our program by the <code>prompt</code> type. If more than one of these flags is present on the command line the last one takes precedence.</p><p>To implement this behaviour we map the presence of these flags to values of the <code>prompt</code> type by using <a href="Cmdliner/Arg/index.html#val-vflag_all"><code>Cmdliner.Arg.vflag_all</code></a>.</p><p>This argument will contain all occurrences of the flag on the command line and we just take the <a href="Cmdliner/Arg/index.html#val-last"><code>Cmdliner.Arg.last</code></a> one to define our term value. If there is no occurrence the last value of the default list <code>[Always]</code> is taken. This means the default prompt behaviour is <code>Always</code>.</p><pre class="language-ocaml"><code>(* Implementation of the command, we just print the args. *)
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>examples (cmdliner.examples)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="index.html">Up</a> <a href="../index.html">Index</a> &#x00BB; <a href="index.html">cmdliner</a> &#x00BB; examples</nav><header class="odoc-preamble"><h1 id="examples"><a href="#examples" class="anchor"></a>Examples</h1><p>The examples are self-contained, cut and paste them in a file to play with them.</p></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#exrm">A <code>rm</code> command</a></li><li><a href="#excp">A <code>cp</code> command</a></li><li><a href="#extail">A <code>tail</code> command</a></li><li><a href="#exdarcs">A <code>darcs</code> command</a></li></ul></nav></div><div class="odoc-content"><h2 id="exrm"><a href="#exrm" class="anchor"></a>A <code>rm</code> command</h2><p>We define the command line interface of an <code>rm</code> command with the synopsis:</p><pre>rm [OPTION]… FILE…</pre><p>The <code>-f</code>, <code>-i</code> and <code>-I</code> flags define the prompt behaviour of <code>rm</code>. It is represented in our program by the <code>prompt</code> type. If more than one of these flags is present on the command line the last one takes precedence.</p><p>To implement this behaviour we map the presence of these flags to values of the <code>prompt</code> type by using <a href="Cmdliner/Arg/index.html#val-vflag_all"><code>Cmdliner.Arg.vflag_all</code></a>.</p><p>This argument will contain all occurrences of the flag on the command line and we just take the <a href="Cmdliner/Arg/index.html#val-last"><code>Cmdliner.Arg.last</code></a> one to define our term value. If there is no occurrence the last value of the default list <code>[Always]</code> is taken. This means the default prompt behaviour is <code>Always</code>.</p><pre class="language-ocaml"><code>(* Implementation of the command, we just print the args. *)
type prompt = Always | Once | Never
let prompt_str = function
@ -188,8 +188,7 @@ let cmd =
let main () = exit (Cmd.eval cmd)
let () = main ()</code></pre><h2 id="exdarcs"><a href="#exdarcs" class="anchor"></a>A <code>darcs</code> command</h2><p>We define the command line interface of a <code>darcs</code> command with the synopsis:</p><pre>darcs [COMMAND] …</pre><p>The <code>--debug</code>, <code>-q</code>, <code>-v</code> and <code>--prehook</code> options are available in each command. To avoid having to pass them individually to each command we gather them in a record of type <code>copts</code>. By lifting the record constructor <code>copts</code> into the term <code>copts_t</code> we now have a term that we can pass to the commands to stand for an argument of type <code>copts</code>. These options are documented in a section called <code>COMMON
OPTIONS</code>, since we also want to put <code>--help</code> and <code>--version</code> in this section, the term information of commands makes a judicious use of the <code>sdocs</code> parameter of <a href="Cmdliner/Term/index.html#val-info"><code>Cmdliner.Term.info</code></a>.</p><p>The <code>help</code> command shows help about commands or other topics. The help shown for commands is generated by <code>Cmdliner</code> by making an appropriate use of <a href="Cmdliner/Term/index.html#val-ret"><code>Cmdliner.Term.ret</code></a> on the lifted <code>help</code> function.</p><p>If the program is invoked without a command we just want to show the help of the program as printed by <code>Cmdliner</code> with <code>--help</code>. This is done by the <code>default_cmd</code> term.</p><pre class="language-ocaml"><code>(* Implementations, just print the args. *)
let () = main ()</code></pre><h2 id="exdarcs"><a href="#exdarcs" class="anchor"></a>A <code>darcs</code> command</h2><p>We define the command line interface of a <code>darcs</code> command with the synopsis:</p><pre>darcs [COMMAND] …</pre><p>The <code>--debug</code>, <code>-q</code>, <code>-v</code> and <code>--prehook</code> options are available in each command. To avoid having to pass them individually to each command we gather them in a record of type <code>copts</code>. By lifting the record constructor <code>copts</code> into the term <code>copts_t</code> we now have a term that we can pass to the commands to stand for an argument of type <code>copts</code>. These options are documented in a section called <code>COMMON OPTIONS</code>, since we also want to put <code>--help</code> and <code>--version</code> in this section, the term information of commands makes a judicious use of the <code>sdocs</code> parameter of <a href="Cmdliner/Term/index.html#val-info"><code>Cmdliner.Term.info</code></a>.</p><p>The <code>help</code> command shows help about commands or other topics. The help shown for commands is generated by <code>Cmdliner</code> by making an appropriate use of <a href="Cmdliner/Term/index.html#val-ret"><code>Cmdliner.Term.ret</code></a> on the lifted <code>help</code> function.</p><p>If the program is invoked without a command we just want to show the help of the program as printed by <code>Cmdliner</code> with <code>--help</code>. This is done by the <code>default_cmd</code> term.</p><pre class="language-ocaml"><code>(* Implementations, just print the args. *)
type verb = Normal | Quiet | Verbose
type copts = { debug : bool; verb : verb; prehook : string option }

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (cmdliner.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> cmdliner</nav><header class="odoc-preamble"><h1 id="package-cmdliner"><a href="#package-cmdliner" class="anchor"></a>Package cmdliner <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><p><code>Cmdliner</code> provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions.</p><p>The library automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands (like <code>git</code>) and respect most of the <a href="http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html">POSIX</a> and <a href="http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html">GNU</a> conventions.</p></header><nav class="odoc-toc"><ul><li><a href="#manuals">Manuals</a></li><li><a href="#api">API</a></li><li><a href="#package_info">Package info</a></li></ul></nav><div class="odoc-content"><h2 id="manuals"><a href="#manuals" class="anchor"></a>Manuals</h2><p>The following manuals are available.</p><ul><li>The <a href="tutorial.html" title="tutorial">tutorial</a> gets you through the steps to write your first command line interface with Cmdliner.</li><li>The <a href="cli.html" title="cli">Command line interface manual</a> describes how command lines and environment variables are parsed by Cmdliner.</li><li><a href="tool_man.html" title="tool_man">Tool man pages</a> describes how Cmdliner generates man pages for your tools and how you can format them.</li><li>The <a href="examples.html" title="examples">examples page</a> has a few annoted examples that show to express the command line interface of a few classic tools with Cmdliner</li></ul><h2 id="api"><a href="#api" class="anchor"></a>API</h2><ul class="modules"><li><a href="Cmdliner/index.html"><code>Cmdliner</code></a> <span class="synopsis">Declarative definition of command line interfaces.</span></li></ul><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-license-files"><td><a href="#info-license-files" aria-hidden="true" class="anchor"></a>license-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/LICENSE.md">LICENSE.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (cmdliner.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">Index</a> &#x00BB; cmdliner</nav><header class="odoc-preamble"><h1 id="package-cmdliner"><a href="#package-cmdliner" class="anchor"></a>Package cmdliner <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><p><code>Cmdliner</code> provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions.</p><p>The library automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands (like <code>git</code>) and respect most of the <a href="http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html">POSIX</a> and <a href="http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html">GNU</a> conventions.</p></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#manuals">Manuals</a></li><li><a href="#api">API</a></li><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="manuals"><a href="#manuals" class="anchor"></a>Manuals</h2><p>The following manuals are available.</p><ul><li>The <a href="tutorial.html" title="tutorial">tutorial</a> gets you through the steps to write your first command line interface with Cmdliner.</li><li>The <a href="cli.html" title="cli">Command line interface manual</a> describes how command lines and environment variables are parsed by Cmdliner.</li><li><a href="tool_man.html" title="tool_man">Tool man pages</a> describes how Cmdliner generates man pages for your tools and how you can format them.</li><li>The <a href="examples.html" title="examples">examples page</a> has a few annoted examples that show to express the command line interface of a few classic tools with Cmdliner</li></ul><h2 id="api"><a href="#api" class="anchor"></a>API</h2><ul class="modules"><li><a href="Cmdliner/index.html"><code>Cmdliner</code></a> <span class="synopsis">Declarative definition of command line interfaces.</span></li></ul><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-license-files"><td><a href="#info-license-files" aria-hidden="true" class="anchor"></a>license-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/LICENSE.md">LICENSE.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>tutorial (cmdliner.tutorial)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="index.html">Up</a> <a href="index.html">cmdliner</a> &#x00BB; tutorial</nav><header class="odoc-preamble"><h1 id="tutorial"><a href="#tutorial" class="anchor"></a>Tutorial</h1></header><nav class="odoc-toc"><ul><li><a href="#started">Getting started</a></li><li><a href="#subcommands">Sub commands</a></li></ul></nav><div class="odoc-content"><h2 id="started"><a href="#started" class="anchor"></a>Getting started</h2><p>With <code>Cmdliner</code> your tool's <code>main</code> function evaluates a command.</p><p>A command is a value of type <a href="Cmdliner/Cmd/index.html#type-t"><code>Cmdliner.Cmd.t</code></a> which gathers a command name and a term of type <a href="Cmdliner/Term/index.html#type-t"><code>Cmdliner.Term.t</code></a>. A term is an expression to be evaluated. The type parameter of the term (and the command) indicates the type of the result of the evaluation.</p><p>One way to create terms is by lifting regular OCaml values with <a href="Cmdliner/Term/index.html#val-const"><code>Cmdliner.Term.const</code></a>. Terms can be applied to terms evaluating to functional values with <a href="Cmdliner/Term/index.html#val-($)"><code>Cmdliner.Term.($)</code></a>.</p><p>For example, in a <code>revolt.ml</code> file, for the function:</p><pre class="language-ocaml"><code>let revolt () = print_endline &quot;Revolt!&quot;</code></pre><p>the term :</p><pre class="language-ocaml"><code>open Cmdliner
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>tutorial (cmdliner.tutorial)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="index.html">Up</a> <a href="../index.html">Index</a> &#x00BB; <a href="index.html">cmdliner</a> &#x00BB; tutorial</nav><header class="odoc-preamble"><h1 id="tutorial"><a href="#tutorial" class="anchor"></a>Tutorial</h1></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#started">Getting started</a></li><li><a href="#subcommands">Sub commands</a></li></ul></nav></div><div class="odoc-content"><h2 id="started"><a href="#started" class="anchor"></a>Getting started</h2><p>With <code>Cmdliner</code> your tool's <code>main</code> function evaluates a command.</p><p>A command is a value of type <a href="Cmdliner/Cmd/index.html#type-t"><code>Cmdliner.Cmd.t</code></a> which gathers a command name and a term of type <a href="Cmdliner/Term/index.html#type-t"><code>Cmdliner.Term.t</code></a>. A term is an expression to be evaluated. The type parameter of the term (and the command) indicates the type of the result of the evaluation.</p><p>One way to create terms is by lifting regular OCaml values with <a href="Cmdliner/Term/index.html#val-const"><code>Cmdliner.Term.const</code></a>. Terms can be applied to terms evaluating to functional values with <a href="Cmdliner/Term/index.html#val-($)"><code>Cmdliner.Term.($)</code></a>.</p><p>For example, in a <code>revolt.ml</code> file, for the function:</p><pre class="language-ocaml"><code>let revolt () = print_endline &quot;Revolt!&quot;</code></pre><p>the term :</p><pre class="language-ocaml"><code>open Cmdliner
let revolt_t = Term.(const revolt $ const ())</code></pre><p>is a term that evaluates to the result (and effect) of the <code>revolt</code> function. This term can be attached to a command:</p><pre class="language-ocaml"><code>let cmd = Cmd.v (Cmd.info &quot;revolt&quot;) revolt_t</code></pre><p>and evaluated with <a href="Cmdliner/Cmd/index.html#val-eval"><code>Cmdliner.Cmd.eval</code></a>:</p><pre class="language-ocaml"><code>let () = exit (Cmd.eval cmd)</code></pre><p>This defines a command line tool named <code>&quot;revolt&quot;</code> (this name will be used in error reporting and documentation generation), without command line arguments, that just prints <code>&quot;Revolt!&quot;</code> on <code>stdout</code>.</p><pre class="language-ocaml"><code>&gt; ocamlfind ocamlopt -linkpkg -package cmdliner -o revolt revolt.ml
&gt; ./revolt

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Fmt_cli (fmt.Fmt_cli)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">fmt</a> &#x00BB; Fmt_cli</nav><header class="odoc-preamble"><h1>Module <code><span>Fmt_cli</span></code></h1><p><a href="../../cmdliner/Cmdliner/index.html"><code>Cmdliner</code></a> support for <code>Fmt</code>.</p></header><nav class="odoc-toc"><ul><li><a href="#option-for-setting-the-style-renderer">Option for setting the style renderer</a></li></ul></nav><div class="odoc-content"><h2 id="option-for-setting-the-style-renderer"><a href="#option-for-setting-the-style-renderer" class="anchor"></a>Option for setting the style renderer</h2><div class="odoc-spec"><div class="spec value anchored" id="val-style_renderer"><a href="#val-style_renderer" class="anchor"></a><code><span><span class="keyword">val</span> style_renderer :
<span><span class="optlabel">?env</span>:<a href="../../cmdliner/Cmdliner/Arg/index.html#type-env">Cmdliner.Arg.env</a> <span class="arrow">&#45;&gt;</span></span>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Fmt_cli (fmt.Fmt_cli)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">Index</a> &#x00BB; <a href="../index.html">fmt</a> &#x00BB; Fmt_cli</nav><header class="odoc-preamble"><h1>Module <code><span>Fmt_cli</span></code></h1><p><a href="../../cmdliner/Cmdliner/index.html"><code>Cmdliner</code></a> support for <code>Fmt</code>.</p></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#option-for-setting-the-style-renderer">Option for setting the style renderer</a></li></ul></nav></div><div class="odoc-content"><h2 id="option-for-setting-the-style-renderer"><a href="#option-for-setting-the-style-renderer" class="anchor"></a>Option for setting the style renderer</h2><div class="odoc-spec"><div class="spec value anchored" id="val-style_renderer"><a href="#val-style_renderer" class="anchor"></a><code><span><span class="keyword">val</span> style_renderer :
<span><span class="optlabel">?env</span>:<a href="../../cmdliner/Cmdliner/Cmd/Env/index.html#type-info">Cmdliner.Cmd.Env.info</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?docs</span>:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<span><span><a href="../Fmt/index.html#type-style_renderer">Fmt.style_renderer</a> option</span> <a href="../../cmdliner/Cmdliner/Term/index.html#type-t">Cmdliner.Term.t</a></span></span></code></div><div class="spec-doc"><p><code>style_renderer ?env ?docs ()</code> is a <a href="../../cmdliner/Cmdliner/index.html"><code>Cmdliner</code></a> option <code>--color</code> that can be directly used with the optional arguments of <a href="../Fmt_tty/index.html#tty_setup" title="tty_setup">TTY setup</a> or to control <a href="../Fmt/index.html#val-set_style_renderer" title="Fmt.set_style_renderer">style rendering</a>. The option is documented under <code>docs</code> (defaults to the default in <a href="../../cmdliner/Cmdliner/Arg/index.html#type-info"><code>Cmdliner.Arg.info</code></a>).</p><p>The option is a tri-state enumerated value that when used with <a href="../Fmt_tty/index.html#tty_setup" title="tty_setup">TTY setup</a> takes over the automatic setup:</p><ul><li><code>--color=never</code>, the value is <code>Some `None</code>, forces no styling.</li><li><code>--color=always</code>, the value is <code>Some `Ansi</code>, forces ANSI styling.</li><li><code>--color=auto</code> or absent, the value is <code>None</code>, automatic setup takes place.</li></ul><p>If <code>env</code> is provided, the option default value (<code>None</code>) can be overridden by the corresponding environment variable.</p></div></div></div></body></html>
<span><span><a href="../Fmt/index.html#type-style_renderer">Fmt.style_renderer</a> option</span> <a href="../../cmdliner/Cmdliner/Term/index.html#type-t">Cmdliner.Term.t</a></span></span></code></div><div class="spec-doc"><p><code>style_renderer ?env ?docs ()</code> is a <a href="../../cmdliner/Cmdliner/index.html"><code>Cmdliner</code></a> option <code>--color</code> that can be directly used with the optional arguments of <a href="../Fmt_tty/index.html#tty_setup" title="tty_setup">TTY setup</a> or to control <a href="../Fmt/index.html#val-set_style_renderer" title="Fmt.set_style_renderer">style rendering</a>. The option is documented under <code>docs</code> (defaults to the default in <a href="../../cmdliner/Cmdliner/Arg/index.html#type-info"><code>Cmdliner.Arg.info</code></a>).</p><p>The option is a tri-state enumerated value that when used with <a href="../Fmt_tty/index.html#tty_setup" title="tty_setup">TTY setup</a> takes over the automatic setup:</p><ul><li><code>--color=never</code>, the value is <code>Some `None</code>, forces no styling.</li><li><code>--color=always</code>, the value is <code>Some `Ansi_tty</code>, forces ANSI styling.</li><li><code>--color=auto</code> or absent, the value is <code>None</code>, automatic setup takes place.</li></ul><p>If <code>env</code> is provided, the option default value (<code>None</code>) can be overridden by the corresponding environment variable.</p></div></div></div></body></html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Fmt_tty (fmt.Fmt_tty)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">fmt</a> &#x00BB; Fmt_tty</nav><header class="odoc-preamble"><h1>Module <code><span>Fmt_tty</span></code></h1><p><code>Fmt</code> TTY setup.</p><p><code>Fmt_tty</code> provides simple automatic setup on channel formatters for:</p><ul><li><a href="../Fmt/index.html#val-set_style_renderer"><code>Fmt.set_style_renderer</code></a>. <code>`Ansi_tty</code> is used if the channel <span class="xref-unresolved" title="Unix.isatty">is a tty</span> and the environment variable <code>TERM</code> is defined and its value is not <code>&quot;dumb&quot;</code>. <code>`None</code> is used otherwise.</li><li><a href="../Fmt/index.html#val-set_utf_8"><code>Fmt.set_utf_8</code></a>. <code>true</code> is used if one of the following environment variables has <code>&quot;UTF-8&quot;</code> as a case insensitive substring: <code>LANG</code>, <code>LC_ALL</code>, <code>LC_CTYPE</code>.</li></ul></header><nav class="odoc-toc"><ul><li><a href="#tty_setup">TTY setup</a></li></ul></nav><div class="odoc-content"><h2 id="tty_setup"><a href="#tty_setup" class="anchor"></a>TTY setup</h2><div class="odoc-spec"><div class="spec value anchored" id="val-setup"><a href="#val-setup" class="anchor"></a><code><span><span class="keyword">val</span> setup :
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Fmt_tty (fmt.Fmt_tty)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">Index</a> &#x00BB; <a href="../index.html">fmt</a> &#x00BB; Fmt_tty</nav><header class="odoc-preamble"><h1>Module <code><span>Fmt_tty</span></code></h1><p><code>Fmt</code> TTY setup.</p><p><code>Fmt_tty</code> provides simple automatic setup on channel formatters for:</p><ul><li><a href="../Fmt/index.html#val-set_style_renderer"><code>Fmt.set_style_renderer</code></a>. <code>`Ansi_tty</code> is used if the channel <span class="xref-unresolved" title="Unix.isatty">is a tty</span> and the environment variable <code>TERM</code> is defined and its value is not <code>&quot;dumb&quot;</code>. <code>`None</code> is used otherwise.</li><li><a href="../Fmt/index.html#val-set_utf_8"><code>Fmt.set_utf_8</code></a>. <code>true</code> is used if one of the following environment variables has <code>&quot;UTF-8&quot;</code> as a case insensitive substring: <code>LANG</code>, <code>LC_ALL</code>, <code>LC_CTYPE</code>.</li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#tty_setup">TTY setup</a></li></ul></nav></div><div class="odoc-content"><h2 id="tty_setup"><a href="#tty_setup" class="anchor"></a>TTY setup</h2><div class="odoc-spec"><div class="spec value anchored" id="val-setup"><a href="#val-setup" class="anchor"></a><code><span><span class="keyword">val</span> setup :
<span><span class="optlabel">?style_renderer</span>:<a href="../Fmt/index.html#type-style_renderer">Fmt.style_renderer</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?utf_8</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><a href="../../ocaml/Stdlib/index.html#type-out_channel">out_channel</a> <span class="arrow">&#45;&gt;</span></span>

View file

@ -1,3 +1,10 @@
v0.10.0 2025-03-10 La Forclaz (VS)
----------------------------------
* Handle `cmdliner` deprecations.
* Install each library in its own directory.
* Add `Fmt.if'`, thanks to Rizo for the suggestion and patch.
v0.9.0 2021-10-22 Zagreb
------------------------

View file

@ -1,19 +1,18 @@
Fmt — OCaml Format pretty-printer combinators
-------------------------------------------------------------------------------
v0.9.0
=============================================
Fmt exposes combinators to devise `Format` pretty-printing functions.
Fmt depends only on the OCaml standard library. The optional `Fmt_tty`
library that allows to setup formatters for terminal color output
depends on the Unix library. The optional `Fmt_cli` library that
provides command line support for Fmt depends on [`Cmdliner`][cmdliner].
provides command line support for Fmt depends on [`cmdliner`].
Fmt is distributed under the ISC license.
[cmdliner]: http://erratique.ch/software/cmdliner
Home page: <http://erratique.ch/software/fmt>
Home page: http://erratique.ch/software/fmt
[`cmdliner`]: http://erratique.ch/software/cmdliner
## Installation
@ -27,9 +26,10 @@ instructions.
## Documentation
The documentation and API reference is automatically generated by
`ocamldoc` from the interfaces. It can be consulted [online][doc]
and there is a generated version in the `doc` directory of the
distribution.
The documentation can be consulted [online] or via `odig doc fmt`.
[doc]: http://erratique.ch/software/fmt/doc/
Questions are welcome but better asked on the [OCaml forum] than on the
issue tracker.
[online]: http://erratique.ch/software/fmt/doc/
[OCaml forum]: https://discuss.ocaml.org/

View file

@ -0,0 +1,15 @@
{0 Fmt {%html: <span class="version">v0.10.0</span>%}}
Fmt exposes combinators to devise {!Format} pretty-printing functions.
{1:library_fmt Library [fmt]}
{!modules: Fmt}
{1:library_tty Library [fmt.tty]}
{!modules: Fmt_tty}
{1:library_tty Library [fmt.cli]}
{!modules: Fmt_cli}

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (fmt.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> fmt</nav><header class="odoc-preamble"><h1 id="package-fmt"><a href="#package-fmt" class="anchor"></a>Package fmt <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Fmt/index.html"><code>Fmt</code></a> <span class="synopsis"><code>Format</code> pretty-printer combinators.</span></li><li><a href="Fmt_cli/index.html"><code>Fmt_cli</code></a> <span class="synopsis"><a href="../cmdliner/Cmdliner/index.html"><code>Cmdliner</code></a> support for <code>Fmt</code>.</span></li><li><a href="Fmt_tty/index.html"><code>Fmt_tty</code></a> <span class="synopsis"><code>Fmt</code> TTY setup.</span></li></ul></header><nav class="odoc-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-license-files"><td><a href="#info-license-files" aria-hidden="true" class="anchor"></a>license-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/LICENSE.md">LICENSE.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (fmt.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">Index</a> &#x00BB; fmt</nav><header class="odoc-preamble"><h1 id="package-fmt"><a href="#package-fmt" class="anchor"></a>Package fmt <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><p>Fmt exposes combinators to devise <code>Format</code> pretty-printing functions.</p></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#library_fmt">Library <code>fmt</code></a></li><li><a href="#library_tty">Library <code>fmt.tty</code></a></li><li><a href="#library_tty_2">Library <code>fmt.cli</code></a></li><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="library_fmt"><a href="#library_fmt" class="anchor"></a>Library <code>fmt</code></h2><ul class="modules"><li><a href="Fmt/index.html"><code>Fmt</code></a> <span class="synopsis"><code>Format</code> pretty-printer combinators.</span></li></ul><h2 id="library_tty"><a href="#library_tty" class="anchor"></a>Library <code>fmt.tty</code></h2><ul class="modules"><li><a href="Fmt_tty/index.html"><code>Fmt_tty</code></a> <span class="synopsis"><code>Fmt</code> TTY setup.</span></li></ul><h2 id="library_tty_2"><a href="#library_tty_2" class="anchor"></a>Library <code>fmt.cli</code></h2><ul class="modules"><li><a href="Fmt_cli/index.html"><code>Fmt_cli</code></a> <span class="synopsis"><a href="../cmdliner/Cmdliner/index.html"><code>Cmdliner</code></a> support for <code>Fmt</code>.</span></li></ul><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-license-files"><td><a href="#info-license-files" aria-hidden="true" class="anchor"></a>license-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/LICENSE.md">LICENSE.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html><head><meta charset="utf-8"><meta name="generator" content="odig v0.0.9"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" type="text/css" media="screen, print" href="_odoc-theme/odoc.css"><title>_opam</title></head><body class="odoc"><nav class="odoc-nav">🐫</nav><header class="odoc-preamble"><h1>OCaml package documentation</h1><p>Browse <a href="#by-name">by name</a>, <a href="#by-tag">by tag</a>, the <a href="ocaml/Stdlib/index.html#modules">standard library</a> and the <a href="https://ocaml.org/manual/">OCaml manual</a> (online, latest version).</p><p><small>Generated for <code>/home/runner/work/linol/linol/_opam/lib</code></small></p></header><nav class="odoc-toc"><ul><li><a href="ocaml/Stdlib/index.html#modules">OCaml standard library</a></li><li><a href="https://ocaml.org/manual/">OCaml manual</a></li><li><a href="#by-name">Packages by name</a></li><li><a href="#by-tag">Packages by tag</a></li></ul></nav><div class="odoc-content"><h2 id="by-name"><a href="#by-name" aria-hidden="true" class="anchor"></a>Packages by name</h2><div class="by-name"><nav><a href="#name-c">c</a><a href="#name-f">f</a><a href="#name-j">j</a><a href="#name-l">l</a><a href="#name-o">o</a><a href="#name-p">p</a><a href="#name-t">t</a><a href="#name-u">u</a><a href="#name-y">y</a></nav><h3 id="name-c"><a href="#name-c" aria-hidden="true" class="anchor"></a>c</h3><ol class="packages"><li id="package-cmdliner"><a href="#package-cmdliner" aria-hidden="true" class="anchor"></a><a href="cmdliner/index.html">cmdliner</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-f"><a href="#name-f" aria-hidden="true" class="anchor"></a>f</h3><ol class="packages"><li id="package-fmt"><a href="#package-fmt" aria-hidden="true" class="anchor"></a><a href="fmt/index.html">fmt</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-j"><a href="#name-j" aria-hidden="true" class="anchor"></a>j</h3><ol class="packages"><li id="package-jsonrpc"><a href="#package-jsonrpc" aria-hidden="true" class="anchor"></a><a href="jsonrpc/index.html">jsonrpc</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-l"><a href="#name-l" aria-hidden="true" class="anchor"></a>l</h3><ol class="packages"><li id="package-linol"><a href="#package-linol" aria-hidden="true" class="anchor"></a><a href="linol/index.html">linol</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-linol-lwt"><a href="#package-linol-lwt" aria-hidden="true" class="anchor"></a><a href="linol-lwt/index.html">linol-lwt</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-logs"><a href="#package-logs" aria-hidden="true" class="anchor"></a><a href="logs/index.html">logs</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-lsp"><a href="#package-lsp" aria-hidden="true" class="anchor"></a><a href="lsp/index.html">lsp</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-lwt"><a href="#package-lwt" aria-hidden="true" class="anchor"></a><a href="lwt/index.html">lwt</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-o"><a href="#name-o" aria-hidden="true" class="anchor"></a>o</h3><ol class="packages"><li id="package-ocaml"><a href="#package-ocaml" aria-hidden="true" class="anchor"></a><a href="ocaml/index.html">ocaml</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-p"><a href="#name-p" aria-hidden="true" class="anchor"></a>p</h3><ol class="packages"><li id="package-ppx_yojson_conv_lib"><a href="#package-ppx_yojson_conv_lib" aria-hidden="true" class="anchor"></a><a href="ppx_yojson_conv_lib/index.html">ppx_yojson_conv_lib</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-t"><a href="#name-t" aria-hidden="true" class="anchor"></a>t</h3><ol class="packages"><li id="package-trace"><a href="#package-trace" aria-hidden="true" class="anchor"></a><a href="trace/index.html">trace</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-u"><a href="#name-u" aria-hidden="true" class="anchor"></a>u</h3><ol class="packages"><li id="package-uutf"><a href="#package-uutf" aria-hidden="true" class="anchor"></a><a href="uutf/index.html">uutf</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-y"><a href="#name-y" aria-hidden="true" class="anchor"></a>y</h3><ol class="packages"><li id="package-yojson"><a href="#package-yojson" aria-hidden="true" class="anchor"></a><a href="yojson/index.html">yojson</a> <span class="version"></span> <span class="synopsis"></span></li></ol></div><h2 id="by-tag"><a href="#by-tag" aria-hidden="true" class="anchor"></a>Packages by tag</h2><div class="by-tag"><nav><table></table></nav></div></div></body></html>
<html><head><meta charset="utf-8"><meta name="generator" content="odig v0.0.9"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" type="text/css" media="screen, print" href="_odoc-theme/odoc.css"><title>_opam</title></head><body class="odoc"><nav class="odoc-nav">🐫</nav><header class="odoc-preamble"><h1>OCaml package documentation</h1><p>Browse <a href="#by-name">by name</a>, <a href="#by-tag">by tag</a>, the <a href="ocaml/Stdlib/index.html#modules">standard library</a> and the <a href="https://ocaml.org/manual/">OCaml manual</a> (online, latest version).</p><p><small>Generated for <code>/home/runner/work/linol/linol/_opam/lib</code></small></p></header><nav class="odoc-toc"><ul><li><a href="ocaml/Stdlib/index.html#modules">OCaml standard library</a></li><li><a href="https://ocaml.org/manual/">OCaml manual</a></li><li><a href="#by-name">Packages by name</a></li><li><a href="#by-tag">Packages by tag</a></li></ul></nav><div class="odoc-content"><h2 id="by-name"><a href="#by-name" aria-hidden="true" class="anchor"></a>Packages by name</h2><div class="by-name"><nav><a href="#name-c">c</a><a href="#name-f">f</a><a href="#name-l">l</a><a href="#name-o">o</a><a href="#name-p">p</a><a href="#name-t">t</a><a href="#name-u">u</a><a href="#name-y">y</a></nav><h3 id="name-c"><a href="#name-c" aria-hidden="true" class="anchor"></a>c</h3><ol class="packages"><li id="package-cmdliner"><a href="#package-cmdliner" aria-hidden="true" class="anchor"></a><a href="cmdliner/index.html">cmdliner</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-f"><a href="#name-f" aria-hidden="true" class="anchor"></a>f</h3><ol class="packages"><li id="package-fmt"><a href="#package-fmt" aria-hidden="true" class="anchor"></a><a href="fmt/index.html">fmt</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-l"><a href="#name-l" aria-hidden="true" class="anchor"></a>l</h3><ol class="packages"><li id="package-linol"><a href="#package-linol" aria-hidden="true" class="anchor"></a><a href="linol/index.html">linol</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-linol-lwt"><a href="#package-linol-lwt" aria-hidden="true" class="anchor"></a><a href="linol-lwt/index.html">linol-lwt</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-logs"><a href="#package-logs" aria-hidden="true" class="anchor"></a><a href="logs/index.html">logs</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-lwt"><a href="#package-lwt" aria-hidden="true" class="anchor"></a><a href="lwt/index.html">lwt</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-o"><a href="#name-o" aria-hidden="true" class="anchor"></a>o</h3><ol class="packages"><li id="package-ocaml"><a href="#package-ocaml" aria-hidden="true" class="anchor"></a><a href="ocaml/index.html">ocaml</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-p"><a href="#name-p" aria-hidden="true" class="anchor"></a>p</h3><ol class="packages"><li id="package-ppx_yojson_conv_lib"><a href="#package-ppx_yojson_conv_lib" aria-hidden="true" class="anchor"></a><a href="ppx_yojson_conv_lib/index.html">ppx_yojson_conv_lib</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-t"><a href="#name-t" aria-hidden="true" class="anchor"></a>t</h3><ol class="packages"><li id="package-trace"><a href="#package-trace" aria-hidden="true" class="anchor"></a><a href="trace/index.html">trace</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-u"><a href="#name-u" aria-hidden="true" class="anchor"></a>u</h3><ol class="packages"><li id="package-uutf"><a href="#package-uutf" aria-hidden="true" class="anchor"></a><a href="uutf/index.html">uutf</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-y"><a href="#name-y" aria-hidden="true" class="anchor"></a>y</h3><ol class="packages"><li id="package-yojson"><a href="#package-yojson" aria-hidden="true" class="anchor"></a><a href="yojson/index.html">yojson</a> <span class="version"></span> <span class="synopsis"></span></li></ol></div><h2 id="by-tag"><a href="#by-tag" aria-hidden="true" class="anchor"></a>Packages by tag</h2><div class="by-tag"><nav><table></table></nav></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Id (jsonrpc.Jsonrpc.Id)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">jsonrpc</a> &#x00BB; <a href="../index.html">Jsonrpc</a> &#x00BB; Id</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc.Id</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>[ </span></code><ol><li id="type-t.String" class="def variant constructor anchored"><a href="#type-t.String" class="anchor"></a><code><span>| </span><span>`String <span class="keyword">of</span> string</span></code></li><li id="type-t.Int" class="def variant constructor anchored"><a href="#type-t.Int" class="anchor"></a><code><span>| </span><span>`Int <span class="keyword">of</span> int</span></code></li></ol><code><span> ]</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../Json/Jsonable/module-type-S/index.html">Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../Json/Jsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Json/index.html#type-t">Json.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../Json/index.html#type-t">Json.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-hash"><a href="#val-hash" class="anchor"></a><code><span><span class="keyword">val</span> hash : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> int</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span><span class="keyword">val</span> equal : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Jsonable (jsonrpc.Jsonrpc.Json.Jsonable)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">jsonrpc</a> &#x00BB; <a href="../../index.html">Jsonrpc</a> &#x00BB; <a href="../index.html">Json</a> &#x00BB; Jsonable</nav><header class="odoc-preamble"><h1>Module <code><span>Json.Jsonable</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module-type anchored" id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-S/index.html">S</a></span><span> = <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (jsonrpc.Jsonrpc.Json.Jsonable.S)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../../index.html">jsonrpc</a> &#x00BB; <a href="../../../index.html">Jsonrpc</a> &#x00BB; <a href="../../index.html">Json</a> &#x00BB; <a href="../index.html">Jsonable</a> &#x00BB; S</nav><header class="odoc-preamble"><h1>Module type <code><span>Jsonable.S</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../index.html#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../index.html#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Json (jsonrpc.Jsonrpc.Json)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">jsonrpc</a> &#x00BB; <a href="../index.html">Jsonrpc</a> &#x00BB; Json</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc.Json</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>[ </span></code><ol><li id="type-t.Assoc" class="def variant constructor anchored"><a href="#type-t.Assoc" class="anchor"></a><code><span>| </span><span>`Assoc <span class="keyword">of</span> <span><span>(string * <a href="#type-t">t</a>)</span> list</span></span></code></li><li id="type-t.Bool" class="def variant constructor anchored"><a href="#type-t.Bool" class="anchor"></a><code><span>| </span><span>`Bool <span class="keyword">of</span> bool</span></code></li><li id="type-t.Float" class="def variant constructor anchored"><a href="#type-t.Float" class="anchor"></a><code><span>| </span><span>`Float <span class="keyword">of</span> float</span></code></li><li id="type-t.Int" class="def variant constructor anchored"><a href="#type-t.Int" class="anchor"></a><code><span>| </span><span>`Int <span class="keyword">of</span> int</span></code></li><li id="type-t.Intlit" class="def variant constructor anchored"><a href="#type-t.Intlit" class="anchor"></a><code><span>| </span><span>`Intlit <span class="keyword">of</span> string</span></code></li><li id="type-t.List" class="def variant constructor anchored"><a href="#type-t.List" class="anchor"></a><code><span>| </span><span>`List <span class="keyword">of</span> <span><a href="#type-t">t</a> list</span></span></code></li><li id="type-t.Null" class="def variant constructor anchored"><a href="#type-t.Null" class="anchor"></a><code><span>| </span><span>`Null</span></code></li><li id="type-t.String" class="def variant constructor anchored"><a href="#type-t.String" class="anchor"></a><code><span>| </span><span>`String <span class="keyword">of</span> string</span></code></li><li id="type-t.Tuple" class="def variant constructor anchored"><a href="#type-t.Tuple" class="anchor"></a><code><span>| </span><span>`Tuple <span class="keyword">of</span> <span><a href="#type-t">t</a> list</span></span></code></li><li id="type-t.Variant" class="def variant constructor anchored"><a href="#type-t.Variant" class="anchor"></a><code><span>| </span><span>`Variant <span class="keyword">of</span> string * <span><a href="#type-t">t</a> option</span></span></code></li></ol><code><span> ]</span></code></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Of_json"><a href="#exception-Of_json" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Of_json</span> <span class="keyword">of</span> string * <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p>Raised when conversions from json fail</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Jsonable"><a href="#module-Jsonable" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Jsonable/index.html">Jsonable</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Notification (jsonrpc.Jsonrpc.Notification)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">jsonrpc</a> &#x00BB; <a href="../index.html">Jsonrpc</a> &#x00BB; Notification</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc.Notification</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.method_" class="def record field anchored"><a href="#type-t.method_" class="anchor"></a><code><span>method_ : string;</span></code></li><li id="type-t.params" class="def record field anchored"><a href="#type-t.params" class="anchor"></a><code><span>params : <span><a href="../Structured/index.html#type-t">Structured.t</a> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?params</span>:<a href="../Structured/index.html#type-t">Structured.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="label">method_</span>:string <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Json/index.html#type-t">Json.t</a></span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Packet (jsonrpc.Jsonrpc.Packet)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">jsonrpc</a> &#x00BB; <a href="../index.html">Jsonrpc</a> &#x00BB; Packet</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc.Packet</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Notification" class="def variant constructor anchored"><a href="#type-t.Notification" class="anchor"></a><code><span>| </span><span><span class="constructor">Notification</span> <span class="keyword">of</span> <a href="../Notification/index.html#type-t">Notification.t</a></span></code></li><li id="type-t.Request" class="def variant constructor anchored"><a href="#type-t.Request" class="anchor"></a><code><span>| </span><span><span class="constructor">Request</span> <span class="keyword">of</span> <a href="../Request/index.html#type-t">Request.t</a></span></code></li><li id="type-t.Response" class="def variant constructor anchored"><a href="#type-t.Response" class="anchor"></a><code><span>| </span><span><span class="constructor">Response</span> <span class="keyword">of</span> <a href="../Response/index.html#type-t">Response.t</a></span></code></li><li id="type-t.Batch_response" class="def variant constructor anchored"><a href="#type-t.Batch_response" class="anchor"></a><code><span>| </span><span><span class="constructor">Batch_response</span> <span class="keyword">of</span> <span><a href="../Response/index.html#type-t">Response.t</a> list</span></span></code></li><li id="type-t.Batch_call" class="def variant constructor anchored"><a href="#type-t.Batch_call" class="anchor"></a><code><span>| </span><span><span class="constructor">Batch_call</span> <span class="keyword">of</span> <span><span>[ <span>`Request of <a href="../Request/index.html#type-t">Request.t</a></span> <span><span>| `Notification</span> of <a href="../Notification/index.html#type-t">Notification.t</a></span> ]</span> list</span></span></code></li></ol></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../Json/Jsonable/module-type-S/index.html">Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../Json/Jsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Json/index.html#type-t">Json.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../Json/index.html#type-t">Json.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div></details></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Request (jsonrpc.Jsonrpc.Request)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">jsonrpc</a> &#x00BB; <a href="../index.html">Jsonrpc</a> &#x00BB; Request</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc.Request</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.id" class="def record field anchored"><a href="#type-t.id" class="anchor"></a><code><span>id : <a href="../Id/index.html#type-t">Id.t</a>;</span></code></li><li id="type-t.method_" class="def record field anchored"><a href="#type-t.method_" class="anchor"></a><code><span>method_ : string;</span></code></li><li id="type-t.params" class="def record field anchored"><a href="#type-t.params" class="anchor"></a><code><span>params : <span><a href="../Structured/index.html#type-t">Structured.t</a> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?params</span>:<a href="../Structured/index.html#type-t">Structured.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="label">id</span>:<a href="../Id/index.html#type-t">Id.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="label">method_</span>:string <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Json/index.html#type-t">Json.t</a></span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Code (jsonrpc.Jsonrpc.Response.Error.Code)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../../index.html">jsonrpc</a> &#x00BB; <a href="../../../index.html">Jsonrpc</a> &#x00BB; <a href="../../index.html">Response</a> &#x00BB; <a href="../index.html">Error</a> &#x00BB; Code</nav><header class="odoc-preamble"><h1>Module <code><span>Error.Code</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.ParseError" class="def variant constructor anchored"><a href="#type-t.ParseError" class="anchor"></a><code><span>| </span><span><span class="constructor">ParseError</span></span></code></li><li id="type-t.InvalidRequest" class="def variant constructor anchored"><a href="#type-t.InvalidRequest" class="anchor"></a><code><span>| </span><span><span class="constructor">InvalidRequest</span></span></code></li><li id="type-t.MethodNotFound" class="def variant constructor anchored"><a href="#type-t.MethodNotFound" class="anchor"></a><code><span>| </span><span><span class="constructor">MethodNotFound</span></span></code></li><li id="type-t.InvalidParams" class="def variant constructor anchored"><a href="#type-t.InvalidParams" class="anchor"></a><code><span>| </span><span><span class="constructor">InvalidParams</span></span></code></li><li id="type-t.InternalError" class="def variant constructor anchored"><a href="#type-t.InternalError" class="anchor"></a><code><span>| </span><span><span class="constructor">InternalError</span></span></code></li><li id="type-t.ServerErrorStart" class="def variant constructor anchored"><a href="#type-t.ServerErrorStart" class="anchor"></a><code><span>| </span><span><span class="constructor">ServerErrorStart</span></span></code></li><li id="type-t.ServerErrorEnd" class="def variant constructor anchored"><a href="#type-t.ServerErrorEnd" class="anchor"></a><code><span>| </span><span><span class="constructor">ServerErrorEnd</span></span></code></li><li id="type-t.ServerNotInitialized" class="def variant constructor anchored"><a href="#type-t.ServerNotInitialized" class="anchor"></a><code><span>| </span><span><span class="constructor">ServerNotInitialized</span></span></code></li><li id="type-t.UnknownErrorCode" class="def variant constructor anchored"><a href="#type-t.UnknownErrorCode" class="anchor"></a><code><span>| </span><span><span class="constructor">UnknownErrorCode</span></span></code></li><li id="type-t.RequestFailed" class="def variant constructor anchored"><a href="#type-t.RequestFailed" class="anchor"></a><code><span>| </span><span><span class="constructor">RequestFailed</span></span></code></li><li id="type-t.ServerCancelled" class="def variant constructor anchored"><a href="#type-t.ServerCancelled" class="anchor"></a><code><span>| </span><span><span class="constructor">ServerCancelled</span></span></code></li><li id="type-t.ContentModified" class="def variant constructor anchored"><a href="#type-t.ContentModified" class="anchor"></a><code><span>| </span><span><span class="constructor">ContentModified</span></span></code></li><li id="type-t.RequestCancelled" class="def variant constructor anchored"><a href="#type-t.RequestCancelled" class="anchor"></a><code><span>| </span><span><span class="constructor">RequestCancelled</span></span></code></li><li id="type-t.Other" class="def variant constructor anchored"><a href="#type-t.Other" class="anchor"></a><code><span>| </span><span><span class="constructor">Other</span> <span class="keyword">of</span> int</span></code></li></ol></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Error (jsonrpc.Jsonrpc.Response.Error)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">jsonrpc</a> &#x00BB; <a href="../../index.html">Jsonrpc</a> &#x00BB; <a href="../index.html">Response</a> &#x00BB; Error</nav><header class="odoc-preamble"><h1>Module <code><span>Response.Error</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Code"><a href="#module-Code" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Code/index.html">Code</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.code" class="def record field anchored"><a href="#type-t.code" class="anchor"></a><code><span>code : <a href="Code/index.html#type-t">Code.t</a>;</span></code></li><li id="type-t.message" class="def record field anchored"><a href="#type-t.message" class="anchor"></a><code><span>message : string;</span></code></li><li id="type-t.data" class="def record field anchored"><a href="#type-t.data" class="anchor"></a><code><span>data : <span><a href="../../Json/index.html#type-t">Json.t</a> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-E"><a href="#exception-E" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">E</span> <span class="keyword">of</span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-make"><a href="#val-make" class="anchor"></a><code><span><span class="keyword">val</span> make : <span><span class="optlabel">?data</span>:<a href="../../Json/index.html#type-t">Json.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="label">code</span>:<a href="Code/index.html#type-t">Code.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="label">message</span>:string <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-raise"><a href="#val-raise" class="anchor"></a><code><span><span class="keyword">val</span> raise : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_exn"><a href="#val-of_exn" class="anchor"></a><code><span><span class="keyword">val</span> of_exn : <span>exn <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../Json/index.html#type-t">Json.t</a></span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Structured (jsonrpc.Jsonrpc.Structured)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">jsonrpc</a> &#x00BB; <a href="../index.html">Jsonrpc</a> &#x00BB; Structured</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc.Structured</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>[ </span></code><ol><li id="type-t.Assoc" class="def variant constructor anchored"><a href="#type-t.Assoc" class="anchor"></a><code><span>| </span><span>`Assoc <span class="keyword">of</span> <span><span>(string * <a href="../Json/index.html#type-t">Json.t</a>)</span> list</span></span></code></li><li id="type-t.List" class="def variant constructor anchored"><a href="#type-t.List" class="anchor"></a><code><span>| </span><span>`List <span class="keyword">of</span> <span><a href="../Json/index.html#type-t">Json.t</a> list</span></span></code></li></ol><code><span> ]</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../Json/Jsonable/module-type-S/index.html">Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../Json/Jsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Json/index.html#type-t">Json.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../Json/index.html#type-t">Json.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div></details></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Jsonrpc (jsonrpc.Jsonrpc)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">jsonrpc</a> &#x00BB; Jsonrpc</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc</span></code></h1><p>Jsonrpc implementation</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Json"><a href="#module-Json" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Json/index.html">Json</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Id"><a href="#module-Id" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Id/index.html">Id</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Structured"><a href="#module-Structured" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Structured/index.html">Structured</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Notification"><a href="#module-Notification" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Notification/index.html">Notification</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Request"><a href="#module-Request" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Request/index.html">Request</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Response"><a href="#module-Response" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Response/index.html">Response</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Packet"><a href="#module-Packet" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Packet/index.html">Packet</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Jsonrpc__ (jsonrpc.Jsonrpc__)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">jsonrpc</a> &#x00BB; Jsonrpc__</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc__</span></code></h1></header><div class="odoc-content"><p>This module is hidden.</p></div></body></html>

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Jsonrpc__Import (jsonrpc.Jsonrpc__Import)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">jsonrpc</a> &#x00BB; Jsonrpc__Import</nav><header class="odoc-preamble"><h1>Module <code><span>Jsonrpc__Import</span></code></h1></header><div class="odoc-content"><p>This module is hidden.</p></div></body></html>

View file

@ -1,769 +0,0 @@
# 1.22.0
## Features
- Enable experimental project-wide renaming of identifiers (#1431)
# 1.21.0
## Features
- Add a new server option `standardHover`, that can be used by clients to
disable the default hover provider. When `standardHover = false`
`textDocument/hover` requests always returns with empty result. (#1416)
# 1.20.1
## Fixes
- Deactivate the `jump` code actions by default. Clients can enable them with
the `merlinJumpCodeActions` configuration option. Alternatively a custom
request is provided for ad hoc use of the feature. (#1411)
# 1.20.0
## Features
- Add custom
[`ocamllsp/typeSearch`](/ocaml-lsp-server/docs/ocamllsp/typeSearch-spec.md) request (#1369)
- Make MerlinJump code action configurable (#1376)
- Add support for OCaml 5.3 (#1386)
- Add custom [`ocamllsp/jump`](/ocaml-lsp-server/docs/ocamllsp/merlinJump-spec.md) request (#1374)
## Fixes
- Fix fd leak in running external processes for preprocessing (#1349)
- Fix prefix parsing for completion of object methods (#1363, fixes #1358)
- Remove some duplicates in the `selectionRange` answers (#1368)
# 1.19.0
## Features
- Add custom [`ocamllsp/getDocumentation`](/ocaml-lsp-server/docs/ocamllsp/getDocumentation-spec.md) request (#1336)
- Add support for OCaml 5.2 (#1233)
- Add a code-action for syntactic and semantic movement shortcuts based on Merlin's Jump command (#1364)
## Fixes
- Kill unnecessary ocamlformat processes with sigterm rather than sigint or
sigkill (#1343)
## Features
- Add custom [`ocamllsp/construct`](https://github.com/ocaml/ocaml-lsp/blob/ocaml-lsp-server/docs/ocamllsp/construct-spec.md) request (#1348)
# 1.18.0
## Features
- Introduce a configuration option to control dune diagnostics. The option is
called `duneDiganostics` and it may be set to `{ enable: false }` to disable
diagnostics. (#1221)
- Support folding of `ifthenelse` expressions (#1031)
- Improve hover behavior (#1245)
Hovers are no longer displaye on useless parsetree nodes such as keywords,
comments, etc.
Multiline hovers are now filtered away.
Display expanded ppx's in the hover window.
- Improve document symbols (#1247)
Use the parse tree instead of the typed tree. This means that document
symbols will work even if the source code doesn't type check.
Include symbols at arbitrary depth.
Differentiate functions / types / variants / etc.
This now includes PPXs like `let%expect_test` or `let%bench` in the outline.
- Introduce a `destruct-line` code action. This is an improved version of the
old `destruct` code action. (#1283)
- Improve signature inference to only include types for elements that were
absent from the signature. Previously, all signature items would always be
inserted. (#1289)
- Add an `update-signature` code action to update the types of elements that
were already present in the signature (#1289)
- Add custom
[`ocamllsp/merlinCallCompatible`](https://github.com/ocaml/ocaml-lsp/blob/e165f6a3962c356adc7364b9ca71788e93489dd0/ocaml-lsp-server/docs/ocamllsp/merlinCallCompatible-spec.md)
request (#1265)
- Add custom [`ocamllsp/typeEnclosing`](https://github.com/ocaml/ocaml-lsp/blob/109801e56f2060caf4487427bede28b824f4f1fe/ocaml-lsp-server/docs/ocamllsp/typeEnclosing-spec.md) request (#1304)
## Fixes
- Detect document kind by looking at merlin's `suffixes` config.
This enables more lsp features for non-.ml/.mli files. Though it still
depends on merlin's support. (#1237)
- Correctly accept the `--clientProcessId` flag. (#1242)
- Disable automatic completion and signature help inside comments (#1246)
- Includes a new optional/configurable option to toggle syntax documentation. If
toggled on, allows display of syntax documentation on hover tooltips. Can be
controlled via environment variables and by GUI for VS code. (#1218)
- For completions on labels that the LSP gets from merlin, take into account
whether the prefix being completed starts with `~` or `?`. Change the label
completions that start with `?` to start with `~` when the prefix being
completed starts with `~`. (#1277)
- Fix document syncing (#1278, #1280, fixes #1207)
- Stop generating inlay hints on generated code (#1290)
- Fix parenthesizing of function types in `SignatureHelp` (#1296)
- Fix syntax documentation rendering (#1318)
# 1.17.0
## Fixes
- Fix missing super & subscripts in markdown documentation. (#1170)
- Do not invoke dune at all if `--fallback-read-dot-merlin` flag is on. (#1173)
- Fix semantic highlighting of infix operators that contain '.'. (#1186)
- Disable highlighting unit as an enum member to fix comment highlighting bug. (#1185)
- Improve type-on-hover and type-annotate efficiency by only formatting the type
of the first enclosing. (#1191, #1196)
- Fix the encoding of URI's to match how vscode does it (#1197)
- Fix parsing of completion prefixes (#1181)
## Features
- Compatibility with Odoc 2.3.0, with support for the introduced syntax: tables,
and "codeblock output" (#1184)
- Display text of references in doc strings (#1166)
- Add mark/remove unused actions for open, types, for loop indexes, modules,
match cases, rec, and constructors (#1141)
- Add inlay hints for types on let bindings (#1159)
- Offer auto-completion for the keyword `in` (#1217)
# 1.16.2
## Fixes
- Fix file permissions used when specifying output files of pp and ppx. (#1153)
# 1.16.1
## Fixes
- Support building with OCaml 5.0 and 5.1 (#1150)
# 1.16.0
## Fixes
- Disable code lens by default. The support can be re-enabled by explicitly
setting it in the configuration. (#1134)
- Fix initilization of `ocamlformat-rpc` in some edge cases when ocamlformat is
initialized concurrently (#1132)
- Kill unnecessary `$ dune ocaml-merlin` with SIGTERM rather than SIGKILL
(#1124)
- Refactor comment parsing to use `odoc-parser` and `cmarkit` instead of
`octavius` and `omd` (#1088)
This allows users who migrated to omd 2.X to install ocaml-lsp-server in the
same opam switch.
We also slightly improved markdown generation support and fixed a couple in
the generation of inline heading and module types.
- Allow opening documents that were already open. This is a workaround for
neovim's lsp client (#1067)
- Disable type annotation for functions (#1054)
- Respect codeActionLiteralSupport capability (#1046)
- Fix a document syncing issue when utf-16 is the position encoding (#1004)
- Disable "Type-annotate" action for code that is already annotated.
([#1037](https://github.com/ocaml/ocaml-lsp/pull/1037)), fixes
[#1036](https://github.com/ocaml/ocaml-lsp/issues/1036)
- Fix semantic highlighting of long identifiers when using preprocessors
([#1049](https://github.com/ocaml/ocaml-lsp/pull/1049), fixes
[#1034](https://github.com/ocaml/ocaml-lsp/issues/1034))
- Fix the type of DocumentSelector in cram document registration (#1068)
- Accept the `--clientProcessId` command line argument. (#1074)
- Accept `--port` as a synonym for `--socket`. (#1075)
- Fix connecting to dune rpc on Windows. (#1080)
## Features
- Add "Remove type annotation" code action. (#1039)
- Support settings through `didChangeConfiguration` notification (#1103)
- Add "Extract local" and "Extract function" code actions. (#870)
- Depend directly on `merlin-lib` 4.9 (#1070)
# 1.15.1
## Fixes
- Fix race condition when a document was being edited and dune in watch mode was
running ([#1005](https://github.com/ocaml/ocaml-lsp/pull/1005), fixes
[#941](https://github.com/ocaml/ocaml-lsp/issues/941),
[#1003](https://github.com/ocaml/ocaml-lsp/issues/1003))
# 1.15.0
## Features
- Enable [semantic highlighting](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens)
support by default (#933)
- Support connecting over pipes and socket. Pipes on Windows aren't yet
supported (#946)
[More](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#implementationConsiderations)
about communication channels in LSP specification.
- Re-enable `ocamlformat-rpc` for formatting code snippets (but not files and
not on Windows) (#920, #939)
One needs to have installed either `ocamlformat` package version > 0.21.0 or,
otherwise, `ocamlformat-rpc` package. Note that previously `ocamlformat-rpc`
came in a standalone OPAM package, but since `ocamlformat` version > 0.21.0,
it comes within `ocamlformat` package.
- Add custom
[`ocamllsp/hoverExtended`](https://github.com/ocaml/ocaml-lsp/blob/e165f6a3962c356adc7364b9ca71788e93489dd0/ocaml-lsp-server/docs/ocamllsp/hoverExtended-spec.md#L1)
request (#561)
- Support utf-8 position encoding clients (#919)
[More](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#position) about position encoding in LSP specification.
- Show unwrapped module alias types on hovering over module names. This is due
to upgrading to merlin 4.7 and using merlin's `verbosity=smart` by default
(#942)
## Fixes
- Respect the client's completion item resolve and preSelect capabilities
(#925, #936)
- Disable polling for dune's watch mode on Windows and OCaml 4.14.0 (#935)
- Fix semantic highlighting of "long identifiers," e.g., `Foo.Bar.x` (#932)
- Fix syncing of document contents:
- For ranges that span an entire line (#927)
- Previously, whole line edits would incorrectly eat the newline characters (#971)
# 1.14.2
## Fixes
- Fix random requests failing after switching documents (#904, fixes #898)
- Do not offer related diagnostic information unless the user enables in client
capabilities (#905)
- Do not offer diagnostic tags unless the client supports them (#909)
- Do not attach extra data to diagnostics unless the client supports this
(#910)
- Use /bin/sh instead of /bin/bash. This fixes ocamllsp on NixOS
# 1.14.1
## Fixes
- Fix various server crashes when opening non OCaml/Reason files. Files such as
dune, cram, etc. would cause the server to crash. (#884, fixes #871)
- Ignore unknown tags in merlin configuration to improve forward compatibility
with Dune. (#883)
# 1.14.0
## Features
- Code action for inlining let bindings within a module or expression. (#847)
- Tag "unused code" and "deprecated" warnings, allowing clients to better
display them. (#848)
- Refresh merlin configuration after every dune build in watch mode (#853)
## Fixes
- Respect `showDocument` capabilities. Do not offer commands or code actions
that rely on this request without client support. (#836)
- Fix signatureHelp on .mll files: avoid "Document.dune" exceptions
# 1.13.1
## Fixes
- Fix cwd when executing ppx (#805)
# 1.13.0
## Features
- Code actions for jumping to related files (`.ml`, `.mli`, etc.) (#795)
# 1.12.4
- Allow cancellation of workspace symbols requests (#777)
- Fix unintentionally interleaved jsonrpc IO that would corrupt the session
(#786)
- Ignore `SIGPIPE` . (#788)
# 1.12.3
## Fixes
- Fix a bad interaction between inferred interfaces and promotion code actions
in watch mode (#753)
- Fix URI parsing (#739 fixes #471 and #459)
# 1.12.2
## Fixes
- Fix shutting down an already closed socket (#740)
# 1.12.1
## Fixes
- Fix preprocessing, ppx, and reason support (#735 fixes #696, #706)
- Support `include` in folding ranges (#730)
# 1.12.0
## Features
- Fix cancellation mechanism for all requests (#707)
- Allow cancellation of formatting requests (#707)
- Add `--fallback-read-dot-merlin` to the LSP Server (#705). If `ocamllsp` is
started with this new flag, it will fall back to looking for Merlin
configuration in `.merlin` files rather than calling `dune ocaml-merlin`.
(#705)
- Support folding more ranges (#692)
# 1.11.6
## Fixes
- Stop leaking file descriptors like a sieve (#701)
# 1.11.5
- Fix process termination. Once the lsp server is stepped, the process will
gracefully terminate (#697, fixes #694)
- Forward stderr from dune's merlin configuration to the lsp server's stderr
(#697)
# 1.11.4
## Fixes
- Fix bug with large buffers being resized incorrectly in Lev
- Add folding ranges for more AST types (#680)
# 1.11.3
## Fixes
- Enable dune rpc integration by default (#691, fixes #690)
# 1.11.2
## Fixes
- Fix running external processes on Windows
# 1.11.1
## Fixes
- Fix Uri handling on Windows
- Fix build on MSVC 2015
# 1.11.0
## Features
- Add support for dune in watch mode. The lsp server will now display build
errors in the diagnostics and offer promotion code actions.
- Re-introduce ocamlformat-rpc (#599, fixes #495)
## Fixes
- Fix workspace symbols that could have a wrong path in some cases
([#675](https://github.com/ocaml/ocaml-lsp/pull/671))
# 1.10.6
## Fixes
- Compatiblity with OCaml 4.14.0
# 1.10.5
## Fixes
- Patch merlin to remove the result module
# 1.10.4
## Fixes
- Use newer versions of ocamlformat-rpc-lib (fixes #697)
# 1.10.3
## Fixes
- Fix more debouncing bugs (#629)
# 1.10.2
## Fixes
- Catch merlin desturct exceptions (#626)
- Fix broken debouncing (#627)
# 1.10.1
## Fixes
- Fix executing ppx executables
# 1.10.0
## Features
- Add better support for code folding: more folds and more precise folds
## Fixes
- Fix infer interface code action crash when implementation source does not
exist (#597)
- Improve error message when the reason plugin for merlin is absent (#608)
- Fix `chdir` races when running ppx (#550)
- More accurate completion kinds.
New completion kinds for variants and fields. Removed inaccurate completion
kinds for constructors and types. (#510)
- Fix handling request cancellation (#616)
# 1.9.1
## Fixes
- Disable functionality reliant on ocamlformat-rpc for now (#555)
- 4.13 compatiblity
# 1.9.0 (11/21/2021)
## Fixes
- Ppx processes are now executed correctly (#513)
## Breaking Change
- ocamllsp drops support for `.merlin` files, and as a consequence no longer
depends on dot-merlin-reader. (#523)
## Features
- New code action to automatically remove values, types, opens (#502)
# 1.8.3 (09/26/2021)
- Fix debouncing of document updates. It was essentially completely broken in
all but the most trivial cases. (#509 fixes #504)
- Fix completion when passing named and functional arguments (#512)
# 1.8.2 (09/14/2021)
- Disable experimental dune support. It was accidentally left enabled.
# 1.8.1 (09/12/2021)
- Update to latest merlin.
# 1.8.0 (08/19/2021)
## Fixes
- Handle workspace change notifications. Previously, the server would only use
the set of workspaces given at startup to search for workspace symbols. After
this change, workspace folders that are added later will also be considered.
(#498)
## Features
- Add a new code action `Add missing rec keyword`, which is available when
adding a `rec` keyword can fix `Unbound value ...` error, e.g.,
```ocaml
let fact n = if n = 0 then 1 else n * fact (n - 1)
(* ^^^^ Unbound value fact *)
```
Adding `rec` to the definition of `fact` will fix the problem. The new code
action offers adding `rec`.
- Use ocamlformat to properly format type snippets. This feature requires the
`ocamlformat-rpc` opam package to be installed. (#386)
- Add completion support for polymorphic variants, when it is possible to pin
down the precise type. Examples (`<|>` stands for the cursor) when completion
will work (#473)
Function application:
```
let foo (a: [`Alpha | `Beta]) = ()
foo `A<|>
```
Type explicitly shown:
```
let a : [`Alpha | `Beta] = `B<|>
```
Note: this is actually a bug fix, since we were ignoring the backtick when
constructing the prefix for completion.
- Parse merlin errors (best effort) into a more structured form. This allows
reporting all locations as "related information" (#475)
- Add support for Merlin `Construct` command as completion suggestions, i.e.,
show complex expressions that could complete the typed hole. (#472)
- Add a code action `Construct an expression` that is shown when the cursor is
at the end of the typed hole, i.e., `_|`, where `|` is the cursor. The code
action simply triggers the client (currently only VS Code is supported) to
show completion suggestions. (#472)
- Change the formatting-on-save error notification to a warning notification
(#472)
- Code action to qualify ("put module name in identifiers") and unqualify
("remove module name from identifiers") module names in identifiers (#399)
Starting from:
```ocaml
open Unix
let times = Unix.times ()
let f x = x.Unix.tms_stime, x.Unix.tms_utime
```
Calling "remove module name from identifiers" with the cursor on the open
statement will produce:
```ocaml
open Unix
let times = times ()
let f x = x.tms_stime, x.tms_utime
```
Calling "put module name in identifiers" will restore:
```ocaml
open Unix
let times = Unix.times ()
let f x = x.Unix.tms_stime, x.Unix.tms_utime
```
## Fixes
- Do not show "random" documentation on hover
- fixed by [merlin#1364](https://github.com/ocaml/merlin/pull/1364)
- fixes duplicate:
- [ocaml-lsp#344](https://github.com/ocaml/ocaml-lsp/issues/344)
- [vscode-ocaml-platform#111](https://github.com/ocamllabs/vscode-ocaml-platform/issues/111)
- Correctly rename a variable used as a named/optional argument (#478)
- When reporting an error at the beginning of the file, use the first line not
the second (#489)
# 1.7.0 (07/28/2021)
## Features
- Add sub-errors as "related" information in diagnostics (#457)
- Add support for navigating to a symbol inside a workspace (#398)
- Show typed holes as errors
Merlin has a concept of "typed holes" that are syntactically represented as `_`. Files
that incorporate typed holes are not considered valid OCaml, but Merlin and OCaml-LSP
support them. One example when such typed holes can occur is when on "destructs" a value,
e.g., destructing `(Some 1)` will generate code `match Some 1 with Some _ -> _ | None -> _`. While the first underscore is a valid "match-all"/wildcard pattern, the rest of
underscores are typed holes.
# 1.6.1 (05/17/2020)
## Fixes
- Switch `verbosity` from 1 to 0. This is the same default that merlin uses.
The old value for verbosity (#433)
- Get fresh diagnostics (warning and error messages) on a file save (#438)
Note: If you want the fresh diagnostics to take into account changes in other
files, you likely need to rebuild your project. An easy way to get automatic
rebuilds is to run `dune` in a watching mode, e.g.,[dune build --watch].
# 1.6.0 (04/30/2020)
## Features
- Code action to annotate a value with its type (#397)
## Fixes
- Fix interface/implementation switching on Windows (#427)
- Correctly parse project paths with spaces and other special characters that
must be escaped.
- Print types with `-short-paths` even if the project wasn't built yet
# 1.5.0 (03/18/2020)
- Support 4.12 and drop support for all earlier versions
- Update to the latest version of merlin
# 1.4.1 (03/16/2020)
## Fixes
- Backport fixes from merlin (#382, #383)
- Encode request & notification `params` in a list. This is required by the
spec. (#351)
# 1.4.0 (12/17/2020)
## Features
- Support cancellation notifications when possible. (#323)
- Implement signature help request for functions (#324)
- Server LSP requests & notifications concurrently. Requests that require merlin
are still serialized. (#330)
# 1.3.0 (11/23/2020)
## Features
- Code action to insert inferred module interface (#308)
- Filter keywords by context (#307)
# 1.2.0 (11/16/2020)
## Features
- Add keyword completion
- Add go to declaration functionality to jump to a value's specification in a
.mli file (#294)
## Fixes
- #245: correctly use mutexes on OpenBSD (#264)
- #268: Do not use vendored libraries when building the lsp package (#260)
- #271: Clear diagnostics when files are closed
- Disable non-prefix completion. There's no reliably way to trigger it and it
can be slow.
# 1.1.0 (10/14/2020)
## Features
- Implement a command to switch between module interfaces and implementations
(#254)
## Fixes
- Do not crash on invalid positions (#248)
- add missing record fields to list of completions (#253)
- do not offer `destruct` as a code action in interface files (#255)
# 1.0.0 (08/28/2020)
- Initial Release

View file

@ -1,16 +0,0 @@
ISC License
Copyright (X) 2018-2019, the [ocaml-lsp
contributors](https://github.com/ocaml/ocaml-lsp/graphs/contributors)
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View file

@ -1,423 +0,0 @@
# OCaml-LSP <!-- omit from toc -->
<!-- TOC is updated automatically by "Markdown All in One" vscode extension -->
[![Build][build-badge]][build]
[![Coverage Status][coverall-badge]][coverall]
[build-badge]: https://github.com/ocaml/ocaml-lsp/actions/workflows/build-and-test.yml/badge.svg
[build]: https://github.com/ocaml/ocaml-lsp/actions
[coverall-badge]: https://coveralls.io/repos/github/ocaml/ocaml-lsp/badge.svg?branch=master
[coverall]: https://coveralls.io/github/ocaml/ocaml-lsp?branch=master
OCaml-LSP is a language server for OCaml that implements [Language Server
Protocol](https://microsoft.github.io/language-server-protocol/) (LSP).
> If you use Visual Studio Code, see OCaml Platform extension
> [page](https://github.com/ocamllabs/vscode-ocaml-platform) for detailed
> instructions on setting up your editor for OCaml development with OCaml-LSP:
> what packages need to be installed, how to configure your project and get
> most out of the OCaml editor support, and how to report and debug problems.
- [Installation](#installation)
- [Installing with package managers](#installing-with-package-managers)
- [Opam](#opam)
- [Esy](#esy)
- [Installing from sources](#installing-from-sources)
- [Additional package installations](#additional-package-installations)
- [Usage](#usage)
- [Integration with Dune RPC](#integration-with-dune-rpc)
- [Merlin configuration (advanced)](#merlin-configuration-advanced)
- [Features](#features)
- [Semantic highlighting](#semantic-highlighting)
- [LSP Extensions](#lsp-extensions)
- [Unusual features](#unusual-features)
- [Debugging](#debugging)
- [Contributing to project](#contributing-to-project)
- [Changelog](#changelog)
- [Tests](#tests)
- [Relationship to Other Tools](#relationship-to-other-tools)
- [History](#history)
- [Comparison to other LSP Servers for OCaml](#comparison-to-other-lsp-servers-for-ocaml)
## Installation
Below we show how to install OCaml-LSP using opam, esy, and from sources. OCaml-LSP comes in a package called `ocaml-lsp-server` but the installed program (i.e., binary) is called `ocamllsp`.
### Installing with package managers
#### Opam
To install the language server in the currently used opam [switch](https://opam.ocaml.org/doc/Manual.html#Switches):
```sh
$ opam install ocaml-lsp-server
```
_Note:_ you will need to install `ocaml-lsp-server` in every switch where you
would like to use it.
#### Esy
To add the language server to an esy project, run in terminal:
```sh
$ esy add @opam/ocaml-lsp-server
```
### Installing from sources
This project uses submodules to handle dependencies. This is done so that users
who install `ocaml-lsp-server` into their sandbox will not share dependency
constraints on the same packages that `ocaml-lsp-server` is using.
```sh
$ git clone --recurse-submodules http://github.com/ocaml/ocaml-lsp.git
$ cd ocaml-lsp
$ make install
```
### Additional package installations
- Install [ocamlformat](https://github.com/ocaml-ppx/ocamlformat#installation)
package if you want source file formatting support.
Note: To have source file formatting support in your project, there needs to
be an `.ocamlformat` file present in your project's root directory.
- OCaml-LSP also uses a program called `ocamlformat-rpc` to format code that is
either generated or displayed by OCaml-LSP, e.g., when you hover over a module
identifier, you can see its typed nicely formatted. This program comes with
`ocamlformat` (version > 0.21.0). Previously, it was a standalone package.
## Usage
Usually, your code editor, or some extension/plugin that you install on it, is
responsible for launching `ocamllsp`.
Important: OCaml Language Server has its information about the files from the
last time your built your project. We recommend using the Dune build system and
running it in "watch" mode to always have correctly functioning OCaml-LSP, e.g.,
`dune build --watch`.
### Integration with Dune RPC
> since OCaml-LSP 1.11.0
OCaml-LSP can communicate with Dune's RPC system to offer some interesting
features. User can launch Dune's RPC system by running Dune in watch mode.
OCaml-LSP will *not* launch Dune's RPC for you. But OCaml-LSP will see if there
is an RPC running and will communicate with it automatically.
There are various interesting features and caveats:
1. Dune's RPC enables new kinds of diagnostics (i.e., warnings and errors) to be
shown in the editor, e.g., mismatching interface and implementation files.
You need to save the file to refresh such diagnostics because Dune doesn't
see unsaved files; otherwise, you may see stale (no longer correct) warnings
or errors. OCaml-LSP updates diagnostics after each build is complete in
watch mode.
2. Dune file promotion support. If you, for example, use `ppx_expect` and have
failing tests, you will get a diagnostic when Dune reports that your file can
be promoted. You can promote your file using the code action `Promote`.
### Merlin configuration (advanced)
If you would like OCaml-LSP to respect your `.merlin` files, OCaml-LSP needs to
be invoked with `--fallback-read-dot-merlin` argument passed to it and you must
have the `dot-merlin-reader` package installed.
## Features
<!-- TODO:
this is quite a large list (which becomes even larger since it's missing some requests), which is not necessarily of big interest to users.
We should consider:
1. Moving it to the bottom
2. Converting it into a table
| Description | Method | OCaml | Reason | Dune | Menhir | .ocamlformat | ...
| Auto-completion | textDocument/completion | x | x | o | o | o | ...
3. (not sure how) Generate the table automatically because, otherwise, it's outdated frequently.
-->
The server supports the following LSP requests (inexhaustive list):
- [x] `textDocument/completion`
- [x] `completionItem/resolve`
- [x] `textdocument/hover`
- [ ] `textDocument/signatureHelp`
- [x] `textDocument/declaration`
- [x] `textDocument/definition`
- [x] `textDocument/typeDefinition`
- [ ] `textDocument/implementation`
- [x] `textDocument/codeLens`
- [x] `textDocument/documentHighlight`
- [x] `textDocument/documentSymbol`
- [x] `textDocument/references`
- [ ] `textDocument/documentColor`
- [ ] `textDocument/colorPresentation`
- [x] `textDocument/formatting`
- [ ] `textDocument/rangeFormatting`
- [ ] `textDocument/onTypeFormatting`
- [x] `textDocument/prepareRename`
- [x] `textDocument/foldingRange`
- [x] `textDocument/selectionRange`
- [x] `workspace/didChangeConfiguration`
- [x] `workspace/symbol`
Note that degrees of support for each LSP request are varying.
## Configuration
[Read more about configurations supported by ocamllsp](./ocaml-lsp-server/docs/ocamllsp/config.md)
### Semantic highlighting
> since OCaml-LSP 1.15.0 (since version `1.15.0-4.14` for OCaml 4, `1.15.0-5.0` for OCaml 5)
Semantic highlighting support is enabled by default.
> since OCaml-LSP 1.14.0
OCaml-LSP implements experimental semantic highlighting support (also known as
semantic tokens support). The support can be activated by passing an environment
variable to OCaml-LSP:
- To enable non-incremental (expectedly slower but more stable) version, pass
`OCAMLLSP_SEMANTIC_HIGHLIGHTING=full` environment variable to OCaml-LSP.
- To enable incremental (potentially faster but more error-prone, at least on VS
Code) version, pass `OCAMLLSP_SEMANTIC_HIGHLIGHTING=full/delta` to OCaml-LSP.
Tip (for VS Code OCaml Platform users): You can use `ocaml.server.extraEnv`
setting in VS Code to pass various environment variables to OCaml-LSP.
```json
{
"ocaml.server.extraEnv": {
"OCAMLLSP_SEMANTIC_HIGHLIGHTING": "full"
},
}
```
### LSP Extensions
The server also supports a number of OCaml specific extensions to the protocol:
- [Switch to implementation/interface](ocaml-lsp-server/docs/ocamllsp/switchImplIntf-spec.md)
- [Infer interface](ocaml-lsp-server/docs/ocamllsp/inferIntf-spec.md)
- [Locate typed holes](ocaml-lsp-server/docs/ocamllsp/typedHoles-spec.md)
- [Find wrapping AST node](ocaml-lsp-server/docs/ocamllsp/wrappingAstNode-spec.md)
Note that editor support for these extensions varies. In general, the OCaml Platform extension for Visual Studio Code will have the best support.
### Unusual features
#### Destructing a value <!-- omit in toc -->
> since OCaml-LSP 1.0.0
OCaml-LSP has a code action that allows to generate an exhaustive pattern
matching for values. For example, placing a cursor near a value `(Some 10)|`
where `|` is your cursor, OCaml-LSP will offer a code action "Destruct", which
replaces `(Some 10)` with `(match Some with | None -> _ | Some _ -> _)`.
Importantly, one can only destruct a value if OCaml-LSP can infer the value's
precise type. The value can be type-annotated, e.g., if it's a function argument
with polymorphic (or yet unknown) type in this context. In the code snippet
below, we type-annotate the function parameter `v` because when we type `let f v
= v|`, the type of `v` is polymorphic, so we can't destruct it.
You can also usually destruct the value by placing the cursor on the wildcard
(`_`) pattern in a pattern-match. For example,
```ocaml
type t = A | B of string option
let f (v : t) = match v with | A -> _ | B _| -> _
```
invoking destruct near the cursor (`|`) in the snippet above, you get
```ocaml
type t = A | B of string option
let f (v : t) = match v with | A -> _ | B (None) | B (Some _) -> _
```
Importantly, note the underscores in place of expressions in each branch of the
pattern match above. The underscores that occur in place of expressions are
called "typed holes" - a concept explained below.
Tip (formatting): generated code may not be greatly formatted. If your project
uses a formatter such as OCamlFormat, you can run formatting and get a
well-formatted document (OCamlFormat supports typed holes formatting).
Tip (for VS Code OCaml Platform users): You can destruct a value using a keybinding
<kbd>Alt</kbd>+<kbd>D</kbd> or on MacOS <kbd>Option</kbd>+<kbd>D</kbd>
#### Typed holes <!-- omit in toc -->
> since OCaml-LSP 1.8.0
OCaml-LSP has a concept of a "typed hole" syntactically represented as `_`
(underscore). A typed hole represents a well-typed "substitute" for an
expression. OCaml-LSP considers these underscores that occur in place of
expressions as a valid well-typed OCaml program: `let foo : int = _` (the typed
hole has type `int` here) or `let bar = _ 10` (the hole has type `int -> 'a`).
One can use such holes during development as temporary substitutes for
expressions and "plug" the holes later with appropriate expressions.
Note, files that incorporate typed holes are *not* considered valid OCaml by the
OCaml compiler and, hence, cannot be compiled.
Also, an underscore occurring in place of a pattern (for example `let _ = 10`)
should not be confused with a typed hole that occurs in place of an expression,
e.g., `let a = _`.
#### Constructing values by type (experimental) <!-- omit in toc -->
> since OCaml-LSP 1.8.0
OCaml-LSP can "construct" expressions based on the type required and offer them
during auto-completion. For example, typing `_` (typed hole) in the snippet
below will trigger auto-completion (`|` is your cursor):
```ocaml
(* file foo.ml *)
type t = A | B of string option
(* file bar.ml *)
let v : Foo.t = _|
```
The auto-completion offers completions `Foo.A` and `Foo.B _`. You can further
construct values by placing the cursor as such: `Foo.B _|` and triggering code
action "Construct an expression" which offers completions `None` and `Some _`.
Trigger the same code action in `Some _|` will offer `""` - one of the possible
expressions to replace the typed hole with.
Constructing a value is thus triggered either by typing `_` in place of an
expression or trigger the code action "Construct an Expression". Also, the type
of the value needs to be non-polymorphic to construct a meaningful value.
Tip (for VS Code OCaml Platform users): You can construct a value using a keybinding
<kbd>Alt</kbd>+<kbd>C</kbd> or on MacOS <kbd>Option</kbd>+<kbd>C</kbd>
#### Syntax Documentation
> since OCaml-LSP 1.18.0
OCaml-LSP can display documentation about the node under the cursor when
the user hovers over some OCaml code. For example, hovering over the code
snippet below will display some information about what the syntax
is:
```ocaml
type point = {x: int; y: int}
```
Hovering over the above will
display:
```
ocaml type point = { x : int; y : int }
syntax Record type:
Allows you to define variants with a fixed set of fields, and all of the
constructors for a record variant type must have the same fields. See
Manual
```
The documentation is gotten from the Merlin engine which receives
the nodes under the cursor and infers what the syntax may be about, and
displays the required information along with links to the manual for further
reading.
Syntax Documentation is an optional feature and can be activated by
using the LSP config system with the key called `syntaxDocumentation` and can
be enabled via setting it to `{ enable: true }`.
## Debugging
If you use Visual Studio Code, please see OCaml Platform extension
[page](https://github.com/ocamllabs/vscode-ocaml-platform) for a detailed guide
on how to report and debug problems.
If you use another code editor and use OCaml-LSP, you should be able to set the
server trace to `verbose` using your editor's LSP client and watch the trace
for errors such as logged exceptions.
## Contributing to project
```bash
# clone repo with submodules
git clone --recursive git@github.com:ocaml/ocaml-lsp.git
cd ocaml-lsp
# if you already cloned, pull submodules
git submodule update --init --recursive
# create local switch (or use global one)
opam switch --yes create .
# don't forget to set your environment to use the local switch
eval $(opam env)
# install dependencies
make install-test-deps
# build
make all
# the ocamllsp executable can be found at _build/default/ocaml-lsp-server/bin/main.exe
```
### Changelog
User-visible changes should come with an entry in the changelog under the appropriate part of
the **unreleased** section. PR that doesn't provide an entry will fail CI check. This behavior
can be overridden by using the "no changelog" label, which is used for changes that are not user-visible.
## Tests
To run tests execute:
```sh
$ make test
```
Note that tests require [Node.js](https://nodejs.org/en/) and
[Yarn](https://yarnpkg.com/lang/en/) installed.
## Relationship to Other Tools
The lsp server uses merlin under the hood, but users are not required to have
merlin installed. We vendor merlin because we currently heavily depend on some
implementation details of merlin that make it infeasible to upgrade the lsp
server and merlin independently.
## History
The implementation of the lsp protocol itself was taken from
[facebook's hack](https://github.com/facebook/hhvm/blob/master/hphp/hack/src/utils/lsp/lsp.mli)
Previously, this lsp server was a part of merlin, until it was realized that
the lsp protocol covers a wider scope than merlin.
## Comparison to other LSP Servers for OCaml
Note that the comparisons below make no claims of being objective and may be
entirely out of
date. Also, both servers seem deprecated.
- [reason-language-server](https://github.com/jaredly/reason-language-server)
This server supports
[bucklescript](https://github.com/BuckleScript/bucklescript) &
[reason](https://github.com/facebook/reason). However, this project does not
use merlin which means that it supports fewer versions of OCaml and offers less
"smart" functionality - especially in the face of sources that do not yet
compile.
- [ocaml-language-server](https://github.com/ocaml-lsp/ocaml-language-server)
This project is extremely similar in the functionality it provides because it
also reuses merlin on the backend. The essential difference is that this
project is written in typescript, while our server is in OCaml. We feel that
it's best to use OCaml to maximize the contributor pool.

View file

@ -1,2 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (jsonrpc.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.4"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> jsonrpc</nav><header class="odoc-preamble"><h1 id="package-jsonrpc"><a href="#package-jsonrpc" class="anchor"></a>Package jsonrpc <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Jsonrpc/index.html"><code>Jsonrpc</code></a> <span class="synopsis">Jsonrpc implementation</span></li></ul></header><nav class="odoc-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-license-files"><td><a href="#info-license-files" aria-hidden="true" class="anchor"></a>license-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/LICENSE.md">LICENSE.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>

View file

@ -0,0 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>AnnotatedTextEdit (linol-lwt.Linol_lwt.AnnotatedTextEdit)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; AnnotatedTextEdit</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.AnnotatedTextEdit</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.annotationId" class="def record field anchored"><a href="#type-t.annotationId" class="anchor"></a><code><span>annotationId : string;</span></code></li><li id="type-t.newText" class="def record field anchored"><a href="#type-t.newText" class="anchor"></a><code><span>newText : string;</span></code></li><li id="type-t.range" class="def record field anchored"><a href="#type-t.range" class="anchor"></a><code><span>range : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">annotationId</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">newText</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">range</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ApplyWorkspaceEditParams (linol-lwt.Linol_lwt.ApplyWorkspaceEditParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ApplyWorkspaceEditParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ApplyWorkspaceEditParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.edit" class="def record field anchored"><a href="#type-t.edit" class="anchor"></a><code><span>edit : <span class="xref-unresolved">Linol_lsp__Types.WorkspaceEdit.t</span>;</span></code></li><li id="type-t.label" class="def record field anchored"><a href="#type-t.label" class="anchor"></a><code><span>label : <span>string option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">edit</span>:<span class="xref-unresolved">Linol_lsp__Types.WorkspaceEdit.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?label</span>:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ApplyWorkspaceEditResult (linol-lwt.Linol_lwt.ApplyWorkspaceEditResult)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ApplyWorkspaceEditResult</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ApplyWorkspaceEditResult</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.applied" class="def record field anchored"><a href="#type-t.applied" class="anchor"></a><code><span>applied : bool;</span></code></li><li id="type-t.failedChange" class="def record field anchored"><a href="#type-t.failedChange" class="anchor"></a><code><span>failedChange : <span>int option</span>;</span></code></li><li id="type-t.failureReason" class="def record field anchored"><a href="#type-t.failureReason" class="anchor"></a><code><span>failureReason : <span>string option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">applied</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?failedChange</span>:int <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?failureReason</span>:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>BaseSymbolInformation (linol-lwt.Linol_lwt.BaseSymbolInformation)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; BaseSymbolInformation</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.BaseSymbolInformation</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.containerName" class="def record field anchored"><a href="#type-t.containerName" class="anchor"></a><code><span>containerName : <span>string option</span>;</span></code></li><li id="type-t.kind" class="def record field anchored"><a href="#type-t.kind" class="anchor"></a><code><span>kind : <span class="xref-unresolved">Linol_lsp__Types.SymbolKind.t</span>;</span></code></li><li id="type-t.name" class="def record field anchored"><a href="#type-t.name" class="anchor"></a><code><span>name : string;</span></code></li><li id="type-t.tags" class="def record field anchored"><a href="#type-t.tags" class="anchor"></a><code><span>tags : <span><span><span class="xref-unresolved">Linol_lsp__Types.SymbolTag.t</span> list</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?containerName</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">kind</span>:<span class="xref-unresolved">Linol_lsp__Types.SymbolKind.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">name</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?tags</span>:<span><span class="xref-unresolved">Linol_lsp__Types.SymbolTag.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyClientCapabilities (linol-lwt.Linol_lwt.CallHierarchyClientCapabilities)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyClientCapabilities</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyClientCapabilities</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.dynamicRegistration" class="def record field anchored"><a href="#type-t.dynamicRegistration" class="anchor"></a><code><span>dynamicRegistration : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?dynamicRegistration</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyIncomingCall (linol-lwt.Linol_lwt.CallHierarchyIncomingCall)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyIncomingCall</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyIncomingCall</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.from" class="def record field anchored"><a href="#type-t.from" class="anchor"></a><code><span>from : <span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span>;</span></code></li><li id="type-t.fromRanges" class="def record field anchored"><a href="#type-t.fromRanges" class="anchor"></a><code><span>fromRanges : <span><span class="xref-unresolved">Linol_lsp__Types.Range.t</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">from</span>:<span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">fromRanges</span>:<span><span class="xref-unresolved">Linol_lsp__Types.Range.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyIncomingCallsParams (linol-lwt.Linol_lwt.CallHierarchyIncomingCallsParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyIncomingCallsParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyIncomingCallsParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.item" class="def record field anchored"><a href="#type-t.item" class="anchor"></a><code><span>item : <span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span>;</span></code></li><li id="type-t.partialResultToken" class="def record field anchored"><a href="#type-t.partialResultToken" class="anchor"></a><code><span>partialResultToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">item</span>:<span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?partialResultToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyItem (linol-lwt.Linol_lwt.CallHierarchyItem)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyItem</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyItem</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.data" class="def record field anchored"><a href="#type-t.data" class="anchor"></a><code><span>data : <span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> option</span>;</span></code></li><li id="type-t.detail" class="def record field anchored"><a href="#type-t.detail" class="anchor"></a><code><span>detail : <span>string option</span>;</span></code></li><li id="type-t.kind" class="def record field anchored"><a href="#type-t.kind" class="anchor"></a><code><span>kind : <span class="xref-unresolved">Linol_lsp__Types.SymbolKind.t</span>;</span></code></li><li id="type-t.name" class="def record field anchored"><a href="#type-t.name" class="anchor"></a><code><span>name : string;</span></code></li><li id="type-t.range" class="def record field anchored"><a href="#type-t.range" class="anchor"></a><code><span>range : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li><li id="type-t.selectionRange" class="def record field anchored"><a href="#type-t.selectionRange" class="anchor"></a><code><span>selectionRange : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li><li id="type-t.tags" class="def record field anchored"><a href="#type-t.tags" class="anchor"></a><code><span>tags : <span><span><span class="xref-unresolved">Linol_lsp__Types.SymbolTag.t</span> list</span> option</span>;</span></code></li><li id="type-t.uri" class="def record field anchored"><a href="#type-t.uri" class="anchor"></a><code><span>uri : <a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?data</span>:<a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?detail</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">kind</span>:<span class="xref-unresolved">Linol_lsp__Types.SymbolKind.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">name</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">range</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">selectionRange</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?tags</span>:<span><span class="xref-unresolved">Linol_lsp__Types.SymbolTag.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">uri</span>:<a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyOptions (linol-lwt.Linol_lwt.CallHierarchyOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyOutgoingCall (linol-lwt.Linol_lwt.CallHierarchyOutgoingCall)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyOutgoingCall</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyOutgoingCall</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.fromRanges" class="def record field anchored"><a href="#type-t.fromRanges" class="anchor"></a><code><span>fromRanges : <span><span class="xref-unresolved">Linol_lsp__Types.Range.t</span> list</span>;</span></code></li><li id="type-t.to_" class="def record field anchored"><a href="#type-t.to_" class="anchor"></a><code><span>to_ : <span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">fromRanges</span>:<span><span class="xref-unresolved">Linol_lsp__Types.Range.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">to_</span>:<span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyOutgoingCallsParams (linol-lwt.Linol_lwt.CallHierarchyOutgoingCallsParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyOutgoingCallsParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyOutgoingCallsParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.item" class="def record field anchored"><a href="#type-t.item" class="anchor"></a><code><span>item : <span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span>;</span></code></li><li id="type-t.partialResultToken" class="def record field anchored"><a href="#type-t.partialResultToken" class="anchor"></a><code><span>partialResultToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">item</span>:<span class="xref-unresolved">Linol_lsp__Types.CallHierarchyItem.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?partialResultToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyPrepareParams (linol-lwt.Linol_lwt.CallHierarchyPrepareParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyPrepareParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyPrepareParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.position" class="def record field anchored"><a href="#type-t.position" class="anchor"></a><code><span>position : <span class="xref-unresolved">Linol_lsp__Types.Position.t</span>;</span></code></li><li id="type-t.textDocument" class="def record field anchored"><a href="#type-t.textDocument" class="anchor"></a><code><span>textDocument : <span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">position</span>:<span class="xref-unresolved">Linol_lsp__Types.Position.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">textDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CallHierarchyRegistrationOptions (linol-lwt.Linol_lwt.CallHierarchyRegistrationOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CallHierarchyRegistrationOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CallHierarchyRegistrationOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.documentSelector" class="def record field anchored"><a href="#type-t.documentSelector" class="anchor"></a><code><span>documentSelector : <span><span><span>[ <span>`TextDocumentFilter of
<span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span>
option</span>;</span></code></li><li id="type-t.id" class="def record field anchored"><a href="#type-t.id" class="anchor"></a><code><span>id : <span>string option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?documentSelector</span>:
<span><span>[ <span>`TextDocumentFilter of <span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?id</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CancelParams (linol-lwt.Linol_lwt.CancelParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CancelParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CancelParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.id" class="def record field anchored"><a href="#type-t.id" class="anchor"></a><code><span>id : <a href="../../../linol/Linol_jsonrpc/Jsonrpc/Id/index.html#type-t">Linol_jsonrpc.Jsonrpc.Id.t</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="label">id</span>:<a href="../../../linol/Linol_jsonrpc/Jsonrpc/Id/index.html#type-t">Linol_jsonrpc.Jsonrpc.Id.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ChangeAnnotation (linol-lwt.Linol_lwt.ChangeAnnotation)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ChangeAnnotation</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ChangeAnnotation</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.description" class="def record field anchored"><a href="#type-t.description" class="anchor"></a><code><span>description : <span>string option</span>;</span></code></li><li id="type-t.label" class="def record field anchored"><a href="#type-t.label" class="anchor"></a><code><span>label : string;</span></code></li><li id="type-t.needsConfirmation" class="def record field anchored"><a href="#type-t.needsConfirmation" class="anchor"></a><code><span>needsConfirmation : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?description</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">label</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?needsConfirmation</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ChangeAnnotationIdentifier (linol-lwt.Linol_lwt.ChangeAnnotationIdentifier)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ChangeAnnotationIdentifier</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ChangeAnnotationIdentifier</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = string</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ClientCapabilities (linol-lwt.Linol_lwt.ClientCapabilities)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ClientCapabilities</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ClientCapabilities</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.experimental" class="def record field anchored"><a href="#type-t.experimental" class="anchor"></a><code><span>experimental : <span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> option</span>;</span></code></li><li id="type-t.general" class="def record field anchored"><a href="#type-t.general" class="anchor"></a><code><span>general : <span><span class="xref-unresolved">Linol_lsp__Types.GeneralClientCapabilities.t</span> option</span>;</span></code></li><li id="type-t.notebookDocument" class="def record field anchored"><a href="#type-t.notebookDocument" class="anchor"></a><code><span>notebookDocument : <span><span class="xref-unresolved">Linol_lsp__Types.NotebookDocumentClientCapabilities.t</span> option</span>;</span></code></li><li id="type-t.textDocument" class="def record field anchored"><a href="#type-t.textDocument" class="anchor"></a><code><span>textDocument : <span><span class="xref-unresolved">Linol_lsp__Types.TextDocumentClientCapabilities.t</span> option</span>;</span></code></li><li id="type-t.window" class="def record field anchored"><a href="#type-t.window" class="anchor"></a><code><span>window : <span><span class="xref-unresolved">Linol_lsp__Types.WindowClientCapabilities.t</span> option</span>;</span></code></li><li id="type-t.workspace" class="def record field anchored"><a href="#type-t.workspace" class="anchor"></a><code><span>workspace : <span><span class="xref-unresolved">Linol_lsp__Types.WorkspaceClientCapabilities.t</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?experimental</span>:<a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?general</span>:<span class="xref-unresolved">Linol_lsp__Types.GeneralClientCapabilities.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?notebookDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.NotebookDocumentClientCapabilities.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?textDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.TextDocumentClientCapabilities.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?window</span>:<span class="xref-unresolved">Linol_lsp__Types.WindowClientCapabilities.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workspace</span>:<span class="xref-unresolved">Linol_lsp__Types.WorkspaceClientCapabilities.t</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeAction (linol-lwt.Linol_lwt.CodeAction)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeAction</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeAction</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-disabled"><a href="#type-disabled" class="anchor"></a><code><span><span class="keyword">type</span> disabled</span><span> = </span><span>{</span></code><ol><li id="type-disabled.reason" class="def record field anchored"><a href="#type-disabled.reason" class="anchor"></a><code><span>reason : string;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_disabled"><a href="#val-create_disabled" class="anchor"></a><code><span><span class="keyword">val</span> create_disabled : <span><span class="label">reason</span>:string <span class="arrow">&#45;&gt;</span></span> <a href="#type-disabled">disabled</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.command" class="def record field anchored"><a href="#type-t.command" class="anchor"></a><code><span>command : <span><span class="xref-unresolved">Linol_lsp__Types.Command.t</span> option</span>;</span></code></li><li id="type-t.data" class="def record field anchored"><a href="#type-t.data" class="anchor"></a><code><span>data : <span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> option</span>;</span></code></li><li id="type-t.diagnostics" class="def record field anchored"><a href="#type-t.diagnostics" class="anchor"></a><code><span>diagnostics : <span><span><span class="xref-unresolved">Linol_lsp__Types.Diagnostic.t</span> list</span> option</span>;</span></code></li><li id="type-t.disabled" class="def record field anchored"><a href="#type-t.disabled" class="anchor"></a><code><span>disabled : <span><a href="#type-disabled">disabled</a> option</span>;</span></code></li><li id="type-t.edit" class="def record field anchored"><a href="#type-t.edit" class="anchor"></a><code><span>edit : <span><span class="xref-unresolved">Linol_lsp__Types.WorkspaceEdit.t</span> option</span>;</span></code></li><li id="type-t.isPreferred" class="def record field anchored"><a href="#type-t.isPreferred" class="anchor"></a><code><span>isPreferred : <span>bool option</span>;</span></code></li><li id="type-t.kind" class="def record field anchored"><a href="#type-t.kind" class="anchor"></a><code><span>kind : <span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> option</span>;</span></code></li><li id="type-t.title" class="def record field anchored"><a href="#type-t.title" class="anchor"></a><code><span>title : string;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?command</span>:<span class="xref-unresolved">Linol_lsp__Types.Command.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?data</span>:<a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?diagnostics</span>:<span><span class="xref-unresolved">Linol_lsp__Types.Diagnostic.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?disabled</span>:<a href="#type-disabled">disabled</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?edit</span>:<span class="xref-unresolved">Linol_lsp__Types.WorkspaceEdit.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?isPreferred</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?kind</span>:<span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">title</span>:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionClientCapabilities (linol-lwt.Linol_lwt.CodeActionClientCapabilities)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionClientCapabilities</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionClientCapabilities</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-resolveSupport"><a href="#type-resolveSupport" class="anchor"></a><code><span><span class="keyword">type</span> resolveSupport</span><span> = </span><span>{</span></code><ol><li id="type-resolveSupport.properties" class="def record field anchored"><a href="#type-resolveSupport.properties" class="anchor"></a><code><span>properties : <span>string list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_resolveSupport"><a href="#val-create_resolveSupport" class="anchor"></a><code><span><span class="keyword">val</span> create_resolveSupport : <span><span class="label">properties</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-resolveSupport">resolveSupport</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-codeActionKind"><a href="#type-codeActionKind" class="anchor"></a><code><span><span class="keyword">type</span> codeActionKind</span><span> = </span><span>{</span></code><ol><li id="type-codeActionKind.valueSet" class="def record field anchored"><a href="#type-codeActionKind.valueSet" class="anchor"></a><code><span>valueSet : <span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_codeActionKind"><a href="#val-create_codeActionKind" class="anchor"></a><code><span><span class="keyword">val</span> create_codeActionKind :
<span><span class="label">valueSet</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-codeActionKind">codeActionKind</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-codeActionLiteralSupport"><a href="#type-codeActionLiteralSupport" class="anchor"></a><code><span><span class="keyword">type</span> codeActionLiteralSupport</span><span> = </span><span>{</span></code><ol><li id="type-codeActionLiteralSupport.codeActionKind" class="def record field anchored"><a href="#type-codeActionLiteralSupport.codeActionKind" class="anchor"></a><code><span>codeActionKind : <a href="#type-codeActionKind">codeActionKind</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_codeActionLiteralSupport"><a href="#val-create_codeActionLiteralSupport" class="anchor"></a><code><span><span class="keyword">val</span> create_codeActionLiteralSupport :
<span><span class="label">codeActionKind</span>:<a href="#type-codeActionKind">codeActionKind</a> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-codeActionLiteralSupport">codeActionLiteralSupport</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.codeActionLiteralSupport" class="def record field anchored"><a href="#type-t.codeActionLiteralSupport" class="anchor"></a><code><span>codeActionLiteralSupport : <span><a href="#type-codeActionLiteralSupport">codeActionLiteralSupport</a> option</span>;</span></code></li><li id="type-t.dataSupport" class="def record field anchored"><a href="#type-t.dataSupport" class="anchor"></a><code><span>dataSupport : <span>bool option</span>;</span></code></li><li id="type-t.disabledSupport" class="def record field anchored"><a href="#type-t.disabledSupport" class="anchor"></a><code><span>disabledSupport : <span>bool option</span>;</span></code></li><li id="type-t.dynamicRegistration" class="def record field anchored"><a href="#type-t.dynamicRegistration" class="anchor"></a><code><span>dynamicRegistration : <span>bool option</span>;</span></code></li><li id="type-t.honorsChangeAnnotations" class="def record field anchored"><a href="#type-t.honorsChangeAnnotations" class="anchor"></a><code><span>honorsChangeAnnotations : <span>bool option</span>;</span></code></li><li id="type-t.isPreferredSupport" class="def record field anchored"><a href="#type-t.isPreferredSupport" class="anchor"></a><code><span>isPreferredSupport : <span>bool option</span>;</span></code></li><li id="type-t.resolveSupport" class="def record field anchored"><a href="#type-t.resolveSupport" class="anchor"></a><code><span>resolveSupport : <span><a href="#type-resolveSupport">resolveSupport</a> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?codeActionLiteralSupport</span>:<a href="#type-codeActionLiteralSupport">codeActionLiteralSupport</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?dataSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?disabledSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?dynamicRegistration</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?honorsChangeAnnotations</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?isPreferredSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?resolveSupport</span>:<a href="#type-resolveSupport">resolveSupport</a> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionContext (linol-lwt.Linol_lwt.CodeActionContext)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionContext</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionContext</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.diagnostics" class="def record field anchored"><a href="#type-t.diagnostics" class="anchor"></a><code><span>diagnostics : <span><span class="xref-unresolved">Linol_lsp__Types.Diagnostic.t</span> list</span>;</span></code></li><li id="type-t.only" class="def record field anchored"><a href="#type-t.only" class="anchor"></a><code><span>only : <span><span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span> option</span>;</span></code></li><li id="type-t.triggerKind" class="def record field anchored"><a href="#type-t.triggerKind" class="anchor"></a><code><span>triggerKind : <span><span class="xref-unresolved">Linol_lsp__Types.CodeActionTriggerKind.t</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">diagnostics</span>:<span><span class="xref-unresolved">Linol_lsp__Types.Diagnostic.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?only</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?triggerKind</span>:<span class="xref-unresolved">Linol_lsp__Types.CodeActionTriggerKind.t</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionKind (linol-lwt.Linol_lwt.CodeActionKind)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionKind</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionKind</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Empty" class="def variant constructor anchored"><a href="#type-t.Empty" class="anchor"></a><code><span>| </span><span><span class="constructor">Empty</span></span></code></li><li id="type-t.QuickFix" class="def variant constructor anchored"><a href="#type-t.QuickFix" class="anchor"></a><code><span>| </span><span><span class="constructor">QuickFix</span></span></code></li><li id="type-t.Refactor" class="def variant constructor anchored"><a href="#type-t.Refactor" class="anchor"></a><code><span>| </span><span><span class="constructor">Refactor</span></span></code></li><li id="type-t.RefactorExtract" class="def variant constructor anchored"><a href="#type-t.RefactorExtract" class="anchor"></a><code><span>| </span><span><span class="constructor">RefactorExtract</span></span></code></li><li id="type-t.RefactorInline" class="def variant constructor anchored"><a href="#type-t.RefactorInline" class="anchor"></a><code><span>| </span><span><span class="constructor">RefactorInline</span></span></code></li><li id="type-t.RefactorRewrite" class="def variant constructor anchored"><a href="#type-t.RefactorRewrite" class="anchor"></a><code><span>| </span><span><span class="constructor">RefactorRewrite</span></span></code></li><li id="type-t.Source" class="def variant constructor anchored"><a href="#type-t.Source" class="anchor"></a><code><span>| </span><span><span class="constructor">Source</span></span></code></li><li id="type-t.SourceOrganizeImports" class="def variant constructor anchored"><a href="#type-t.SourceOrganizeImports" class="anchor"></a><code><span>| </span><span><span class="constructor">SourceOrganizeImports</span></span></code></li><li id="type-t.SourceFixAll" class="def variant constructor anchored"><a href="#type-t.SourceFixAll" class="anchor"></a><code><span>| </span><span><span class="constructor">SourceFixAll</span></span></code></li><li id="type-t.Other" class="def variant constructor anchored"><a href="#type-t.Other" class="anchor"></a><code><span>| </span><span><span class="constructor">Other</span> <span class="keyword">of</span> string</span></code></li></ol></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionOptions (linol-lwt.Linol_lwt.CodeActionOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.codeActionKinds" class="def record field anchored"><a href="#type-t.codeActionKinds" class="anchor"></a><code><span>codeActionKinds : <span><span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span> option</span>;</span></code></li><li id="type-t.resolveProvider" class="def record field anchored"><a href="#type-t.resolveProvider" class="anchor"></a><code><span>resolveProvider : <span>bool option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?codeActionKinds</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?resolveProvider</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionParams (linol-lwt.Linol_lwt.CodeActionParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.context" class="def record field anchored"><a href="#type-t.context" class="anchor"></a><code><span>context : <span class="xref-unresolved">Linol_lsp__Types.CodeActionContext.t</span>;</span></code></li><li id="type-t.partialResultToken" class="def record field anchored"><a href="#type-t.partialResultToken" class="anchor"></a><code><span>partialResultToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li><li id="type-t.range" class="def record field anchored"><a href="#type-t.range" class="anchor"></a><code><span>range : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li><li id="type-t.textDocument" class="def record field anchored"><a href="#type-t.textDocument" class="anchor"></a><code><span>textDocument : <span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">context</span>:<span class="xref-unresolved">Linol_lsp__Types.CodeActionContext.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?partialResultToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">range</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">textDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionRegistrationOptions (linol-lwt.Linol_lwt.CodeActionRegistrationOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionRegistrationOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionRegistrationOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.codeActionKinds" class="def record field anchored"><a href="#type-t.codeActionKinds" class="anchor"></a><code><span>codeActionKinds : <span><span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span> option</span>;</span></code></li><li id="type-t.documentSelector" class="def record field anchored"><a href="#type-t.documentSelector" class="anchor"></a><code><span>documentSelector : <span><span><span>[ <span>`TextDocumentFilter of
<span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span>
option</span>;</span></code></li><li id="type-t.resolveProvider" class="def record field anchored"><a href="#type-t.resolveProvider" class="anchor"></a><code><span>resolveProvider : <span>bool option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?codeActionKinds</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CodeActionKind.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?documentSelector</span>:
<span><span>[ <span>`TextDocumentFilter of <span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?resolveProvider</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionResult (linol-lwt.Linol_lwt.CodeActionResult)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionResult</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionResult</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> =
<span><span><span>[ <span>`Command of <span class="xref-unresolved">Linol_lsp__Types.Command.t</span></span>
<span><span>| `CodeAction</span> of <span class="xref-unresolved">Linol_lsp__Types.CodeAction.t</span></span> ]</span>
list</span>
option</span></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeActionTriggerKind (linol-lwt.Linol_lwt.CodeActionTriggerKind)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeActionTriggerKind</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeActionTriggerKind</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Invoked" class="def variant constructor anchored"><a href="#type-t.Invoked" class="anchor"></a><code><span>| </span><span><span class="constructor">Invoked</span></span></code></li><li id="type-t.Automatic" class="def variant constructor anchored"><a href="#type-t.Automatic" class="anchor"></a><code><span>| </span><span><span class="constructor">Automatic</span></span></code></li></ol></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeDescription (linol-lwt.Linol_lwt.CodeDescription)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeDescription</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeDescription</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.href" class="def record field anchored"><a href="#type-t.href" class="anchor"></a><code><span>href : <a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="label">href</span>:<a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeLens (linol-lwt.Linol_lwt.CodeLens)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeLens</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeLens</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.command" class="def record field anchored"><a href="#type-t.command" class="anchor"></a><code><span>command : <span><span class="xref-unresolved">Linol_lsp__Types.Command.t</span> option</span>;</span></code></li><li id="type-t.data" class="def record field anchored"><a href="#type-t.data" class="anchor"></a><code><span>data : <span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> option</span>;</span></code></li><li id="type-t.range" class="def record field anchored"><a href="#type-t.range" class="anchor"></a><code><span>range : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?command</span>:<span class="xref-unresolved">Linol_lsp__Types.Command.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?data</span>:<a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">range</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeLensClientCapabilities (linol-lwt.Linol_lwt.CodeLensClientCapabilities)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeLensClientCapabilities</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeLensClientCapabilities</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.dynamicRegistration" class="def record field anchored"><a href="#type-t.dynamicRegistration" class="anchor"></a><code><span>dynamicRegistration : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?dynamicRegistration</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeLensOptions (linol-lwt.Linol_lwt.CodeLensOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeLensOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeLensOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.resolveProvider" class="def record field anchored"><a href="#type-t.resolveProvider" class="anchor"></a><code><span>resolveProvider : <span>bool option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?resolveProvider</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeLensParams (linol-lwt.Linol_lwt.CodeLensParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeLensParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeLensParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.partialResultToken" class="def record field anchored"><a href="#type-t.partialResultToken" class="anchor"></a><code><span>partialResultToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li><li id="type-t.textDocument" class="def record field anchored"><a href="#type-t.textDocument" class="anchor"></a><code><span>textDocument : <span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?partialResultToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">textDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeLensRegistrationOptions (linol-lwt.Linol_lwt.CodeLensRegistrationOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeLensRegistrationOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeLensRegistrationOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.documentSelector" class="def record field anchored"><a href="#type-t.documentSelector" class="anchor"></a><code><span>documentSelector : <span><span><span>[ <span>`TextDocumentFilter of
<span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span>
option</span>;</span></code></li><li id="type-t.resolveProvider" class="def record field anchored"><a href="#type-t.resolveProvider" class="anchor"></a><code><span>resolveProvider : <span>bool option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?documentSelector</span>:
<span><span>[ <span>`TextDocumentFilter of <span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?resolveProvider</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CodeLensWorkspaceClientCapabilities (linol-lwt.Linol_lwt.CodeLensWorkspaceClientCapabilities)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CodeLensWorkspaceClientCapabilities</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CodeLensWorkspaceClientCapabilities</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.refreshSupport" class="def record field anchored"><a href="#type-t.refreshSupport" class="anchor"></a><code><span>refreshSupport : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?refreshSupport</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Color (linol-lwt.Linol_lwt.Color)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; Color</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.Color</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.alpha" class="def record field anchored"><a href="#type-t.alpha" class="anchor"></a><code><span>alpha : int;</span></code></li><li id="type-t.blue" class="def record field anchored"><a href="#type-t.blue" class="anchor"></a><code><span>blue : int;</span></code></li><li id="type-t.green" class="def record field anchored"><a href="#type-t.green" class="anchor"></a><code><span>green : int;</span></code></li><li id="type-t.red" class="def record field anchored"><a href="#type-t.red" class="anchor"></a><code><span>red : int;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="label">alpha</span>:int <span class="arrow">&#45;&gt;</span></span> <span><span class="label">blue</span>:int <span class="arrow">&#45;&gt;</span></span> <span><span class="label">green</span>:int <span class="arrow">&#45;&gt;</span></span> <span><span class="label">red</span>:int <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ColorInformation (linol-lwt.Linol_lwt.ColorInformation)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ColorInformation</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ColorInformation</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.color" class="def record field anchored"><a href="#type-t.color" class="anchor"></a><code><span>color : <span class="xref-unresolved">Linol_lsp__Types.Color.t</span>;</span></code></li><li id="type-t.range" class="def record field anchored"><a href="#type-t.range" class="anchor"></a><code><span>range : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">color</span>:<span class="xref-unresolved">Linol_lsp__Types.Color.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">range</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ColorPresentation (linol-lwt.Linol_lwt.ColorPresentation)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ColorPresentation</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ColorPresentation</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.additionalTextEdits" class="def record field anchored"><a href="#type-t.additionalTextEdits" class="anchor"></a><code><span>additionalTextEdits : <span><span><span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span> list</span> option</span>;</span></code></li><li id="type-t.label" class="def record field anchored"><a href="#type-t.label" class="anchor"></a><code><span>label : string;</span></code></li><li id="type-t.textEdit" class="def record field anchored"><a href="#type-t.textEdit" class="anchor"></a><code><span>textEdit : <span><span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?additionalTextEdits</span>:<span><span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">label</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?textEdit</span>:<span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ColorPresentationParams (linol-lwt.Linol_lwt.ColorPresentationParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ColorPresentationParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ColorPresentationParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.color" class="def record field anchored"><a href="#type-t.color" class="anchor"></a><code><span>color : <span class="xref-unresolved">Linol_lsp__Types.Color.t</span>;</span></code></li><li id="type-t.partialResultToken" class="def record field anchored"><a href="#type-t.partialResultToken" class="anchor"></a><code><span>partialResultToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li><li id="type-t.range" class="def record field anchored"><a href="#type-t.range" class="anchor"></a><code><span>range : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li><li id="type-t.textDocument" class="def record field anchored"><a href="#type-t.textDocument" class="anchor"></a><code><span>textDocument : <span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">color</span>:<span class="xref-unresolved">Linol_lsp__Types.Color.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?partialResultToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">range</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">textDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Command (linol-lwt.Linol_lwt.Command)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; Command</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.Command</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.arguments" class="def record field anchored"><a href="#type-t.arguments" class="anchor"></a><code><span>arguments : <span><span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> list</span> option</span>;</span></code></li><li id="type-t.command" class="def record field anchored"><a href="#type-t.command" class="anchor"></a><code><span>command : string;</span></code></li><li id="type-t.title" class="def record field anchored"><a href="#type-t.title" class="anchor"></a><code><span>title : string;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?arguments</span>:<span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">command</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">title</span>:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionClientCapabilities (linol-lwt.Linol_lwt.CompletionClientCapabilities)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionClientCapabilities</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionClientCapabilities</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-completionList"><a href="#type-completionList" class="anchor"></a><code><span><span class="keyword">type</span> completionList</span><span> = </span><span>{</span></code><ol><li id="type-completionList.itemDefaults" class="def record field anchored"><a href="#type-completionList.itemDefaults" class="anchor"></a><code><span>itemDefaults : <span><span>string list</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_completionList"><a href="#val-create_completionList" class="anchor"></a><code><span><span class="keyword">val</span> create_completionList : <span><span class="optlabel">?itemDefaults</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-completionList">completionList</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-completionItemKind"><a href="#type-completionItemKind" class="anchor"></a><code><span><span class="keyword">type</span> completionItemKind</span><span> = </span><span>{</span></code><ol><li id="type-completionItemKind.valueSet" class="def record field anchored"><a href="#type-completionItemKind.valueSet" class="anchor"></a><code><span>valueSet : <span><span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemKind.t</span> list</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_completionItemKind"><a href="#val-create_completionItemKind" class="anchor"></a><code><span><span class="keyword">val</span> create_completionItemKind :
<span><span class="optlabel">?valueSet</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemKind.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-completionItemKind">completionItemKind</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-insertTextModeSupport"><a href="#type-insertTextModeSupport" class="anchor"></a><code><span><span class="keyword">type</span> insertTextModeSupport</span><span> = </span><span>{</span></code><ol><li id="type-insertTextModeSupport.valueSet" class="def record field anchored"><a href="#type-insertTextModeSupport.valueSet" class="anchor"></a><code><span>valueSet : <span><span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_insertTextModeSupport"><a href="#val-create_insertTextModeSupport" class="anchor"></a><code><span><span class="keyword">val</span> create_insertTextModeSupport :
<span><span class="label">valueSet</span>:<span><span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-insertTextModeSupport">insertTextModeSupport</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-resolveSupport"><a href="#type-resolveSupport" class="anchor"></a><code><span><span class="keyword">type</span> resolveSupport</span><span> = </span><span>{</span></code><ol><li id="type-resolveSupport.properties" class="def record field anchored"><a href="#type-resolveSupport.properties" class="anchor"></a><code><span>properties : <span>string list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_resolveSupport"><a href="#val-create_resolveSupport" class="anchor"></a><code><span><span class="keyword">val</span> create_resolveSupport : <span><span class="label">properties</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-resolveSupport">resolveSupport</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-tagSupport"><a href="#type-tagSupport" class="anchor"></a><code><span><span class="keyword">type</span> tagSupport</span><span> = </span><span>{</span></code><ol><li id="type-tagSupport.valueSet" class="def record field anchored"><a href="#type-tagSupport.valueSet" class="anchor"></a><code><span>valueSet : <span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemTag.t</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_tagSupport"><a href="#val-create_tagSupport" class="anchor"></a><code><span><span class="keyword">val</span> create_tagSupport :
<span><span class="label">valueSet</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemTag.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-tagSupport">tagSupport</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-completionItem"><a href="#type-completionItem" class="anchor"></a><code><span><span class="keyword">type</span> completionItem</span><span> = </span><span>{</span></code><ol><li id="type-completionItem.snippetSupport" class="def record field anchored"><a href="#type-completionItem.snippetSupport" class="anchor"></a><code><span>snippetSupport : <span>bool option</span>;</span></code></li><li id="type-completionItem.commitCharactersSupport" class="def record field anchored"><a href="#type-completionItem.commitCharactersSupport" class="anchor"></a><code><span>commitCharactersSupport : <span>bool option</span>;</span></code></li><li id="type-completionItem.documentationFormat" class="def record field anchored"><a href="#type-completionItem.documentationFormat" class="anchor"></a><code><span>documentationFormat : <span><span><span class="xref-unresolved">Linol_lsp__Types.MarkupKind.t</span> list</span> option</span>;</span></code></li><li id="type-completionItem.deprecatedSupport" class="def record field anchored"><a href="#type-completionItem.deprecatedSupport" class="anchor"></a><code><span>deprecatedSupport : <span>bool option</span>;</span></code></li><li id="type-completionItem.preselectSupport" class="def record field anchored"><a href="#type-completionItem.preselectSupport" class="anchor"></a><code><span>preselectSupport : <span>bool option</span>;</span></code></li><li id="type-completionItem.tagSupport" class="def record field anchored"><a href="#type-completionItem.tagSupport" class="anchor"></a><code><span>tagSupport : <span><a href="#type-tagSupport">tagSupport</a> option</span>;</span></code></li><li id="type-completionItem.insertReplaceSupport" class="def record field anchored"><a href="#type-completionItem.insertReplaceSupport" class="anchor"></a><code><span>insertReplaceSupport : <span>bool option</span>;</span></code></li><li id="type-completionItem.resolveSupport" class="def record field anchored"><a href="#type-completionItem.resolveSupport" class="anchor"></a><code><span>resolveSupport : <span><a href="#type-resolveSupport">resolveSupport</a> option</span>;</span></code></li><li id="type-completionItem.insertTextModeSupport" class="def record field anchored"><a href="#type-completionItem.insertTextModeSupport" class="anchor"></a><code><span>insertTextModeSupport : <span><a href="#type-insertTextModeSupport">insertTextModeSupport</a> option</span>;</span></code></li><li id="type-completionItem.labelDetailsSupport" class="def record field anchored"><a href="#type-completionItem.labelDetailsSupport" class="anchor"></a><code><span>labelDetailsSupport : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_completionItem"><a href="#val-create_completionItem" class="anchor"></a><code><span><span class="keyword">val</span> create_completionItem :
<span><span class="optlabel">?snippetSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?commitCharactersSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?documentationFormat</span>:<span><span class="xref-unresolved">Linol_lsp__Types.MarkupKind.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?deprecatedSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?preselectSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?tagSupport</span>:<a href="#type-tagSupport">tagSupport</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertReplaceSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?resolveSupport</span>:<a href="#type-resolveSupport">resolveSupport</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertTextModeSupport</span>:<a href="#type-insertTextModeSupport">insertTextModeSupport</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?labelDetailsSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-completionItem">completionItem</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.completionItem" class="def record field anchored"><a href="#type-t.completionItem" class="anchor"></a><code><span>completionItem : <span><a href="#type-completionItem">completionItem</a> option</span>;</span></code></li><li id="type-t.completionItemKind" class="def record field anchored"><a href="#type-t.completionItemKind" class="anchor"></a><code><span>completionItemKind : <span><a href="#type-completionItemKind">completionItemKind</a> option</span>;</span></code></li><li id="type-t.completionList" class="def record field anchored"><a href="#type-t.completionList" class="anchor"></a><code><span>completionList : <span><a href="#type-completionList">completionList</a> option</span>;</span></code></li><li id="type-t.contextSupport" class="def record field anchored"><a href="#type-t.contextSupport" class="anchor"></a><code><span>contextSupport : <span>bool option</span>;</span></code></li><li id="type-t.dynamicRegistration" class="def record field anchored"><a href="#type-t.dynamicRegistration" class="anchor"></a><code><span>dynamicRegistration : <span>bool option</span>;</span></code></li><li id="type-t.insertTextMode" class="def record field anchored"><a href="#type-t.insertTextMode" class="anchor"></a><code><span>insertTextMode : <span><span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?completionItem</span>:<a href="#type-completionItem">completionItem</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?completionItemKind</span>:<a href="#type-completionItemKind">completionItemKind</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?completionList</span>:<a href="#type-completionList">completionList</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?contextSupport</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?dynamicRegistration</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertTextMode</span>:<span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionContext (linol-lwt.Linol_lwt.CompletionContext)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionContext</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionContext</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.triggerCharacter" class="def record field anchored"><a href="#type-t.triggerCharacter" class="anchor"></a><code><span>triggerCharacter : <span>string option</span>;</span></code></li><li id="type-t.triggerKind" class="def record field anchored"><a href="#type-t.triggerKind" class="anchor"></a><code><span>triggerKind : <span class="xref-unresolved">Linol_lsp__Types.CompletionTriggerKind.t</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?triggerCharacter</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">triggerKind</span>:<span class="xref-unresolved">Linol_lsp__Types.CompletionTriggerKind.t</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionItem (linol-lwt.Linol_lwt.CompletionItem)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionItem</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionItem</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.additionalTextEdits" class="def record field anchored"><a href="#type-t.additionalTextEdits" class="anchor"></a><code><span>additionalTextEdits : <span><span><span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span> list</span> option</span>;</span></code></li><li id="type-t.command" class="def record field anchored"><a href="#type-t.command" class="anchor"></a><code><span>command : <span><span class="xref-unresolved">Linol_lsp__Types.Command.t</span> option</span>;</span></code></li><li id="type-t.commitCharacters" class="def record field anchored"><a href="#type-t.commitCharacters" class="anchor"></a><code><span>commitCharacters : <span><span>string list</span> option</span>;</span></code></li><li id="type-t.data" class="def record field anchored"><a href="#type-t.data" class="anchor"></a><code><span>data : <span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> option</span>;</span></code></li><li id="type-t.deprecated" class="def record field anchored"><a href="#type-t.deprecated" class="anchor"></a><code><span>deprecated : <span>bool option</span>;</span></code></li><li id="type-t.detail" class="def record field anchored"><a href="#type-t.detail" class="anchor"></a><code><span>detail : <span>string option</span>;</span></code></li><li id="type-t.documentation" class="def record field anchored"><a href="#type-t.documentation" class="anchor"></a><code><span>documentation : <span><span>[ <span>`String of string</span>
<span><span>| `MarkupContent</span> of <span class="xref-unresolved">Linol_lsp__Types.MarkupContent.t</span></span> ]</span>
option</span>;</span></code></li><li id="type-t.filterText" class="def record field anchored"><a href="#type-t.filterText" class="anchor"></a><code><span>filterText : <span>string option</span>;</span></code></li><li id="type-t.insertText" class="def record field anchored"><a href="#type-t.insertText" class="anchor"></a><code><span>insertText : <span>string option</span>;</span></code></li><li id="type-t.insertTextFormat" class="def record field anchored"><a href="#type-t.insertTextFormat" class="anchor"></a><code><span>insertTextFormat : <span><span class="xref-unresolved">Linol_lsp__Types.InsertTextFormat.t</span> option</span>;</span></code></li><li id="type-t.insertTextMode" class="def record field anchored"><a href="#type-t.insertTextMode" class="anchor"></a><code><span>insertTextMode : <span><span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> option</span>;</span></code></li><li id="type-t.kind" class="def record field anchored"><a href="#type-t.kind" class="anchor"></a><code><span>kind : <span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemKind.t</span> option</span>;</span></code></li><li id="type-t.label" class="def record field anchored"><a href="#type-t.label" class="anchor"></a><code><span>label : string;</span></code></li><li id="type-t.labelDetails" class="def record field anchored"><a href="#type-t.labelDetails" class="anchor"></a><code><span>labelDetails : <span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemLabelDetails.t</span> option</span>;</span></code></li><li id="type-t.preselect" class="def record field anchored"><a href="#type-t.preselect" class="anchor"></a><code><span>preselect : <span>bool option</span>;</span></code></li><li id="type-t.sortText" class="def record field anchored"><a href="#type-t.sortText" class="anchor"></a><code><span>sortText : <span>string option</span>;</span></code></li><li id="type-t.tags" class="def record field anchored"><a href="#type-t.tags" class="anchor"></a><code><span>tags : <span><span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemTag.t</span> list</span> option</span>;</span></code></li><li id="type-t.textEdit" class="def record field anchored"><a href="#type-t.textEdit" class="anchor"></a><code><span>textEdit : <span><span>[ <span>`TextEdit of <span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span></span>
<span><span>| `InsertReplaceEdit</span> of <span class="xref-unresolved">Linol_lsp__Types.InsertReplaceEdit.t</span></span> ]</span>
option</span>;</span></code></li><li id="type-t.textEditText" class="def record field anchored"><a href="#type-t.textEditText" class="anchor"></a><code><span>textEditText : <span>string option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?additionalTextEdits</span>:<span><span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?command</span>:<span class="xref-unresolved">Linol_lsp__Types.Command.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?commitCharacters</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?data</span>:<a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?deprecated</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?detail</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?documentation</span>:
<span>[ <span>`String of string</span> <span><span>| `MarkupContent</span> of <span class="xref-unresolved">Linol_lsp__Types.MarkupContent.t</span></span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?filterText</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertText</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertTextFormat</span>:<span class="xref-unresolved">Linol_lsp__Types.InsertTextFormat.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertTextMode</span>:<span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?kind</span>:<span class="xref-unresolved">Linol_lsp__Types.CompletionItemKind.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">label</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?labelDetails</span>:<span class="xref-unresolved">Linol_lsp__Types.CompletionItemLabelDetails.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?preselect</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?sortText</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?tags</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CompletionItemTag.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?textEdit</span>:
<span>[ <span>`TextEdit of <span class="xref-unresolved">Linol_lsp__Types.TextEdit.t</span></span>
<span><span>| `InsertReplaceEdit</span> of <span class="xref-unresolved">Linol_lsp__Types.InsertReplaceEdit.t</span></span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?textEditText</span>:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionItemLabelDetails (linol-lwt.Linol_lwt.CompletionItemLabelDetails)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionItemLabelDetails</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionItemLabelDetails</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.description" class="def record field anchored"><a href="#type-t.description" class="anchor"></a><code><span>description : <span>string option</span>;</span></code></li><li id="type-t.detail" class="def record field anchored"><a href="#type-t.detail" class="anchor"></a><code><span>detail : <span>string option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?description</span>:string <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?detail</span>:string <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionItemTag (linol-lwt.Linol_lwt.CompletionItemTag)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionItemTag</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionItemTag</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Deprecated" class="def variant constructor anchored"><a href="#type-t.Deprecated" class="anchor"></a><code><span>| </span><span><span class="constructor">Deprecated</span></span></code></li></ol></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionList (linol-lwt.Linol_lwt.CompletionList)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionList</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionList</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-editRange"><a href="#type-editRange" class="anchor"></a><code><span><span class="keyword">type</span> editRange</span><span> = </span><span>{</span></code><ol><li id="type-editRange.insert" class="def record field anchored"><a href="#type-editRange.insert" class="anchor"></a><code><span>insert : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li><li id="type-editRange.replace" class="def record field anchored"><a href="#type-editRange.replace" class="anchor"></a><code><span>replace : <span class="xref-unresolved">Linol_lsp__Types.Range.t</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_editRange"><a href="#val-create_editRange" class="anchor"></a><code><span><span class="keyword">val</span> create_editRange :
<span><span class="label">insert</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">replace</span>:<span class="xref-unresolved">Linol_lsp__Types.Range.t</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-editRange">editRange</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-itemDefaults"><a href="#type-itemDefaults" class="anchor"></a><code><span><span class="keyword">type</span> itemDefaults</span><span> = </span><span>{</span></code><ol><li id="type-itemDefaults.commitCharacters" class="def record field anchored"><a href="#type-itemDefaults.commitCharacters" class="anchor"></a><code><span>commitCharacters : <span><span>string list</span> option</span>;</span></code></li><li id="type-itemDefaults.editRange" class="def record field anchored"><a href="#type-itemDefaults.editRange" class="anchor"></a><code><span>editRange : <span><span>[ <span>`Range of <span class="xref-unresolved">Linol_lsp__Types.Range.t</span></span> <span><span>| `EditRange</span> of <a href="#type-editRange">editRange</a></span> ]</span>
option</span>;</span></code></li><li id="type-itemDefaults.insertTextFormat" class="def record field anchored"><a href="#type-itemDefaults.insertTextFormat" class="anchor"></a><code><span>insertTextFormat : <span><span class="xref-unresolved">Linol_lsp__Types.InsertTextFormat.t</span> option</span>;</span></code></li><li id="type-itemDefaults.insertTextMode" class="def record field anchored"><a href="#type-itemDefaults.insertTextMode" class="anchor"></a><code><span>insertTextMode : <span><span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> option</span>;</span></code></li><li id="type-itemDefaults.data" class="def record field anchored"><a href="#type-itemDefaults.data" class="anchor"></a><code><span>data : <span><a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_itemDefaults"><a href="#val-create_itemDefaults" class="anchor"></a><code><span><span class="keyword">val</span> create_itemDefaults :
<span><span class="optlabel">?commitCharacters</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?editRange</span>:<span>[ <span>`Range of <span class="xref-unresolved">Linol_lsp__Types.Range.t</span></span> <span><span>| `EditRange</span> of <a href="#type-editRange">editRange</a></span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertTextFormat</span>:<span class="xref-unresolved">Linol_lsp__Types.InsertTextFormat.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?insertTextMode</span>:<span class="xref-unresolved">Linol_lsp__Types.InsertTextMode.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?data</span>:<a href="../../../linol/Linol_lsp/Import/Json/index.html#type-t">Linol_lsp.Import.Json.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-itemDefaults">itemDefaults</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.isIncomplete" class="def record field anchored"><a href="#type-t.isIncomplete" class="anchor"></a><code><span>isIncomplete : bool;</span></code></li><li id="type-t.itemDefaults" class="def record field anchored"><a href="#type-t.itemDefaults" class="anchor"></a><code><span>itemDefaults : <span><a href="#type-itemDefaults">itemDefaults</a> option</span>;</span></code></li><li id="type-t.items" class="def record field anchored"><a href="#type-t.items" class="anchor"></a><code><span>items : <span><span class="xref-unresolved">Linol_lsp__Types.CompletionItem.t</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="label">isIncomplete</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?itemDefaults</span>:<a href="#type-itemDefaults">itemDefaults</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">items</span>:<span><span class="xref-unresolved">Linol_lsp__Types.CompletionItem.t</span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionOptions (linol-lwt.Linol_lwt.CompletionOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-completionItem"><a href="#type-completionItem" class="anchor"></a><code><span><span class="keyword">type</span> completionItem</span><span> = </span><span>{</span></code><ol><li id="type-completionItem.labelDetailsSupport" class="def record field anchored"><a href="#type-completionItem.labelDetailsSupport" class="anchor"></a><code><span>labelDetailsSupport : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_completionItem"><a href="#val-create_completionItem" class="anchor"></a><code><span><span class="keyword">val</span> create_completionItem : <span><span class="optlabel">?labelDetailsSupport</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-completionItem">completionItem</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.allCommitCharacters" class="def record field anchored"><a href="#type-t.allCommitCharacters" class="anchor"></a><code><span>allCommitCharacters : <span><span>string list</span> option</span>;</span></code></li><li id="type-t.completionItem" class="def record field anchored"><a href="#type-t.completionItem" class="anchor"></a><code><span>completionItem : <span><a href="#type-completionItem">completionItem</a> option</span>;</span></code></li><li id="type-t.resolveProvider" class="def record field anchored"><a href="#type-t.resolveProvider" class="anchor"></a><code><span>resolveProvider : <span>bool option</span>;</span></code></li><li id="type-t.triggerCharacters" class="def record field anchored"><a href="#type-t.triggerCharacters" class="anchor"></a><code><span>triggerCharacters : <span><span>string list</span> option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?allCommitCharacters</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?completionItem</span>:<a href="#type-completionItem">completionItem</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?resolveProvider</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?triggerCharacters</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionParams (linol-lwt.Linol_lwt.CompletionParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.context" class="def record field anchored"><a href="#type-t.context" class="anchor"></a><code><span>context : <span><span class="xref-unresolved">Linol_lsp__Types.CompletionContext.t</span> option</span>;</span></code></li><li id="type-t.partialResultToken" class="def record field anchored"><a href="#type-t.partialResultToken" class="anchor"></a><code><span>partialResultToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li><li id="type-t.position" class="def record field anchored"><a href="#type-t.position" class="anchor"></a><code><span>position : <span class="xref-unresolved">Linol_lsp__Types.Position.t</span>;</span></code></li><li id="type-t.textDocument" class="def record field anchored"><a href="#type-t.textDocument" class="anchor"></a><code><span>textDocument : <span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?context</span>:<span class="xref-unresolved">Linol_lsp__Types.CompletionContext.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?partialResultToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">position</span>:<span class="xref-unresolved">Linol_lsp__Types.Position.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">textDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionRegistrationOptions (linol-lwt.Linol_lwt.CompletionRegistrationOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionRegistrationOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionRegistrationOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-completionItem"><a href="#type-completionItem" class="anchor"></a><code><span><span class="keyword">type</span> completionItem</span><span> = </span><span>{</span></code><ol><li id="type-completionItem.labelDetailsSupport" class="def record field anchored"><a href="#type-completionItem.labelDetailsSupport" class="anchor"></a><code><span>labelDetailsSupport : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create_completionItem"><a href="#val-create_completionItem" class="anchor"></a><code><span><span class="keyword">val</span> create_completionItem : <span><span class="optlabel">?labelDetailsSupport</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-completionItem">completionItem</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.allCommitCharacters" class="def record field anchored"><a href="#type-t.allCommitCharacters" class="anchor"></a><code><span>allCommitCharacters : <span><span>string list</span> option</span>;</span></code></li><li id="type-t.completionItem" class="def record field anchored"><a href="#type-t.completionItem" class="anchor"></a><code><span>completionItem : <span><a href="#type-completionItem">completionItem</a> option</span>;</span></code></li><li id="type-t.documentSelector" class="def record field anchored"><a href="#type-t.documentSelector" class="anchor"></a><code><span>documentSelector : <span><span><span>[ <span>`TextDocumentFilter of
<span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span>
option</span>;</span></code></li><li id="type-t.resolveProvider" class="def record field anchored"><a href="#type-t.resolveProvider" class="anchor"></a><code><span>resolveProvider : <span>bool option</span>;</span></code></li><li id="type-t.triggerCharacters" class="def record field anchored"><a href="#type-t.triggerCharacters" class="anchor"></a><code><span>triggerCharacters : <span><span>string list</span> option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?allCommitCharacters</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?completionItem</span>:<a href="#type-completionItem">completionItem</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?documentSelector</span>:
<span><span>[ <span>`TextDocumentFilter of <span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?resolveProvider</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?triggerCharacters</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompletionTriggerKind (linol-lwt.Linol_lwt.CompletionTriggerKind)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CompletionTriggerKind</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CompletionTriggerKind</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Invoked" class="def variant constructor anchored"><a href="#type-t.Invoked" class="anchor"></a><code><span>| </span><span><span class="constructor">Invoked</span></span></code></li><li id="type-t.TriggerCharacter" class="def variant constructor anchored"><a href="#type-t.TriggerCharacter" class="anchor"></a><code><span>| </span><span><span class="constructor">TriggerCharacter</span></span></code></li><li id="type-t.TriggerForIncompleteCompletions" class="def variant constructor anchored"><a href="#type-t.TriggerForIncompleteCompletions" class="anchor"></a><code><span>| </span><span><span class="constructor">TriggerForIncompleteCompletions</span></span></code></li></ol></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ConfigurationItem (linol-lwt.Linol_lwt.ConfigurationItem)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ConfigurationItem</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ConfigurationItem</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.scopeUri" class="def record field anchored"><a href="#type-t.scopeUri" class="anchor"></a><code><span>scopeUri : <span><a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a> option</span>;</span></code></li><li id="type-t.section" class="def record field anchored"><a href="#type-t.section" class="anchor"></a><code><span>section : <span>string option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?scopeUri</span>:<a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?section</span>:string <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ConfigurationParams (linol-lwt.Linol_lwt.ConfigurationParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; ConfigurationParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.ConfigurationParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.items" class="def record field anchored"><a href="#type-t.items" class="anchor"></a><code><span>items : <span><span class="xref-unresolved">Linol_lsp__Types.ConfigurationItem.t</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="label">items</span>:<span><span class="xref-unresolved">Linol_lsp__Types.ConfigurationItem.t</span> list</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CreateFile (linol-lwt.Linol_lwt.CreateFile)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CreateFile</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CreateFile</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.annotationId" class="def record field anchored"><a href="#type-t.annotationId" class="anchor"></a><code><span>annotationId : <span>string option</span>;</span></code></li><li id="type-t.options" class="def record field anchored"><a href="#type-t.options" class="anchor"></a><code><span>options : <span><span class="xref-unresolved">Linol_lsp__Types.CreateFileOptions.t</span> option</span>;</span></code></li><li id="type-t.uri" class="def record field anchored"><a href="#type-t.uri" class="anchor"></a><code><span>uri : <a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?annotationId</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?options</span>:<span class="xref-unresolved">Linol_lsp__Types.CreateFileOptions.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">uri</span>:<a href="../../../linol/Linol_lsp/Uri0/index.html#type-t">Linol_lsp.Uri0.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CreateFileOptions (linol-lwt.Linol_lwt.CreateFileOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CreateFileOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CreateFileOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.ignoreIfExists" class="def record field anchored"><a href="#type-t.ignoreIfExists" class="anchor"></a><code><span>ignoreIfExists : <span>bool option</span>;</span></code></li><li id="type-t.overwrite" class="def record field anchored"><a href="#type-t.overwrite" class="anchor"></a><code><span>overwrite : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?ignoreIfExists</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?overwrite</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CreateFilesParams (linol-lwt.Linol_lwt.CreateFilesParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; CreateFilesParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.CreateFilesParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.files" class="def record field anchored"><a href="#type-t.files" class="anchor"></a><code><span>files : <span><span class="xref-unresolved">Linol_lsp__Types.FileCreate.t</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="label">files</span>:<span><span class="xref-unresolved">Linol_lsp__Types.FileCreate.t</span> list</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Declaration (linol-lwt.Linol_lwt.Declaration)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; Declaration</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.Declaration</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>[ </span></code><ol><li id="type-t.Location" class="def variant constructor anchored"><a href="#type-t.Location" class="anchor"></a><code><span>| </span><span>`Location <span class="keyword">of</span> <span class="xref-unresolved">Linol_lsp__Types.Location.t</span></span></code></li><li id="type-t.List" class="def variant constructor anchored"><a href="#type-t.List" class="anchor"></a><code><span>| </span><span>`List <span class="keyword">of</span> <span><span class="xref-unresolved">Linol_lsp__Types.Location.t</span> list</span></span></code></li></ol><code><span> ]</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>DeclarationClientCapabilities (linol-lwt.Linol_lwt.DeclarationClientCapabilities)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; DeclarationClientCapabilities</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.DeclarationClientCapabilities</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.dynamicRegistration" class="def record field anchored"><a href="#type-t.dynamicRegistration" class="anchor"></a><code><span>dynamicRegistration : <span>bool option</span>;</span></code></li><li id="type-t.linkSupport" class="def record field anchored"><a href="#type-t.linkSupport" class="anchor"></a><code><span>linkSupport : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?dynamicRegistration</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?linkSupport</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>DeclarationLink (linol-lwt.Linol_lwt.DeclarationLink)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; DeclarationLink</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.DeclarationLink</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>DeclarationOptions (linol-lwt.Linol_lwt.DeclarationOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; DeclarationOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.DeclarationOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create : <span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>DeclarationParams (linol-lwt.Linol_lwt.DeclarationParams)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; DeclarationParams</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.DeclarationParams</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.partialResultToken" class="def record field anchored"><a href="#type-t.partialResultToken" class="anchor"></a><code><span>partialResultToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li><li id="type-t.position" class="def record field anchored"><a href="#type-t.position" class="anchor"></a><code><span>position : <span class="xref-unresolved">Linol_lsp__Types.Position.t</span>;</span></code></li><li id="type-t.textDocument" class="def record field anchored"><a href="#type-t.textDocument" class="anchor"></a><code><span>textDocument : <span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span>;</span></code></li><li id="type-t.workDoneToken" class="def record field anchored"><a href="#type-t.workDoneToken" class="anchor"></a><code><span>workDoneToken : <span><span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?partialResultToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">position</span>:<span class="xref-unresolved">Linol_lsp__Types.Position.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">textDocument</span>:<span class="xref-unresolved">Linol_lsp__Types.TextDocumentIdentifier.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneToken</span>:<span>[ <span>`Int of int</span> <span><span>| `String</span> of string</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>DeclarationRegistrationOptions (linol-lwt.Linol_lwt.DeclarationRegistrationOptions)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; DeclarationRegistrationOptions</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.DeclarationRegistrationOptions</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.documentSelector" class="def record field anchored"><a href="#type-t.documentSelector" class="anchor"></a><code><span>documentSelector : <span><span><span>[ <span>`TextDocumentFilter of
<span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span>
option</span>;</span></code></li><li id="type-t.id" class="def record field anchored"><a href="#type-t.id" class="anchor"></a><code><span>id : <span>string option</span>;</span></code></li><li id="type-t.workDoneProgress" class="def record field anchored"><a href="#type-t.workDoneProgress" class="anchor"></a><code><span>workDoneProgress : <span>bool option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?documentSelector</span>:
<span><span>[ <span>`TextDocumentFilter of <span class="xref-unresolved">Linol_lsp__Types.TextDocumentFilter.t</span></span>
<span><span>| `NotebookCellTextDocumentFilter</span> of
<span class="xref-unresolved">Linol_lsp__Types.NotebookCellTextDocumentFilter.t</span></span> ]</span>
list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?id</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?workDoneProgress</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Definition (linol-lwt.Linol_lwt.Definition)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">linol-lwt</a> &#x00BB; <a href="../index.html">Linol_lwt</a> &#x00BB; Definition</nav><header class="odoc-preamble"><h1>Module <code><span>Linol_lwt.Definition</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>[ </span></code><ol><li id="type-t.Location" class="def variant constructor anchored"><a href="#type-t.Location" class="anchor"></a><code><span>| </span><span>`Location <span class="keyword">of</span> <span class="xref-unresolved">Linol_lsp__Types.Location.t</span></span></code></li><li id="type-t.List" class="def variant constructor anchored"><a href="#type-t.List" class="anchor"></a><code><span>| </span><span>`List <span class="keyword">of</span> <span><span class="xref-unresolved">Linol_lsp__Types.Location.t</span> list</span></span></code></li></ol><code><span> ]</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html">Linol_lsp.Import.Json.Jsonable.S</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../ppx_yojson_conv_lib/Ppx_yojson_conv_lib/Yojsonable/module-type-S/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_yojson"><a href="#val-t_of_yojson" class="anchor"></a><code><span><span class="keyword">val</span> t_of_yojson : <span><a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../yojson/Yojson/Safe/index.html#type-t">Yojson.Safe.t</a></span></code></div></div></details></div></div></body></html>

Some files were not shown because too many files have changed in this diff Show more