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.0 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__SourceFiles (infer.IR__SourceFiles)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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; IR__SourceFiles</nav><h1>Module <code>IR__SourceFiles</code></h1></header><dl><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val</span> add : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../IR/Cfg/index.html#type-t">IR.Cfg.t</a> <span>&#45;&gt;</span> <a href="../IR/Tenv/index.html#type-per_file">IR.Tenv.per_file</a> <span>&#45;&gt;</span> <span><a href="../IR/Typ/IntegerWidths/index.html#type-t">IR.Typ.IntegerWidths.t</a> option</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Add or replace the row corresponding to the source file into the database.</p></dd></dl><dl><dt class="spec value" id="val-get_all"><a href="#val-get_all" class="anchor"></a><code><span class="keyword">val</span> get_all : <span>filter:<a href="../IR/Filtering/index.html#type-source_files_filter">IR.Filtering.source_files_filter</a></span> <span>&#45;&gt;</span> unit <span>&#45;&gt;</span> <span><a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> list</span></code></dt><dd><p>get all the source files in the database</p></dd></dl><dl><dt class="spec value" id="val-proc_names_of_source"><a href="#val-proc_names_of_source" class="anchor"></a><code><span class="keyword">val</span> proc_names_of_source : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <span><a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> list</span></code></dt><dd><p>list of all the proc names (declared and defined) found in a source file</p></dd></dl><dl><dt class="spec value" id="val-get_procs_in_file"><a href="#val-get_procs_in_file" class="anchor"></a><code><span class="keyword">val</span> get_procs_in_file : <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> <span><a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> list</span></code></dt><dd><p>return the list of procedures in the file where the given procedure name was defined</p></dd></dl><dl><dt class="spec value" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><code><span class="keyword">val</span> is_empty : unit <span>&#45;&gt;</span> bool</code></dt><dd><p>whether there exists at least one captured source file</p></dd></dl><dl><dt class="spec value" id="val-is_freshly_captured"><a href="#val-is_freshly_captured" class="anchor"></a><code><span class="keyword">val</span> is_freshly_captured : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>whether the source file was captured in the last capture phase</p></dd></dl><dl><dt class="spec value" id="val-mark_all_stale"><a href="#val-mark_all_stale" class="anchor"></a><code><span class="keyword">val</span> mark_all_stale : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>mark all source files as stale; do be called at the start of a new capture phase</p></dd></dl><dl><dt class="spec value" id="val-pp_all"><a href="#val-pp_all" class="anchor"></a><code><span class="keyword">val</span> pp_all : <span>filter:<a href="../IR/Filtering/index.html#type-source_files_filter">IR.Filtering.source_files_filter</a></span> <span>&#45;&gt;</span> <span>type_environment:bool</span> <span>&#45;&gt;</span> <span>procedure_names:bool</span> <span>&#45;&gt;</span> <span>freshly_captured:bool</span> <span>&#45;&gt;</span> Stdlib.Format.formatter <span>&#45;&gt;</span> unit <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>