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>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Predicates (InferIR.InferIR__Sil.Predicates)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc %%VERSION%%"/><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">InferIR</a>»<ahref="../index.html">InferIR__Sil</a>» Predicates</nav><h1>Module <code>InferIR__Sil.Predicates</code></h1><p>Module Predicates records the occurrences of predicates as parameters of (doubly -)linked lists and Epara. Provides unique numbering for predicates and an iterator.</p></header><dl><dtclass="spec type"id="type-env"><ahref="#type-env"class="anchor"></a><code><spanclass="keyword">type</span> env</code></dt><dd><p>predicate environment</p></dd></dl><dl><dtclass="spec value"id="val-empty_env"><ahref="#val-empty_env"class="anchor"></a><code><spanclass="keyword">val</span> empty_env : unit <span>-></span><ahref="index.html#type-env">env</a></code></dt><dd><p>create an empty predicate environment</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 : <ahref="index.html#type-env">env</a><span>-></span> bool</code></dt><dd><p>return true if the environment is empty</p></dd></dl><dl><dtclass="spec value"id="val-iter"><ahref="#val-iter"class="anchor"></a><code><spanclass="keyword">val</span> iter : <ahref="index.html#type-env">env</a><span>-></span><span>(int <span>-></span><ahref="../index.html#type-hpara">hpara</a><span>-></span> unit)</span><span>-></span><span>(int <span>-></span><ahref="../index.html#type-hpara_dll">hpara_dll</a><span>-></span> unit)</span><span>-></span> unit</code></dt><dd><p><code>iter env f f_dll</code> iterates <code>f</code> and <code>f_dll</code> on all the hpara and hpara_dll, passing the unique id to the functions. The iterator can only be used once.</p></dd></dl><dl><dtclass="spec value"id="val-process_hpred"><ahref="#val-process_hpred"class="anchor"></a><code><spanclass="keyword">val</span> process_hpred : <ahref="index.html#type-env">env</a><span>-></span><ahref="../index.html#type-hpred">hpred</a><span>-></span> unit</code></dt><dd><p>Process one hpred, updating the predicate environment</p></dd></dl></div></body></html>