2 lines
4.3 KiB

This file contains ambiguous Unicode 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>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__JavaSplitName (infer.IR__JavaSplitName)</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; IR__JavaSplitName</nav><h1>Module <code>IR__JavaSplitName</code></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><code><span class="keyword">module</span> F = Stdlib.Format</code></div><aside><p>Module for representing a Java type.</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val</span> compare : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val</span> equal : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> bool</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-make"><a href="#val-make" class="anchor"></a><code><span class="keyword">val</span> make : <span>?&#8288;package:string</span> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-of_string"><a href="#val-of_string" class="anchor"></a><code><span class="keyword">val</span> of_string : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>Given a package.type_name string, it looks for the latest dot and splits the string in two (package, rest-of-type-name). If there is no dot symbol, assumes the whole string is a type name. NB the RHS is not just a classname, eg it can be an array type.</p></dd></dl><dl><dt class="spec value" id="val-java_lang_object"><a href="#val-java_lang_object" class="anchor"></a><code><span class="keyword">val</span> java_lang_object : <a href="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.Object</code> type</p></dd></dl><dl><dt class="spec value" id="val-java_lang_object_array"><a href="#val-java_lang_object_array" class="anchor"></a><code><span class="keyword">val</span> java_lang_object_array : <a href="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.Object[]</code> type</p></dd></dl><dl><dt class="spec value" id="val-java_lang_string"><a href="#val-java_lang_string" class="anchor"></a><code><span class="keyword">val</span> java_lang_string : <a href="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.String</code> type</p></dd></dl><dl><dt class="spec value" id="val-java_lang_string_array"><a href="#val-java_lang_string_array" class="anchor"></a><code><span class="keyword">val</span> java_lang_string_array : <a href="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.String[]</code> type</p></dd></dl><dl><dt class="spec value" id="val-void"><a href="#val-void" class="anchor"></a><code><span class="keyword">val</span> void : <a href="index.html#type-t">t</a></code></dt><dd><p>Java <code>void</code> type</p></dd></dl><dl><dt class="spec value" id="val-package"><a href="#val-package" class="anchor"></a><code><span class="keyword">val</span> package : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>string option</span></code></dt><dt class="spec value" id="val-type_name"><a href="#val-type_name" class="anchor"></a><code><span class="keyword">val</span> type_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-pp_type_verbosity"><a href="#val-pp_type_verbosity" class="anchor"></a><code><span class="keyword">val</span> pp_type_verbosity : <span>verbose:bool</span> <span>&#45;&gt;</span> <a href="index.html#module-F">F</a>.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>