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.1 KiB
2 lines
4.1 KiB
5 years ago
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferIR__SourceFiles (InferIR.InferIR__SourceFiles)</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__SourceFiles</span></h1></header><div class="spec val" id="val-add"><a href="#val-add" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>add : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> <a href="../InferIR/Cfg/index.html#type-t">InferIR.Cfg.t</a> <span class="keyword">‑></span> <a href="../InferIR/Tenv/index.html#type-per_file">InferIR.Tenv.per_file</a> <span class="keyword">‑></span> unit</code></div><div class="doc"><p>Add or replace the row corresponding to the source file into the database.</p></div></div><div class="spec val" id="val-get_all"><a href="#val-get_all" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>get_all : unit <span class="keyword">‑></span> <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> list</code></div><div class="doc"><p>get all the source files in the database</p></div></div><div class="spec val" id="val-proc_names_of_source"><a href="#val-proc_names_of_source" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>proc_names_of_source : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> <a href="../InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> list</code></div><div class="doc"><p>list of all the proc names (declared and defined) found in a source file</p></div></div><div class="spec val" id="val-is_captured"><a href="#val-is_captured" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_captured : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> bool</code></div><div class="doc"><p>has the source file been captured?</p></div></div><div class="spec val" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_empty : unit <span class="keyword">‑></span> bool</code></div><div class="doc"><p>whether there exists at least one captured source file</p></div></div><div class="spec val" id="val-is_freshly_captured"><a href="#val-is_freshly_captured" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_freshly_captured : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> bool</code></div><div class="doc"><p>whether the source file was captured in the last capture phase</p></div></div><div class="spec val" id="val-mark_all_stale"><a href="#val-mark_all_stale" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>mark_all_stale : unit <span class="keyword">‑></span> unit</code></div><div class="doc"><p>mark all source files as stale; do be called at the start of a new capture phase</p></div></div><div class="spec val" id="val-pp_all"><a href="#val-pp_all" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp_all : ?⁠filter:string <span class="keyword">‑></span> cfgs:bool <span class="keyword">‑></span> type_environment:bool <span class="keyword">‑></span> procedure_names:bool <span class="keyword">‑></span> freshly_captured:bool <span class="keyword">‑></span> Format.formatter <span class="keyword">‑></span> unit
|