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
6.2 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__Models (infer.InferModules__Models)</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__Models</nav><h1>Module <code>InferModules__Models</code></h1></header><div class="spec module" id="module-Hashtbl"><a href="#module-Hashtbl" class="anchor"></a><code><span class="keyword">module</span> Hashtbl = <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Caml.Hashtbl</code></div><aside><p>Module for standard library models.</p></aside><dl><dt class="spec value" id="val-match_method_name"><a href="#val-match_method_name" class="anchor"></a><code><span class="keyword">val</span> match_method_name : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.String.t <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-table_has_procedure"><a href="#val-table_has_procedure" class="anchor"></a><code><span class="keyword">val</span> table_has_procedure : <span><span>(string, <span class="type-var">'a</span>)</span> <a href="index.html#module-Hashtbl">Hashtbl</a>.t</span> <span>&#45;&gt;</span> <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-get_modelled_annotated_signature"><a href="#val-get_modelled_annotated_signature" class="anchor"></a><code><span class="keyword">val</span> get_modelled_annotated_signature : <a href="../../InferIR/InferIR/ProcAttributes/index.html#type-t">InferIR.ProcAttributes.t</a> <span>&#45;&gt;</span> <a href="../InferModules/AnnotatedSignature/index.html#type-t">InferModules.AnnotatedSignature.t</a></code></dt><dd><p>Return the annotated signature of the procedure, taking into account models.</p></dd></dl><dl><dt class="spec value" id="val-is_modelled_nullable"><a href="#val-is_modelled_nullable" class="anchor"></a><code><span class="keyword">val</span> is_modelled_nullable : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Return true when the procedure has been modelled for nullable.</p></dd></dl><dl><dt class="spec value" id="val-is_check_not_null"><a href="#val-is_check_not_null" class="anchor"></a><code><span class="keyword">val</span> is_check_not_null : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Check if the procedure is one of the known Preconditions.checkNotNull.</p></dd></dl><dl><dt class="spec value" id="val-get_check_not_null_parameter"><a href="#val-get_check_not_null_parameter" class="anchor"></a><code><span class="keyword">val</span> get_check_not_null_parameter : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <span>int option</span></code></dt><dd><p>Parameter number for a procedure known to be a checkNotNull</p></dd></dl><dl><dt class="spec value" id="val-is_check_state"><a href="#val-is_check_state" class="anchor"></a><code><span class="keyword">val</span> is_check_state : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Check if the procedure is one of the known Preconditions.checkState.</p></dd></dl><dl><dt class="spec value" id="val-is_check_argument"><a href="#val-is_check_argument" class="anchor"></a><code><span class="keyword">val</span> is_check_argument : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">I