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.
4 lines
3.6 KiB
4 lines
3.6 KiB
5 years ago
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferIR__Attributes (InferIR.InferIR__Attributes)</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__Attributes</span></h1></header><p>Module to manage the table of attributes.</p><div class="spec type" id="type-attributes_kind"><a href="#type-attributes_kind" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>attributes_kind</code><code></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-deserialize_attributes_kind"><a href="#val-deserialize_attributes_kind" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>deserialize_attributes_kind : Sqlite3.Data.t <span class="keyword">‑></span> <a href="index.html#type-attributes_kind">attributes_kind</a></code></div><div class="doc"></div></div><div class="spec val" id="val-store"><a href="#val-store" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>store : <a href="../InferIR/ProcAttributes/index.html#type-t">InferIR.ProcAttributes.t</a> <span class="keyword">‑></span> unit</code></div><div class="doc"><p>Save .attr file for the procedure into the attributes database.</p></div></div><div class="spec val" id="val-load"><a href="#val-load" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>load : <a href="../InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span class="keyword">‑></span> <a href="../InferIR/ProcAttributes/index.html#type-t">InferIR.ProcAttributes.t</a> option</code></div><div class="doc"><p>Load the attributes for the procedure from the attributes database.</p></div></div><div class="spec val" id="val-load_defined"><a href="#val-load_defined" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>load_defined : <a href="../InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span class="keyword">‑></span> <a href="../InferIR/ProcAttributes/index.html#type-t">InferIR.ProcAttributes.t</a> option</code></div><div class="doc"><p>Load attributes for the procedure but only if is_defined is true</p></div></div><div class="spec val" id="val-find_file_capturing_procedure"><a href="#val-find_file_capturing_procedure" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>find_file_capturing_procedure : <a href="../InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span class="keyword">‑></span> (<a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a><span class="keyword"> * </span>[ `Include | `Source ]) option</code></div><div class="doc"><p>Find the file where the procedure was captured, if a cfg for that file exists.
|
||
|
Return also a boolean indicating whether the procedure is defined in an
|
||
|
include file.</p></div></div><div class="spec val" id="val-pp_attributes_kind"><a href="#val-pp_attributes_kind" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp_attributes_kind : Format.formatter <span class="keyword">‑></span> <a href="index.html#type-attributes_kind">attributes_kind</a> <span class="keyword">‑></span> unit</code></div><div class="doc"></div></div></body></html>
|