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
9.9 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CContext (infer.InferModules.CContext)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><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; <a href="../index.html">InferModules</a> &#x00BB; CContext</nav><h1>Module <code>InferModules.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><div class="spec module" id="module-StmtMap"><a href="#module-StmtMap" class="anchor"></a><code><span class="keyword">module</span> StmtMap = <a href="../ClangPointers/index.html#module-Map">ClangPointers.Map</a></code></div><dl><dt class="spec type" id="type-curr_class"><a href="#type-curr_class" class="anchor"></a><code><span class="keyword">type</span> curr_class</code><code> = </code><table class="variant"><tr id="type-curr_class.ContextClsDeclPtr" class="anchored"><td class="def constructor"><a href="#type-curr_class.ContextClsDeclPtr" class="anchor"></a><code>| </code><code><span class="constructor">ContextClsDeclPtr</span> <span class="keyword">of</span> int</code></td></tr><tr id="type-curr_class.ContextNoCls" class="anchored"><td class="def constructor"><a href="#type-curr_class.ContextNoCls" class="anchor"></a><code>| </code><code><span class="constructor">ContextNoCls</span></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare_curr_class"><a href="#val-compare_curr_class" class="anchor"></a><code><span class="keyword">val</span> compare_curr_class : <a href="index.html#type-curr_class">curr_class</a> <span>&#45;&gt;</span> <a href="index.html#type-curr_class">curr_class</a> <span>&#45;&gt;</span> int</code></dt></dl></div></div></div><dl><dt class="spec type" id="type-str_node_map"><a href="#type-str_node_map" class="anchor"></a><code><span class="keyword">type</span> str_node_map</code><code> = <span><span>(string, <a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a>)</span> <a href="../../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Caml.Hashtbl.t</span></code></dt><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.translation_unit_context" class="anchored"><td class="def field"><a href="#type-t.translation_unit_context" class="anchor"></a><code>translation_unit_context : <a href="../CFrontend_config/index.html#type-translation_unit_context">CFrontend_config.translation_unit_context</a>;</code></td></tr><tr id="type-t.tenv" class="anchored"><td class="def field"><a href="#type-t.tenv" class="anchor"></a><code>tenv : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a>;</code></td></tr><tr id="type-t.cfg" class="anchored"><td class="def field"><a href="#type-t.cfg" class="anchor"></a><code>cfg : <a href="../../../InferIR/InferIR/Cfg/index.html#type-t">InferIR.Cfg.t</a>;</code></td></tr><tr id="type-t.procdesc" class="anchored"><td class="def field"><a href="#type-t.procdesc" class="anchor"></a><code>procdesc : <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a>;</code></td></tr><tr id="type-t.immediate_curr_class" class="anchored"><td class="def field"><a href="#type-t.immediate_curr_class" class="anchor"></a><code>immediate_curr_class : <a href="index.html#type-curr_class">curr_class</a>;</code></td></tr><tr id="type-t.return_param_typ" class="anchored"><td class="def field"><a href="#type-t.return_param_typ" class="anchor"></a><code>return_param_typ : <span><a href="../../../InferIR/Inf