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>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IR__Fieldname (infer.IR__Fieldname)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» IR__Fieldname</nav><h1>Module <code>IR__Fieldname</code></h1></header><divclass="spec module"id="module-F"><ahref="#module-F"class="anchor"></a><code><spanclass="keyword">module</span> F = Stdlib.Format</code></div><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt><dd><p>Names for fields of class/struct/union</p></dd></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare"><ahref="#val-compare"class="anchor"></a><code><spanclass="keyword">val</span> compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dtclass="spec value"id="val-equal"><ahref="#val-equal"class="anchor"></a><code><spanclass="keyword">val</span> equal : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-yojson_of_t"><ahref="#val-yojson_of_t"class="anchor"></a><code><spanclass="keyword">val</span> yojson_of_t : <ahref="index.html#type-t">t</a><span>-></span> Ppx_yojson_conv_lib.Yojson.Safe.t</code></dt></dl></div></div></div><dl><dtclass="spec value"id="val-loose_compare"><ahref="#val-loose_compare"class="anchor"></a><code><spanclass="keyword">val</span> loose_compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dd><p>Similar to compare, but addresses <code>CStruct x</code> and <code>CppClass x</code> as equal.</p></dd></dl><dl><dtclass="spec value"id="val-compare_name"><ahref="#val-compare_name"class="anchor"></a><code><spanclass="keyword">val</span> compare_name : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dd><p>Similar to compare, but compares only names, except template arguments.</p></dd></dl><dl><dtclass="spec value"id="val-make"><ahref="#val-make"class="anchor"></a><code><spanclass="keyword">val</span> make : <ahref="../IR/Typ/Name/index.html#type-t">IR.Typ.Name.t</a><span>-></span> string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>create a field of the given class and fieldname</p></dd></dl><dl><dtclass="spec value"id="val-get_class_name"><ahref="#val-get_class_name"class="anchor"></a><code><spanclass="keyword">val</span> get_class_name : <ahref="index.html#type-t">t</a><span>-></span><ahref="../IR/Typ/Name/index.html#type-t">IR.Typ.Name.t</a></code></dt><dtclass="spec value"id="val-get_field_name"><ahref="#val-get_field_name"class="anchor"></a><code><spanclass="keyword">val</span> get_field_name : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dtclass="spec value"id="val-is_java"><ahref="#val-is_java"class="anchor"></a><code><spanclass="keyword">val</span> is_java : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-is_java_synthetic"><ahref="#val-is_java_synthetic"class="anchor"></a><code><spanclass="keyword">val</span> is_java_synthetic : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>Check if the field is autogenerated/synthetic *</p></dd></dl><dl><dtclass="spec value"id="val-is_internal"><ahref="#val-is_internal"class="anchor"></a><code><spanclass="keyword">val</span> is_internal : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>Check if the field has the prefix "__" or "_M_" (internal field of std::thread::id)</p></dd></dl><dl><dtclass="spec module"id="module-Set"><ahref="#module-Set"class="anchor"></a><code><spanclass="keyword">module</span> Set : <ahref="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Set.S <spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="index.html#module-Set">Set</a>.elt = <ahref="index.html#type-t">t</a></code></dt><dd><p>Set for fieldnames</p></dd></dl><dl><dtclass="spec module"id="module-Map"><ahref="#module-Map"class="anchor"></a><code><spanclass="keyword">module</span> Map : <ahref="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Map.S <spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="index.html#module-Map">Map</a>.key = <ahref="index.html#type-t">t</a></code></dt><dd><p>Map for fieldnames</p></dd></dl><dl><dtclass="spec value"id="val-is_java_outer_instance"><ahref="#val-is_java_outer_instance"class="anchor"></a><code><spanclass="keyword">val</span> is_java_outer_instance : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>Check if the field is the synthetic this$n of a nested class, used to access the n-th outer instance.</p></dd></dl><dl><dtclass="spec value"id="val-to_string"><ahref="#val-to_string"class="anchor"></a><code><spanclass="keyword">val</span> to_string : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dd><p>Convert a field name to a string.</p></dd></dl><dl><dtclass="spec value"id="val-to_full_string"><ahref="#val-to_full_string"class="anchor"></a><code><spanclass="keyword">val</span> to_full_string : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dtclass="spec value"id="val-to_simplified_string"><ahref="#val-to_simplified_string"class="anchor"></a><code><spanclass="keyword">val</span> to_simplified_string : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dd><p>Convert a fieldname to a simplified string with at most one-level path.</p></dd></dl><dl><dtclass="spec value"id="val-pp"><ahref="#val-pp"class="anchor"></a><code><spanclass="keyword">val</span> pp : <ahref="index.html#module-F">F</a>.formatter <span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>Pretty print a field name.</p></dd></dl><divclass="spec module"id="module-Normalizer"><ahref="#module-Normalizer"class="anchor"></a><code><spanclass="keyword">module</span><ahref="Normalizer/index.html">Normalizer</a> : <ahref="../IStdlib/HashNormalizer/index.html#module-type-S">IStdlib.HashNormalizer.S</a><spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="../IStdlib/HashNormalizer/module-type-S/index.html#type-t">t</a> = <ahref="index.html#type-t">t</a></code></div></div></body></html>