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.2 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__Propgraph (infer.InferModules__Propgraph)</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">infer</a> &#x00BB; InferModules__Propgraph</nav><h1>Module <code>InferModules__Propgraph</code></h1><p>Propositions seen as graphs</p></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> <span>'a t</span></code></dt><dd><p>prop considered as a graph</p></dd></dl><dl><dt class="spec value" id="val-from_prop"><a href="#val-from_prop" class="anchor"></a><code><span class="keyword">val</span> from_prop : <span><span class="type-var">'a</span> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></span></code></dt><dd><p>create a graph from a prop</p></dd></dl><dl><dt class="spec type" id="type-diff"><a href="#type-diff" class="anchor"></a><code><span class="keyword">type</span> <span>'a diff</span></code></dt><dd><p>Graph annotated with the differences w.r.t. a previous graph</p></dd></dl><dl><dt class="spec value" id="val-compute_diff"><a href="#val-compute_diff" class="anchor"></a><code><span class="keyword">val</span> compute_diff : <a href="../../InferStdlib/InferStdlib/Pp/index.html#type-color">InferStdlib.Pp.color</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-diff">diff</a></span></code></dt><dd><p><code>compute_diff default_color oldgraph newgraph</code> returns the list of edges which are only in <code>newgraph</code></p></dd></dl><dl><dt class="spec value" id="val-diff_get_colormap"><a href="#val-diff_get_colormap" class="anchor"></a><code><span class="keyword">val</span> diff_get_colormap : bool <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-diff">diff</a></span> <span>&#45;&gt;</span> <a href="../../InferStdlib/InferStdlib/Pp/index.html#type-colormap">InferStdlib.Pp.colormap</a></code></dt><dd><p><code>diff_get_colormap footprint_part diff</code> returns the colormap of a computed diff, selecting the footprint colormap if <code>footprint_part</code> is true.</p></dd></dl><dl><dt class="spec value" id="val-pp_proplist"><a href="#val-pp_proplist" class="anchor"></a><code><span class="keyword">val</span> pp_proplist : <a href="../../InferStdlib/InferStdlib/Pp/index.html#type-env">InferStdlib.Pp.env</a> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <span>(<span><span class="type-var">'a</span> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> * bool)</span> <span>&#45;&gt;</span> Stdlib.Format.formatter <span>&#45;&gt;</span> <span><span><span class="type-var">'b</span> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> list</span> <span>&#45;&gt;</span> unit</code></dt><dd><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></dd></dl><dl><dt class="spec value" id="val-d_proplist"><a href="#val-d_proplist" class="anchor"></a><code><span class="keyword">val</span> d_proplist : <span><span class="type-var">'a</span> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> <span>&#45;&gt;</span> <span><span><span class="type-var">'b</span> <a href="../InferModules/Prop/index.html#type-t">InferModules.Pro