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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferIR__QualifiedCppName (InferIR.InferIR__QualifiedCppName)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><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">InferIR</a> » InferIR__QualifiedCppName</nav><h1>Module <code>InferIR__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>-></span> <a href="index.html#type-t">t</a> <span>-></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>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>attempts to parse the argument into a list::of::possibly::templated<T>::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>-></span> string</code></dt><dd><p>returns qualified name as a string with "::" 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>-></span> <span>qual:string</span> <span>-></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>-></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>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>returns qualified name without template arguments. For example: input: std::shared_ptr<int>::shared_ptr<long> output: std::shared_ptr::shared_ptr</p></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>-></span> <span>args:string</span> <span>-></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="ke
|