<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>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>»<ahref="../index.html">IR</a>» 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="../Cfg/index.html#type-t">Cfg.t</a><span>-></span><ahref="../Tenv/index.html#type-per_file">Tenv.per_file</a><span>-></span><span><ahref="../Typ/IntegerWidths/index.html#type-t">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="../Filtering/index.html#type-source_files_filter">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="../Procname/index.html#type-t">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="../Procname/index.html#type-t">Procname.t</a><span>-></span><span><ahref="../Procname/index.html#type-t">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="../Filtering/index.html#type-source_files_filter">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>