This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden 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>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Models (infer.InferModules.Models)</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">infer</a>»<ahref="../index.html">InferModules</a>» Models</nav><h1>Module <code>InferModules.Models</code></h1></header><divclass="spec module"id="module-Hashtbl"><ahref="#module-Hashtbl"class="anchor"></a><code><spanclass="keyword">module</span> Hashtbl = <ahref="../../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Caml.Hashtbl</code></div><aside><p>Module for standard library models.</p></aside><dl><dtclass="spec value"id="val-match_method_name"><ahref="#val-match_method_name"class="anchor"></a><code><spanclass="keyword">val</span> match_method_name : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span><ahref="../../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.String.t <span>-></span> bool</code></dt><dtclass="spec value"id="val-table_has_procedure"><ahref="#val-table_has_procedure"class="anchor"></a><code><spanclass="keyword">val</span> table_has_procedure : <span><span>(string,<spanclass="type-var">'a</span>)</span><ahref="index.html#module-Hashtbl">Hashtbl</a>.t</span><span>-></span><ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-get_modelled_annotated_signature"><ahref="#val-get_modelled_annotated_signature"class="anchor"></a><code><spanclass="keyword">val</span> get_modelled_annotated_signature : <ahref="../../../InferIR/InferIR/ProcAttributes/index.html#type-t">InferIR.ProcAttributes.t</a><span>-></span><ahref="../AnnotatedSignature/index.html#type-t">AnnotatedSignature.t</a></code></dt><dd><p>Return the annotated signature of the procedure, taking into account models.</p></dd></dl><dl><dtclass="spec value"id="val-is_modelled_nullable"><ahref="#val-is_modelled_nullable"class="anchor"></a><code><spanclass="keyword">val</span> is_modelled_nullable : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Return true when the procedure has been modelled for nullable.</p></dd></dl><dl><dtclass="spec value"id="val-is_check_not_null"><ahref="#val-is_check_not_null"class="anchor"></a><code><spanclass="keyword">val</span> is_check_not_null : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure is one of the known Preconditions.checkNotNull.</p></dd></dl><dl><dtclass="spec value"id="val-get_check_not_null_parameter"><ahref="#val-get_check_not_null_parameter"class="anchor"></a><code><spanclass="keyword">val</span> get_check_not_null_parameter : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span><span>int option</span></code></dt><dd><p>Parameter number for a procedure known to be a checkNotNull</p></dd></dl><dl><dtclass="spec value"id="val-is_check_state"><ahref="#val-is_check_state"class="anchor"></a><code><spanclass="keyword">val</span> is_check_state : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure is one of the known Preconditions.checkState.</p></dd></dl><dl><dtclass="spec value"id="val-is_check_argument"><ahref="#val-is_check_argument"class="anchor"></a><code><spanclass="keyword">val</span> is_check_argument : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure is one of the known Preconditions.checkArgument.</p></dd></dl><dl><dtclass="spec value"id="val-is_noreturn"><ahref="#val-is_noreturn"class="anchor"></a><code><spanclass="keyword">val</span> is_noreturn : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure does not return.</p></dd></dl><dl><dtclass="spec value"id="val-is_optional_get"><ahref="#val-is_optional_get"class="anchor"></a><code><spanclass="keyword">val</span> is_optional_get : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure is Optional.get().</p></dd></dl><dl><dtclass="spec value"id="val-is_optional_isPresent"><ahref="#val-is_optional_isPresent"class="anchor"></a><code><spanclass="keyword">val</span> is_optional_isPresent : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure is Optional.isPresent().</p></dd></dl><dl><dtclass="spec value"id="val-is_true_on_null"><ahref="#val-is_true_on_null"class="anchor"></a><code><spanclass="keyword">val</span> is_true_on_null : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure returns true on null.</p></dd></dl><dl><dtclass="spec value"id="val-is_containsKey"><ahref="#val-is_containsKey"class="anchor"></a><code><spanclass="keyword">val</span> is_containsKey : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure is Map.containsKey().</p></dd></dl><dl><dtclass="spec value"id="val-is_mapPut"><ahref="#val-is_mapPut"class="anchor"></a><code><spanclass="keyword">val</span> is_mapPut : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span> bool</code></dt><dd><p>Check if the procedure is Map.put().</p></dd></dl></div></body></html>