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.2 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__QualifiedCppName (infer.IR__QualifiedCppName)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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><dt class="spec value" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span class="keyword">val</span> yojson_of_t : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> Ppx_yojson_conv_lib.Yojson.Safe.t</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-append_protocols"><a href="#val-append_protocols" class="anchor"></a><code><span class="keyword">val</span> append_protocols : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>protocols:string</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>append protocols to the qualified name</p></dd></dl><dl><dt class="spec value" id="val-to_list"><a href="#val-to_list" class="anchor"></a><code><span class="keyword">val</span> to_list : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>string list</span></code></dt><dd><p>returns list of qualifiers</p></dd></dl><dl><dt class="spec value" id="val-to_rev_list"><a href="#val-to_rev_list" class="anchor"></a><code><span class="keyword">val</span> to_rev_list : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>string list</span></code></dt><dd><p>returns reversed list of qualifiers, ie innermost scope is the first element</p></dd></dl><dl><dt class="spec value" id="val-of_list"><a href="#val-of_list" class="anchor"></a><code><span class="keyword">val</span> of_list : <span>string list</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>given list of qualifiers in normal order produce qualified name <code>&quot;std&quot;, &quot;move&quot;</code></p></dd></dl><dl><dt class="spec value" id="val-of_rev_list"><a href="#val-of_rev_list" class="anchor"></a><code><span class="keyword">val</span> of_rev_list : <span>string list</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>given reversed list of qualifiers, produce qualified name (ie. <code>&quot;move&quot;, &quot;std&quot;</code> for std::move )</p></dd></dl><dl><dt class="spec value" id="val-from_field_qualified_name"><a href="#val-from_field_qualified_name" class="anchor"></a><code><span class="keyword">val</span> from_field_qualified_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val</span> pp : Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt></dl><dl><dt class="spec module" id="module-Match"><a href="#module-Match" class="anchor"></a><code><span class="keyword">module</span> <a href="Match/index.html">Match</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>Module to match qualified C++ procnames &quot;fuzzily&quot;, that is up to namescapes and templating. In particular, this deals with the following issues:</p></dd></dl><div class="spec module" id="module-Set"><a href="#module-Set" class="anchor"></a><code><span class="keyword">module</span> Set : <a href="../IStdlib/PrettyPrintable/index.html#module-type-PPSet">IStdlib.PrettyPrintable.PPSet</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../IStdlib/PrettyPrintable/index.html#module-type-PPSet">PPSet</a>.elt = <a href="index.html#type-t">t</a></code></div></div></body></html>