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>Fieldname (infer.IR.Fieldname)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.0"/><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></dl></div></div></div><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></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></div></body></html>