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>ModelTables (infer.Nullsafe.ModelTables)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><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">Nullsafe</a>» ModelTables</nav><h1>Module <code>Nullsafe.ModelTables</code></h1></header><dl><dtclass="spec type"id="type-model_table_t"><ahref="#type-model_table_t"class="anchor"></a><code><spanclass="keyword">type</span> model_table_t</code><code> = <span><span>(string,bool * <span>bool list</span>)</span><ahref="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Hashtbl.t</span></code></dt></dl><dl><dtclass="spec value"id="val-annotated_table_nullability"><ahref="#val-annotated_table_nullability"class="anchor"></a><code><spanclass="keyword">val</span> annotated_table_nullability : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt><dtclass="spec value"id="val-check_not_null_table"><ahref="#val-check_not_null_table"class="anchor"></a><code><spanclass="keyword">val</span> check_not_null_table : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt><dd><p>List of methods known to perform a non-nullable assertion</p></dd></dl><dl><dtclass="spec value"id="val-check_not_null_parameter_table"><ahref="#val-check_not_null_parameter_table"class="anchor"></a><code><spanclass="keyword">val</span> check_not_null_parameter_table : <span><span>(string,int)</span><ahref="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Hashtbl.t</span></code></dt><dd><p>The key is a string representation of a method known to perform a non-nullable assertion. The value is an index (starting from 1) of an argument which nullability is being asserted.</p></dd></dl><dl><dtclass="spec value"id="val-check_state_table"><ahref="#val-check_state_table"class="anchor"></a><code><spanclass="keyword">val</span> check_state_table : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt><dtclass="spec value"id="val-check_argument_table"><ahref="#val-check_argument_table"class="anchor"></a><code><spanclass="keyword">val</span> check_argument_table : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt><dtclass="spec value"id="val-containsKey_table"><ahref="#val-containsKey_table"class="anchor"></a><code><spanclass="keyword">val</span> containsKey_table : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt><dtclass="spec value"id="val-mapPut_table"><ahref="#val-mapPut_table"class="anchor"></a><code><spanclass="keyword">val</span> mapPut_table : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt><dtclass="spec value"id="val-noreturn_table"><ahref="#val-noreturn_table"class="anchor"></a><code><spanclass="keyword">val</span> noreturn_table : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt><dtclass="spec value"id="val-true_on_null_table"><ahref="#val-true_on_null_table"class="anchor"></a><code><spanclass="keyword">val</span> true_on_null_table : <ahref="index.html#type-model_table_t">model_table_t</a></code></dt></dl><dl><dtclass="spec type"id="type-nonnull_alternative_method"><ahref="#type-nonnull_alternative_method"class="anchor"></a><code><spanclass="keyword">type</span> nonnull_alternative_method</code><code> = </code><code>{</code><tableclass="record"><trid="type-nonnull_alternative_method.package_name"class="anchored"><tdclass="def field"><ahref="#type-nonnull_alternative_method.package_name"class="anchor"></a><code>package_name : string;</code></td></tr><trid="type-nonnull_alternative_method.class_name"class="anchored"><tdclass="def field"><ahref="#type-nonnull_alternative_method.class_name"class="anchor"></a><code>class_name : string;</code></td></tr><trid="type-nonnull_alternative_method.method_name"class="anchored"><tdclass="def field"><ahref="#type-nonnull_alternative_method.method_name"class="anchor"></a><code>method_name : string;</code></td></tr></table><code>}</code></dt><dd><p>Used to describe a method complementary to a given one. Contains information needed for reporting (hence does not describe the whole signature).</p></dd></dl><dl><dtclass="spec value"id="val-nonnull_alternatives_table"><ahref="#val-nonnull_alternatives_table"class="anchor"></a><code><spanclass="keyword">val</span> nonnull_alternatives_table : <span><span>(string,<ahref="index.html#type-nonnull_alternative_method">nonnull_alternative_method</a>)</span><ahref="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Hashtbl.t</span></code></dt><dd><p>The key is a string representation of a <code>@Nullable</code> method. The value is the description of non-nullable alternative: a method does the same, but never returns null (does a null check inside).</p></dd></dl><dl><dtclass="spec value"id="val-field_nullability_table"><ahref="#val-field_nullability_table"class="anchor"></a><code><spanclass="keyword">val</span> field_nullability_table : <span><span>(string,bool)</span><ahref="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Hashtbl.t</span></code></dt><dd><p>Table of known fields whos nullability is explicitly modelled. Keys are field full names; value <code>true</code> means nullable</p></dd></dl></div></body></html>