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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Struct (infer.IR.Struct)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">IR</a> &#x00BB; Struct</nav><h1>Module <code>IR.Struct</code></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><code><span class="keyword">module</span> F = Stdlib.Format</code></div><dl><dt class="spec type" id="type-field"><a href="#type-field" class="anchor"></a><code><span class="keyword">type</span> field</code><code> = <a href="../Fieldname/index.html#type-t">Fieldname.t</a> * <a href="../Typ/index.html#type-t">Typ.t</a> * <a href="../Annot/Item/index.html#type-t">Annot.Item.t</a></code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare_field"><a href="#val-compare_field" class="anchor"></a><code><span class="keyword">val</span> compare_field : <a href="index.html#type-field">field</a> <span>&#45;&gt;</span> <a href="index.html#type-field">field</a> <span>&#45;&gt;</span> int</code></dt></dl></div></div></div><dl><dt class="spec type" id="type-fields"><a href="#type-fields" class="anchor"></a><code><span class="keyword">type</span> fields</code><code> = <span><a href="index.html#type-field">field</a> list</span></code></dt><dt class="spec type" id="type-java_class_kind"><a href="#type-java_class_kind" class="anchor"></a><code><span class="keyword">type</span> java_class_kind</code><code> = </code><table class="variant"><tr id="type-java_class_kind.Interface" class="anchored"><td class="def constructor"><a href="#type-java_class_kind.Interface" class="anchor"></a><code>| </code><code><span class="constructor">Interface</span></code></td></tr><tr id="type-java_class_kind.AbstractClass" class="anchored"><td class="def constructor"><a href="#type-java_class_kind.AbstractClass" class="anchor"></a><code>| </code><code><span class="constructor">AbstractClass</span></code></td></tr><tr id="type-java_class_kind.NormalClass" class="anchored"><td class="def constructor"><a href="#type-java_class_kind.NormalClass" class="anchor"></a><code>| </code><code><span class="constructor">NormalClass</span></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-equal_java_class_kind"><a href="#val-equal_java_class_kind" class="anchor"></a><code><span class="keyword">val</span> equal_java_class_kind : <a href="index.html#type-java_class_kind">java_class_kind</a> <span>&#45;&gt;</span> <a href="index.html#type-java_class_kind">java_class_kind</a> <span>&#45;&gt;</span> bool</code></dt></dl></div></div></div><dl><dt class="spec type" id="type-java_class_info"><a href="#type-java_class_info" class="anchor"></a><code><span class="keyword">type</span> java_class_info</code><code> = </code><code>{</code><table class="record"><tr id="type-java_class_info.kind" class="anchored"><td class="def field"><a href="#type-java_class_info.kind" class="anchor"></a><code>kind : <a href="index.html#type-java_class_kind">java_class_kind</a>;</code></td><td class="doc"><p>class kind in Java</p></td></tr><tr id="type-java_class_info.loc" class="anchored"><td class="def field"><a href="#type-java_class_info.loc" class="anchor"></a><code>loc : <span><a href="../../IBase/Location/index.html#type-t">IBase.Location.t</a> option</span>;</code></td><td class="doc"><p>None should correspond to rare cases when it was impossible to fetch the location in source file</p></td></tr></table><code>}</code></dt><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.fields" class="an