<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IR__SourceFiles (infer.IR__SourceFiles)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» IR__SourceFiles</nav><h1>Module <code>IR__SourceFiles</code></h1></header><dl><dtclass="spec value"id="val-add"><ahref="#val-add"class="anchor"></a><code><spanclass="keyword">val</span> add : <ahref="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span><ahref="../IR/Cfg/index.html#type-t">IR.Cfg.t</a><span>-></span><ahref="../IR/Tenv/index.html#type-per_file">IR.Tenv.per_file</a><span>-></span><span><ahref="../IR/Typ/IntegerWidths/index.html#type-t">IR.Typ.IntegerWidths.t</a> option</span><span>-></span> unit</code></dt><dd><p>Add or replace the row corresponding to the source file into the database.</p></dd></dl><dl><dtclass="spec value"id="val-get_all"><ahref="#val-get_all"class="anchor"></a><code><spanclass="keyword">val</span> get_all : <span>filter:<ahref="../IR/Filtering/index.html#type-source_files_filter">IR.Filtering.source_files_filter</a></span><span>-></span> unit <span>-></span><span><ahref="../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><dtclass="spec value"id="val-proc_names_of_source"><ahref="#val-proc_names_of_source"class="anchor"></a><code><spanclass="keyword">val</span> proc_names_of_source : <ahref="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span><span><ahref="../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><dtclass="spec value"id="val-get_procs_in_file"><ahref="#val-get_procs_in_file"class="anchor"></a><code><spanclass="keyword">val</span> get_procs_in_file : <ahref="../IR/Procname/index.html#type-t">IR.Procname.t</a><span>-></span><span><ahref="../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><dtclass="spec value"id="val-is_empty"><ahref="#val-is_empty"class="anchor"></a><code><spanclass="keyword">val</span> is_empty : unit <span>-></span> bool</code></dt><dd><p>whether there exists at least one captured source file</p></dd></dl><dl><dtclass="spec value"id="val-is_freshly_captured"><ahref="#val-is_freshly_captured"class="anchor"></a><code><spanclass="keyword">val</span> is_freshly_captured : <ahref="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span> bool</code></dt><dd><p>whether the source file was captured in the last capture phase</p></dd></dl><dl><dtclass="spec value"id="val-mark_all_stale"><ahref="#val-mark_all_stale"class="anchor"></a><code><spanclass="keyword">val</span> mark_all_stale : unit <span>-></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><dtclass="spec value"id="val-pp_all"><ahref="#val-pp_all"class="anchor"></a><code><spanclass="keyword">val</span> pp_all : <span>filter:<ahref="../IR/Filtering/index.html#type-source_files_filter">IR.Filtering.source_files_filter</a></span><span>-></span><span>type_environment:bool</span><span>-></span><span>procedure_names:bool</span><span>-></span><span>freshly_captured:bool</span><span>-></span> Stdlib.Format.formatter <span>-></span> unit <span>-></span> unit</code></dt></dl></div></body></html>