<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>CContext (infer.ClangFrontend.CContext)</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>»<ahref="../index.html">ClangFrontend</a>» CContext</nav><h1>Module <code>ClangFrontend.CContext</code></h1></header><aside><p>Contains current class and current method to be translated as well as local variables, and the cfg, and tenv corresponding to the current file.</p></aside><divclass="spec module"id="module-StmtMap"><ahref="#module-StmtMap"class="anchor"></a><code><spanclass="keyword">module</span> StmtMap = <ahref="../ClangPointers/index.html#module-Map">ClangPointers.Map</a></code></div><dl><dtclass="spec type"id="type-curr_class"><ahref="#type-curr_class"class="anchor"></a><code><spanclass="keyword">type</span> curr_class</code><code> = </code><tableclass="variant"><trid="type-curr_class.ContextClsDeclPtr"class="anchored"><tdclass="def constructor"><ahref="#type-curr_class.ContextClsDeclPtr"class="anchor"></a><code>| </code><code><spanclass="constructor">ContextClsDeclPtr</span><spanclass="keyword">of</span> int</code></td></tr><trid="type-curr_class.ContextNoCls"class="anchored"><tdclass="def constructor"><ahref="#type-curr_class.ContextNoCls"class="anchor"></a><code>| </code><code><spanclass="constructor">ContextNoCls</span></code></td></tr></table></dt></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare_curr_class"><ahref="#val-compare_curr_class"class="anchor"></a><code><spanclass="keyword">val</span> compare_curr_class : <ahref="index.html#type-curr_class">curr_class</a><span>-></span><ahref="index.html#type-curr_class">curr_class</a><span>-></span> int</code></dt></dl></div></div></div><dl><dtclass="spec type"id="type-str_node_map"><ahref="#type-str_node_map"class="anchor"></a><code><spanclass="keyword">type</span> str_node_map</code><code> = <span><span>(string,<ahref="../../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a>)</span><ahref="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Hashtbl.t</span></code></dt><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code><code> = </code><code>{</code><tableclass="record"><trid="type-t.translation_unit_context"class="anchored"><tdclass="def field"><ahref="#type-t.translation_unit_context"class="anchor"></a><code>translation_unit_context : <ahref="../CFrontend_config/index.html#type-translation_unit_context">CFrontend_config.translation_unit_context</a>;</code></td></tr><trid="type-t.tenv"class="anchored"><tdclass="def field"><ahref="#type-t.tenv"class="anchor"></a><code>tenv : <ahref="../../IR/Tenv/index.html#type-t">IR.Tenv.t</a>;</code></td></tr><trid="type-t.cfg"class="anchored"><tdclass="def field"><ahref="#type-t.cfg"class="anchor"></a><code>cfg : <ahref="../../IR/Cfg/index.html#type-t">IR.Cfg.t</a>;</code></td></tr><trid="type-t.procdesc"class="anchored"><tdclass="def field"><ahref="#type-t.procdesc"class="anchor"></a><code>procdesc : <ahref="../../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a>;</code></td></tr><trid="type-t.immediate_curr_class"class="anchored"><tdclass="def field"><ahref="#type-t.immediate_curr_class"class="anchor"></a><code>immediate_curr_class : <ahref="index.html#type-curr_class">curr_class</a>;</code></td></tr><trid="type-t.return_param_typ"class="anchored"><tdclass="def field"><ahref="#type-t.return_param_typ"class="anchor"></a><code>return_param_typ : <span><ahref="../../IR/Typ/index.html#type-t">IR.Typ.t</a> option</span>;</code></td></tr><trid="type-t.outer_context"class="anchored"><tdcla