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.

6 lines
4.3 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Propgraph (infer.InferModules.Propgraph)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules.Propgraph</span></h1></header><p>Propositions seen as graphs</p><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"><p>prop considered as a graph</p></div></div><div class="spec val" id="val-from_prop"><a href="#val-from_prop" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>from_prop : <a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"><p>create a graph from a prop</p></div></div><div class="spec type" id="type-diff"><a href="#type-diff" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>diff</code><code></code><code></code></div><div class="doc"><p>Graph annotated with the differences w.r.t. a previous graph</p></div></div><div class="spec val" id="val-compute_diff"><a href="#val-compute_diff" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compute_diff : <a href="../../../InferStdlib/InferStdlib/Pp/index.html#type-color">InferStdlib.Pp.color</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-diff">diff</a></code></div><div class="doc"><p><code class="code">compute_diff default_color oldgraph newgraph</code> returns the list of edges
which are only in <code class="code">newgraph</code></p></div></div><div class="spec val" id="val-diff_get_colormap"><a href="#val-diff_get_colormap" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>diff_get_colormap : bool <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-diff">diff</a> <span class="keyword">&#8209;&gt;</span> <a href="../../../InferStdlib/InferStdlib/Pp/index.html#type-colormap">InferStdlib.Pp.colormap</a></code></div><div class="doc"><p><code class="code">diff_get_colormap footprint_part diff</code> returns the colormap of a computed diff,
selecting the footprint colormap if <code class="code">footprint_part</code> is true.</p></div></div><div class="spec val" id="val-pp_proplist"><a href="#val-pp_proplist" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp_proplist : <a href="../../../InferStdlib/InferStdlib/Pp/index.html#type-env">InferStdlib.Pp.env</a> <span class="keyword">&#8209;&gt;</span> string <span class="keyword">&#8209;&gt;</span> (<a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a><span class="keyword"> * </span>bool) <span class="keyword">&#8209;&gt;</span> Format.formatter <span class="keyword">&#8209;&gt;</span> <a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a> list <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Print a list of propositions, prepending each one with the given string,
If !Config.pring_using_diff is true, print the diff w.r.t. the given prop,
extracting its local stack vars if the boolean is true.</p></div></div><div class="spec val" id="val-d_proplist"><a href="#val-d_proplist" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>d_proplist : <span class="type-var">'a</span> <a href="../Prop/index.html#type-t">Prop.t</a> <span class="keyword">&#8209;&gt;</span> <span class="type-var">'b</span> <a href="../Prop/index.html#type-t">Prop.t</a> list <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>dump a prop list coming form the given initial prop</p></div></div></body></html>