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

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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="generator" content="odoc %%VERSION%%"/><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">InferIR</a> &#x00BB; InferIR__SourceFiles</nav><h1>Module <code>InferIR__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="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../InferIR/Cfg/index.html#type-t">InferIR.Cfg.t</a> <span>&#45;&gt;</span> <a href="../InferIR/Tenv/index.html#type-per_file">InferIR.Tenv.per_file</a> <span>&#45;&gt;</span> <span><a href="../InferIR/Typ/IntegerWidths/index.html#type-t">InferIR.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="../InferIR/Filtering/index.html#type-source_files_filter">InferIR.Filtering.source_files_filter</a></span> <span>&#45;&gt;</span> unit <span>&#45;&gt;</span> <span><a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.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="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <span><a href="../InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.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-is_captured"><a href="#val-is_captured" class="anchor"></a><code><span class="keyword">val</span> is_captured : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>has the source file been captured?</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="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.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="../InferIR/Filtering/index.html#type-source_files_filter">InferIR.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>