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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Absint__MethodMatcher (infer.Absint__MethodMatcher)</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> » Absint__MethodMatcher</nav><h1>Module <code>Absint__MethodMatcher</code></h1></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>-></span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>-></span> <span><a href="../Absint/HilExp/index.html#type-t">Absint.HilExp.t</a> list</span> <span>-></span> bool</code></dt><dd><p>pattern matcher for Java/C++ methods NB matching is modulo template arguments in C++ classes and functions</p></dd></dl><dl><dt class="spec type" id="type-record"><a href="#type-record" class="anchor"></a><code><span class="keyword">type</span> record</code><code> = </code><code>{</code><table class="record"><tr id="type-record.search_superclasses" class="anchored"><td class="def field"><a href="#type-record.search_superclasses" class="anchor"></a><code>search_superclasses : bool;</code></td></tr><tr id="type-record.method_prefix" class="anchored"><td class="def field"><a href="#type-record.method_prefix" class="anchor"></a><code>method_prefix : bool;</code></td></tr><tr id="type-record.actuals_pred" class="anchored"><td class="def field"><a href="#type-record.actuals_pred" class="anchor"></a><code>actuals_pred : <span><a href="../Absint/HilExp/index.html#type-t">Absint.HilExp.t</a> list</span> <span>-></span> bool;</code></td></tr><tr id="type-record.classname" class="anchored"><td class="def field"><a href="#type-record.classname" class="anchor"></a><code>classname : string;</code></td></tr><tr id="type-record.methods" class="anchored"><td class="def field"><a href="#type-record.methods" class="anchor"></a><code>methods : <span>string list</span>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-default"><a href="#val-default" class="anchor"></a><code><span class="keyword">val</span> default : <a href="index.html#type-record">record</a></code></dt><dd><p>record encapsulating the default arguments of <code>call_matches</code>. <code>classname=""</code> and <code>methods=[]</code>. Useful for <code>with</code> expressions</p></dd></dl><dl><dt class="spec value" id="val-of_record"><a href="#val-of_record" class="anchor"></a><code><span class="keyword">val</span> of_record : <a href="index.html#type-record">record</a> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>make a matcher out of a record; optional values use defaults</p></dd></dl><dl><dt class="spec value" id="val-of_json"><a href="#val-of_json" class="anchor"></a><code><span class="keyword">val</span> of_json : Yojson.Basic.t <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>Parse a JSon object into a matcher. The Json object must be a list of records, each corresponding to a single matcher. Each record must have a <code>"classname"</code> field with a <code>string</code> value, and a <code>"methods"</code> field with a list of strings. The record may also have boolean fields <code>"search_superclasses"</code> and <code>"method_prefix"</code>. If absent, the defaults are used. The resulting matcher matches if one of the matchers in the list does.</p></dd></dl><dl><dt class="spec value" id="val-of_list"><a href="#val-of_list" class="anchor"></a><code><span class="keyword">val</span> of_list : <span><a href="index.html#type-t">t</a> list</span> <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p>O
|