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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Nullsafe__ThirdPartyAnnotationInfo (infer.Nullsafe__ThirdPartyAnnotationInfo)</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> &#x00BB; Nullsafe__ThirdPartyAnnotationInfo</nav><h1>Module <code>Nullsafe__ThirdPartyAnnotationInfo</code></h1></header><aside><p>In-memory storage the information about nullability annotation of third-party methods.</p></aside><dl><dt class="spec type" id="type-signature_info"><a href="#type-signature_info" class="anchor"></a><code><span class="keyword">type</span> signature_info</code><code> = </code><code>{</code><table class="record"><tr id="type-signature_info.filename" class="anchored"><td class="def field"><a href="#type-signature_info.filename" class="anchor"></a><code>filename : string;</code></td><td class="doc"><p>File where the particular signature is stored</p></td></tr><tr id="type-signature_info.line_number" class="anchored"><td class="def field"><a href="#type-signature_info.line_number" class="anchor"></a><code>line_number : int;</code></td><td class="doc"><p>Line number with this signature</p></td></tr><tr id="type-signature_info.nullability" class="anchored"><td class="def field"><a href="#type-signature_info.nullability" class="anchor"></a><code>nullability : <a href="../Nullsafe/ThirdPartyMethod/index.html#type-nullability">Nullsafe.ThirdPartyMethod.nullability</a>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-storage"><a href="#type-storage" class="anchor"></a><code><span class="keyword">type</span> storage</code></dt></dl><dl><dt class="spec value" id="val-create_storage"><a href="#val-create_storage" class="anchor"></a><code><span class="keyword">val</span> create_storage : unit <span>&#45;&gt;</span> <a href="index.html#type-storage">storage</a></code></dt></dl><dl><dt class="spec type" id="type-file_parsing_error"><a href="#type-file_parsing_error" class="anchor"></a><code><span class="keyword">type</span> file_parsing_error</code><code> = </code><code>{</code><table class="record"><tr id="type-file_parsing_error.line_number" class="anchored"><td class="def field"><a href="#type-file_parsing_error.line_number" class="anchor"></a><code>line_number : int;</code></td></tr><tr id="type-file_parsing_error.unparsable_method" class="anchored"><td class="def field"><a href="#type-file_parsing_error.unparsable_method" class="anchor"></a><code>unparsable_method : string;</code></td></tr><tr id="type-file_parsing_error.parsing_error" class="anchored"><td class="def field"><a href="#type-file_parsing_error.parsing_error" class="anchor"></a><code>parsing_error : <a href="../Nullsafe/ThirdPartyMethod/index.html#type-parsing_error">Nullsafe.ThirdPartyMethod.parsing_error</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-pp_parsing_error"><a href="#val-pp_parsing_error" class="anchor"></a><code><span class="keyword">val</span> pp_parsing_error : Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-file_parsing_error">file_parsing_error</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-add_from_signature_file"><a href="#val-add_from_signature_file" class="anchor"></a><code><span class="keyword">val</span> add_from_signature_file : <a href="index.html#type-storage">storage</a> <span>&#45;&gt;</span> <span>filename:string</span> <span>&#45;&gt;</span> <span>lines:<span>string list</span></span> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-storage">storage</a>, <a href="index.html#type-file_parsing_error">file_parsing_error</a>)</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.result</span></code></dt><dd><p>Parse the information from the signat