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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Nullsafe__Models (infer.Nullsafe__Models)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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> » Nullsafe__Models</nav><h1>Module <code>Nullsafe__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="../IStdlib/index.html#module-IStd">IStdlib.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="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>-></span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.String.t <span>-></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>-></span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>-></span> bool</code></dt><dt class="spec value" id="val-get_unique_repr"><a href="#val-get_unique_repr" class="anchor"></a><code><span class="keyword">val</span> get_unique_repr : <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>-></span> <span><a href="../Nullsafe/ThirdPartyMethod/index.html#type-unique_repr">Nullsafe.ThirdPartyMethod.unique_repr</a> option</span></code></dt><dt class="spec value" id="val-to_modelled_nullability"><a href="#val-to_modelled_nullability" class="anchor"></a><code><span class="keyword">val</span> to_modelled_nullability : <a href="../Nullsafe/ThirdPartyMethod/index.html#type-nullability">Nullsafe.ThirdPartyMethod.nullability</a> <span>-></span> bool * <span>bool list</span></code></dt><dt class="spec value" id="val-get_special_method_modelled_nullability"><a href="#val-get_special_method_modelled_nullability" class="anchor"></a><code><span class="keyword">val</span> get_special_method_modelled_nullability : <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>-></span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>-></span> <span><span>(bool * <span>bool list</span>)</span> option</span></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 : <span>is_callee_in_trust_list:bool</span> <span>-></span> <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>-></span> <a href="../IR/ProcAttributes/index.html#type-t">IR.ProcAttributes.t</a> <span>-></span> <a href="../Nullsafe/AnnotatedSignature/index.html#type-t">Nullsafe.AnnotatedSignature.t</a></code></dt><dd><p>Return the annotated signature of the procedure, taking into account models. External models take precedence over internal ones.</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="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>-></span> bool</code></dt><dd><p>Check if the procedure is one of the known methods asserting nullability of the object. Nullsafe should understand that both the argument and return value are non-nullable after the call.</p></dd></dl><dl><dt class="spec value" id="val-get_check_not_null_parameter"><a href="#val-get_check_not_nu
|