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
2.9 KiB
2 lines
2.9 KiB
5 years ago
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferIR__Unop (InferIR.InferIR__Unop)</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> — <span class="package">package <a href="../index.html">InferIR</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferIR__Unop</span></h1></header><p>The Smallfoot Intermediate Language: Unary Operators</p><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><table class="variant"><tr id="type-t.Neg" class="anchored"><td class="def constructor"><a href="#type-t.Neg" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Neg</span></code></td><td class="doc"><p>(** Unary minus *)</p></td></tr><tr id="type-t.BNot" class="anchored"><td class="def constructor"><a href="#type-t.BNot" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BNot</span></code></td><td class="doc"><p>(** Bitwise complement (~) *)</p></td></tr><tr id="type-t.LNot" class="anchored"><td class="def constructor"><a href="#type-t.LNot" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">LNot</span></code></td><td class="doc"><p>(** Logical Not (!) *)</p></td></tr></table><code></code></div><div class="doc"><p>Unary operations</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"><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">‑></span> <a href="index.html#type-t">t</a> <span class="keyword">‑></span> int</code></div><div class="doc"></div></div></details></div><div class="spec val" id="val-equal"><a href="#val-equal" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal : <a href="index.html#type-t">t</a> <span class="keyword">‑></span> <a href="index.html#type-t">t</a> <span class="keyword">‑></span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-to_string"><a href="#val-to_string" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>to_string : <a href="index.html#type-t">t</a> <span class="keyword">‑></span> string</code></div><div class="doc"><p>String representation of a unary operator.</p></div></div></body></html>
|