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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Nullsafe__AnnotatedSignature (infer.Nullsafe__AnnotatedSignature)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><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; Nullsafe__AnnotatedSignature</nav><h1>Module <code>Nullsafe__AnnotatedSignature</code></h1><p>Method signature with annotations.</p></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.nullsafe_mode" class="anchored"><td class="def field"><a href="#type-t.nullsafe_mode" class="anchor"></a><code>nullsafe_mode : <a href="../Nullsafe/NullsafeMode/index.html#type-t">Nullsafe.NullsafeMode.t</a>;</code></td></tr><tr id="type-t.kind" class="anchored"><td class="def field"><a href="#type-t.kind" class="anchor"></a><code>kind : <a href="index.html#type-kind">kind</a>;</code></td></tr><tr id="type-t.ret" class="anchored"><td class="def field"><a href="#type-t.ret" class="anchor"></a><code>ret : <a href="index.html#type-ret_signature">ret_signature</a>;</code></td></tr><tr id="type-t.params" class="anchored"><td class="def field"><a href="#type-t.params" class="anchor"></a><code>params : <span><a href="index.html#type-param_signature">param_signature</a> list</span>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-ret_signature"><a href="#type-ret_signature" class="anchor"></a><code><span class="keyword">and</span> ret_signature</code><code> = </code><code>{</code><table class="record"><tr id="type-ret_signature.ret_annotation_deprecated" class="anchored"><td class="def field"><a href="#type-ret_signature.ret_annotation_deprecated" class="anchor"></a><code>ret_annotation_deprecated : <a href="../IR/Annot/Item/index.html#type-t">IR.Annot.Item.t</a>;</code></td></tr><tr id="type-ret_signature.ret_annotated_type" class="anchored"><td class="def field"><a href="#type-ret_signature.ret_annotated_type" class="anchor"></a><code>ret_annotated_type : <a href="../Nullsafe/AnnotatedType/index.html#type-t">Nullsafe.AnnotatedType.t</a>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-param_signature"><a href="#type-param_signature" class="anchor"></a><code><span class="keyword">and</span> param_signature</code><code> = </code><code>{</code><table class="record"><tr id="type-param_signature.param_annotation_deprecated" class="anchored"><td class="def field"><a href="#type-param_signature.param_annotation_deprecated" class="anchor"></a><code>param_annotation_deprecated : <a href="../IR/Annot/Item/index.html#type-t">IR.Annot.Item.t</a>;</code></td></tr><tr id="type-param_signature.mangled" class="anchored"><td class="def field"><a href="#type-param_signature.mangled" class="anchor"></a><code>mangled : <a href="../IR/Mangled/index.html#type-t">IR.Mangled.t</a>;</code></td></tr><tr id="type-param_signature.param_annotated_type" class="anchored"><td class="def field"><a href="#type-param_signature.param_annotated_type" class="anchor"></a><code>param_annotated_type : <a href="../Nullsafe/AnnotatedType/index.html#type-t">Nullsafe.AnnotatedType.t</a>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-kind"><a href="#type-kind" class="anchor"></a><code><span class="keyword">and</span> kind</code><code> = </code><table class="variant"><tr id="type-kind.FirstParty" class="anchored"><td class="def constructor"><a href="#type-kind.FirstParty" class="anchor"></a><code>| </code><code><span class="constructor">FirstParty</span></code></td><td class="doc"><p>Code under control. Its nullability should be expressed via annotations.</p></td></tr><tr id="type-kind.ThirdParty" class="anchored"><td class="def constructor"><a hr