<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>CompilationDatabase (infer.Integration.CompilationDatabase)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">Integration</a>» CompilationDatabase</nav><h1>Module <code>Integration.CompilationDatabase</code></h1></header><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt><dtclass="spec type"id="type-compilation_data"><ahref="#type-compilation_data"class="anchor"></a><code><spanclass="keyword">type</span> compilation_data</code><code> = </code><code>{</code><tableclass="record"><trid="type-compilation_data.directory"class="anchored"><tdclass="def field"><ahref="#type-compilation_data.directory"class="anchor"></a><code>directory : string;</code></td></tr><trid="type-compilation_data.executable"class="anchored"><tdclass="def field"><ahref="#type-compilation_data.executable"class="anchor"></a><code>executable : string;</code></td></tr><trid="type-compilation_data.escaped_arguments"class="anchored"><tdclass="def field"><ahref="#type-compilation_data.escaped_arguments"class="anchor"></a><code>escaped_arguments : <span>string list</span>;</code></td><tdclass="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 "command" entry.</p></td></tr></table><code>}</code></dt></dl><dl><dtclass="spec value"id="val-filter_compilation_data"><ahref="#val-filter_compilation_data"class="anchor"></a><code><spanclass="keyword">val</span> filter_compilation_data : <ahref="index.html#type-t">t</a><span>-></span><span>f:<span>(<ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span> bool)</span></span><span>-></span><span><span>(<ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> * <ahref="index.html#type-compilation_data">compilation_data</a>)</span> list</span></code></dt><dtclass="spec value"id="val-from_json_files"><ahref="#val-from_json_files"class="anchor"></a><code><spanclass="keyword">val</span> from_json_files : <span><span>[<<span>`Escaped of string</span><span><span>| `Raw</span> of string</span> ]</span> list</span><span>-></span><ahref="index.html#type-t">t</a></code></dt></dl></div></body></html>