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.

5 lines
2.9 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CompilationDatabase (infer.InferModules.CompilationDatabase)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules.CompilationDatabase</span></h1></header><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-compilation_data"><a href="#type-compilation_data" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>compilation_data</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-compilation_data.directory" class="anchored"><td class="def field"><a href="#type-compilation_data.directory" class="anchor"></a><code>directory : string;</code></td></tr><tr id="type-compilation_data.executable" class="anchored"><td class="def field"><a href="#type-compilation_data.executable" class="anchor"></a><code>executable : string;</code></td></tr><tr id="type-compilation_data.escaped_arguments" class="anchored"><td class="def field"><a href="#type-compilation_data.escaped_arguments" class="anchor"></a><code>escaped_arguments : string list;</code></td><td class="doc"><p>(** argument list, where each argument is already escaped for the shell. This is because in
some cases the argument list contains arguments that are actually themselves a list of
arguments, for instance because the compilation database only contains a &quot;command&quot;
entry. *)</p></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-filter_compilation_data"><a href="#val-filter_compilation_data" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>filter_compilation_data : <a href="index.html#type-t">t</a> <span class="keyword">&#8209;&gt;</span> f:(<a href="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">&#8209;&gt;</span> bool) <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-compilation_data">compilation_data</a> list</code></div><div class="doc"></div></div><div class="spec val" id="val-from_json_files"><a href="#val-from_json_files" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>from_json_files : [&lt; `Escaped of string | `Raw of string ] list <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"></div></div></body></html>