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
2.6 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>Predicates (InferIR.InferIR__Sil.Predicates)</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; <a href="../index.html">InferIR__Sil</a> &#x00BB; 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><dt class="spec type" id="type-env"><a href="#type-env" class="anchor"></a><code><span class="keyword">type</span> env</code></dt><dd><p>predicate environment</p></dd></dl><dl><dt class="spec value" id="val-empty_env"><a href="#val-empty_env" class="anchor"></a><code><span class="keyword">val</span> empty_env : unit <span>&#45;&gt;</span> <a href="index.html#type-env">env</a></code></dt><dd><p>create an empty predicate environment</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 : <a href="index.html#type-env">env</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>return true if the environment is empty</p></dd></dl><dl><dt class="spec value" id="val-iter"><a href="#val-iter" class="anchor"></a><code><span class="keyword">val</span> iter : <a href="index.html#type-env">env</a> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="../index.html#type-hpara">hpara</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="../index.html#type-hpara_dll">hpara_dll</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</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><dt class="spec value" id="val-process_hpred"><a href="#val-process_hpred" class="anchor"></a><code><span class="keyword">val</span> process_hpred : <a href="index.html#type-env">env</a> <span>&#45;&gt;</span> <a href="../index.html#type-hpred">hpred</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Process one hpred, updating the predicate environment</p></dd></dl></div></body></html>