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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__QualifiedCppName (infer.IR__QualifiedCppName)</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__QualifiedCppName</nav><h1>Module <code>IR__QualifiedCppName</code></h1></header><dl><dt class="spec exception" id="exception-ParseError"><a href="#exception-ParseError" class="anchor"></a><code><span class="keyword">exception</span> </code><code><span class="exception">ParseError</span> <span class="keyword">of</span> string</code></dt></dl><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></dl></div></div></div><dl><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val</span> empty : <a href="index.html#type-t">t</a></code></dt><dd><p>empty qualified name</p></dd></dl><dl><dt class="spec value" id="val-of_qual_string"><a href="#val-of_qual_string" class="anchor"></a><code><span class="keyword">val</span> of_qual_string : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>attempts to parse the argument into a list::of::possibly::templated&lt;T&gt;::qualifiers</p></dd></dl><dl><dt class="spec value" id="val-to_qual_string"><a href="#val-to_qual_string" class="anchor"></a><code><span class="keyword">val</span> to_qual_string : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dd><p>returns qualified name as a string with &quot;::&quot; as a separator between qualifiers</p></dd></dl><dl><dt class="spec value" id="val-append_qualifier"><a href="#val-append_qualifier" class="anchor"></a><code><span class="keyword">val</span> append_qualifier : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>qual:string</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>append qualifier to the end (innermost scope) of the qualified name</p></dd></dl><dl><dt class="spec value" id="val-extract_last"><a href="#val-extract_last" class="anchor"></a><code><span class="keyword">val</span> extract_last : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(string * <a href="index.html#type-t">t</a>)</span> option</span></code></dt><dd><p>returns last (innermost scope) qualifier and qualified name without last qualifier</p></dd></dl><dl><dt class="spec value" id="val-strip_template_args"><a href="#val-strip_template_args" class="anchor"></a><code><span class="keyword">val</span> strip_template_args : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>returns qualified name without template arguments. For example:</p><ul><li>input: std::shared_ptr&lt;int&gt;::shared_ptr&lt;long&gt;</li><li>output: std::shared_ptr::shared_ptr</li></ul></dd></dl><dl><dt class="spec value" id="val-append_template_args_to_last"><a href="#val-append_template_args_to_last" class="anchor"></a><code><span class="keyword">val</span> append_template_args_to_last : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>args:string</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>append template arguments to the last qualifier. Fails if qualified name is empty or it already has template args</p></dd></dl><dl><dt class="spec value" id="val-to_list"><a href="#val-to_list" class="anchor"></a><code><span class="keyword