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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__Tenv (infer.IR__Tenv)</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> » IR__Tenv</nav><h1>Module <code>IR__Tenv</code></h1></header><aside><p>Module for Type Environments.</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt><dd><p>Type for type environment.</p></dd></dl><dl><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val</span> create : unit <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>Create a new type environment.</p></dd></dl><dl><dt class="spec value" id="val-load"><a href="#val-load" class="anchor"></a><code><span class="keyword">val</span> load : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>-></span> <span><a href="index.html#type-t">t</a> option</span></code></dt><dd><p>Load a type environment for a source file</p></dd></dl><dl><dt class="spec value" id="val-store_debug_file_for_source"><a href="#val-store_debug_file_for_source" class="anchor"></a><code><span class="keyword">val</span> store_debug_file_for_source : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dt class="spec value" id="val-read"><a href="#val-read" class="anchor"></a><code><span class="keyword">val</span> read : <a href="../IBase/DB/index.html#type-filename">IBase.DB.filename</a> <span>-></span> <span><a href="index.html#type-t">t</a> option</span></code></dt><dd><p>read and return a type environment from the given file</p></dd></dl><dl><dt class="spec value" id="val-load_global"><a href="#val-load_global" class="anchor"></a><code><span class="keyword">val</span> load_global : unit <span>-></span> <span><a href="index.html#type-t">t</a> option</span></code></dt><dd><p>load the global type environment (Java)</p></dd></dl><dl><dt class="spec value" id="val-store_global"><a href="#val-store_global" class="anchor"></a><code><span class="keyword">val</span> store_global : <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dd><p>save a global type environment (Java)</p></dd></dl><dl><dt class="spec value" id="val-lookup"><a href="#val-lookup" class="anchor"></a><code><span class="keyword">val</span> lookup : <a href="index.html#type-t">t</a> <span>-></span> <a href="../IR/Typ/Name/index.html#type-t">IR.Typ.Name.t</a> <span>-></span> <span><a href="../IR/Struct/index.html#type-t">IR.Struct.t</a> option</span></code></dt><dd><p>Look up a name in the global type environment.</p></dd></dl><dl><dt class="spec value" id="val-mk_struct"><a href="#val-mk_struct" class="anchor"></a><code><span class="keyword">val</span> mk_struct : <a href="index.html#type-t">t</a> <span>-></span> <span>?⁠default:<a href="../IR/Struct/index.html#type-t">IR.Struct.t</a></span> <span>-></span> <span>?⁠fields:<a href="../IR/Struct/index.html#type-fields">IR.Struct.fields</a></span> <span>-></span> <span>?⁠statics:<a href="../IR/Struct/index.html#type-fields">IR.Struct.fields</a></span> <span>-></span> <span>?⁠methods:<span><a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> list</span></span> <span>-></span> <span>?⁠exported_objc_methods:<span><a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> list</span></span> <span>-></span> <span>?⁠supers:<span><a href="../IR/Typ/Name/index.html#type-t">IR.Typ.Name.t</a> list</span></span> <span>-></span> <span>?⁠annots:<a href="../IR/Ann
|