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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__CompilationDatabase (infer.InferModules__CompilationDatabase)</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; InferModules__CompilationDatabase</nav><h1>Module <code>InferModules__CompilationDatabase</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></dt><dt class="spec type" id="type-compilation_data"><a href="#type-compilation_data" class="anchor"></a><code><span class="keyword">type</span> compilation_data</code><code> = </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 : <span>string list</span>;</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></dt></dl><dl><dt class="spec value" id="val-filter_compilation_data"><a href="#val-filter_compilation_data" class="anchor"></a><code><span class="keyword">val</span> filter_compilation_data : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>f:<span>(<a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> bool)</span></span> <span>&#45;&gt;</span> <span><span>(<a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> * <a href="index.html#type-compilation_data">compilation_data</a>)</span> list</span></code></dt><dt class="spec value" id="val-from_json_files"><a href="#val-from_json_files" class="anchor"></a><code><span class="keyword">val</span> from_json_files : <span><span>[&lt; <span>`Escaped of string</span> <span><span>| `Raw</span> of string</span> ]</span> list</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>