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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ToplUtils (infer.TOPLlib.ToplUtils)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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">TOPLlib</a> &#x00BB; ToplUtils</nav><h1>Module <code>TOPLlib.ToplUtils</code></h1></header><dl><dt class="spec value" id="val-any_type"><a href="#val-any_type" class="anchor"></a><code><span class="keyword">val</span> any_type : <a href="../../IR/Typ/index.html#type-t">IR.Typ.t</a></code></dt><dd><p>For now, Topl is untyped. The &quot;any&quot; type is simulated with &quot;java.lang.Object&quot;.</p></dd></dl><dl><dt class="spec value" id="val-topl_class_name"><a href="#val-topl_class_name" class="anchor"></a><code><span class="keyword">val</span> topl_class_name : <a href="../../IR/Typ/Name/index.html#type-t">IR.Typ.Name.t</a></code></dt><dt class="spec value" id="val-topl_class_typ"><a href="#val-topl_class_typ" class="anchor"></a><code><span class="keyword">val</span> topl_class_typ : <a href="../../IR/Typ/index.html#type-t">IR.Typ.t</a></code></dt><dt class="spec value" id="val-topl_class_pvar"><a href="#val-topl_class_pvar" class="anchor"></a><code><span class="keyword">val</span> topl_class_pvar : <a href="../../IR/Pvar/index.html#type-t">IR.Pvar.t</a></code></dt><dt class="spec value" id="val-static_var"><a href="#val-static_var" class="anchor"></a><code><span class="keyword">val</span> static_var : string <span>&#45;&gt;</span> <a href="../../IR/Exp/index.html#type-t">IR.Exp.t</a></code></dt><dt class="spec value" id="val-local_var"><a href="#val-local_var" class="anchor"></a><code><span class="keyword">val</span> local_var : <a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <a href="../../IR/Exp/index.html#type-t">IR.Exp.t</a></code></dt><dt class="spec value" id="val-constant_int"><a href="#val-constant_int" class="anchor"></a><code><span class="keyword">val</span> constant_int : int <span>&#45;&gt;</span> <a href="../../IR/Exp/index.html#type-t">IR.Exp.t</a></code></dt><dt class="spec value" id="val-topl_call"><a href="#val-topl_call" class="anchor"></a><code><span class="keyword">val</span> topl_call : <a href="../../IR/Ident/index.html#type-t">IR.Ident.t</a> <span>&#45;&gt;</span> <a href="../../IR/Typ/index.html#type-desc">IR.Typ.desc</a> <span>&#45;&gt;</span> <a href="../../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <span><span>(<a href="../../IR/Exp/index.html#type-t">IR.Exp.t</a> * <a href="../../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span> <span>&#45;&gt;</span> <a href="../../IR/Sil/index.html#type-instr">IR.Sil.instr</a></code></dt><dd><p>Call a TOPL function; that is, a static member of &quot;topl.Property&quot; with java.lang.Object arguments and return <code>ret_id</code> of type <code>ret_typ</code>.</p></dd></dl><dl><dt class="spec value" id="val-is_synthesized"><a href="#val-is_synthesized" class="anchor"></a><code><span class="keyword">val</span> is_synthesized : <a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-debug"><a href="#val-debug" class="anchor"></a><code><span class="keyword">val</span> debug : <span><span>(<span class="type-var">'a</span>, Stdlib.Format.formatter, unit)</span> <a href="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.format</span> <span>&#45;&gt;</span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-make_field"><a href="#val-make_field" class="anchor"></a><code><span class="keyword">val</span> make_field : string <span>&#45;&gt;</span> <a href="../../IR/Fieldname/index.html#type-