<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Fieldname (infer.IR.Fieldname)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><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>»<ahref="../index.html">IR</a>» 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-make"><ahref="#val-make"class="anchor"></a><code><spanclass="keyword">val</span> make : <ahref="../Typ/Name/index.html#type-t">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="../Typ/Name/index.html#type-t">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 <spa