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
4.3 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferIR__Annot (InferIR.InferIR__Annot)</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__Annot</span></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>F = Format</code></div><div class="doc"></div></div><div class="spec type" id="type-parameters"><a href="#type-parameters" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>parameters</code><code><span class="keyword"> = </span>string list</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-t.class_name" class="anchored"><td class="def field"><a href="#type-t.class_name" class="anchor"></a><code>class_name : string;</code></td><td class="doc"><p>(** name of the annotation *)</p></td></tr><tr id="type-t.parameters" class="anchored"><td class="def field"><a href="#type-t.parameters" class="anchor"></a><code>parameters : <a href="index.html#type-parameters">parameters</a>;</code></td><td class="doc"><p>(** currently only one string parameter *)</p></td></tr></table><code>}</code><code></code></div><div class="doc"><p>Type to represent one</p><ul class="at-tag"><li><span class="at-tag Annotation">@Annotation</span> .</li></ul></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"><a href="#val-compare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div></details></div><div class="spec val" id="val-volatile"><a href="#val-volatile" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>volatile : <a href="index.html#type-t">t</a></code></div><div class="doc"><p>annotation for fields marked with the &quot;volatile&quot; keyword</p></div></div><div class="spec val" id="val-final"><a href="#val-final" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>final : <a href="index.html#type-t">t</a></code></div><div class="doc"><p>annotation for fields marked with the &quot;final&quot; keyword</p></div></div><div class="spec val" id="val-pp"><a href="#val-pp" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp : <a href="index.html#module-F">F</a>.formatter <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Pretty print an annotation.</p></div></div><div class="spec module" id="module-Item"><a href="#module-Item" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Item/index.html">Item</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-Class"><a href="#module-Class" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="Class/index.html">Class</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></