You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
32 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferIR__Localise (InferIR.InferIR__Localise)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">InferIR</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferIR__Localise</span></h1></header><p>Support for localisation</p><div class="spec module" id="module-Tags"><a href="#module-Tags" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Tags/index.html">Tags</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec type" id="type-error_desc"><a href="#type-error_desc" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>error_desc</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-error_desc.descriptions" class="anchored"><td class="def field"><a href="#type-error_desc.descriptions" class="anchor"></a><code>descriptions : string list;</code></td></tr><tr id="type-error_desc.tags" class="anchored"><td class="def field"><a href="#type-error_desc.tags" class="anchor"></a><code>tags : <a href="Tags/index.html#type-t">Tags.t</a>;</code></td></tr><tr id="type-error_desc.dotty" class="anchored"><td class="def field"><a href="#type-error_desc.dotty" class="anchor"></a><code>dotty : string option;</code></td></tr></table><code>}</code><code></code></div><div class="doc"><p>description field of error messages</p></div></div><div class="spec include"><div class="doc"></div><details open="open"><summary><span class="def"><code><span class="keyword">include </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><div class="spec val" id="val-compare_error_desc"><a href="#val-compare_error_desc" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare_error_desc : <a href="index.html#type-error_desc">error_desc</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-error_desc">error_desc</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div></details></div><div class="spec val" id="val-no_desc"><a href="#val-no_desc" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>no_desc : <a href="index.html#type-error_desc">error_desc</a></code></div><div class="doc"><p>empty error description</p></div></div><div class="spec val" id="val-verbatim_desc"><a href="#val-verbatim_desc" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>verbatim_desc : string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-error_desc">error_desc</a></code></div><div class="doc"><p>verbatim desc from a string, not to be used for user-visible descs</p></div></div><div class="spec val" id="val-custom_desc"><a href="#val-custom_desc" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>custom_desc : string <span class="keyword">&#8209;&gt;</span> (string<span class="keyword"> * </span>string) list <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-error_desc">error_desc</a></code></div><div class="doc"><p>verbatim desc with custom tags</p></div></div><div class="spec module" id="module-BucketLevel"><a href="#module-BucketLevel" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="BucketLevel/index.html">BucketLevel</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec val" id="val-error_desc_extract_tag_value"><a href="#val-error_desc_extract_tag_value" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>error_desc_