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.

7 lines
86 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferBase__Config (InferBase.InferBase__Config)</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">InferBase</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferBase__Config</span></h1></header><p>Configuration values: either constant, determined at compile time, or set at startup
time by system calls, environment variables, or command line options</p><div class="spec type" id="type-analyzer"><a href="#type-analyzer" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>analyzer</code><code></code><code><span class="keyword"> = </span></code><table class="variant"><tr id="type-analyzer.CaptureOnly" class="anchored"><td class="def constructor"><a href="#type-analyzer.CaptureOnly" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CaptureOnly</span></code></td></tr><tr id="type-analyzer.CompileOnly" class="anchored"><td class="def constructor"><a href="#type-analyzer.CompileOnly" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CompileOnly</span></code></td></tr><tr id="type-analyzer.Checkers" class="anchored"><td class="def constructor"><a href="#type-analyzer.Checkers" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Checkers</span></code></td></tr><tr id="type-analyzer.Crashcontext" class="anchored"><td class="def constructor"><a href="#type-analyzer.Crashcontext" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Crashcontext</span></code></td></tr><tr id="type-analyzer.Linters" class="anchored"><td class="def constructor"><a href="#type-analyzer.Linters" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Linters</span></code></td></tr></table><code></code></div><div class="doc"></div></div><div class="spec include"><div class="doc"></div><details open="open"><summary><span class="def"><code><span class="keyword">include </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><div class="spec val" id="val-compare_analyzer"><a href="#val-compare_analyzer" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare_analyzer : <a href="index.html#type-analyzer">analyzer</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-analyzer">analyzer</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div></details></div><div class="spec val" id="val-equal_analyzer"><a href="#val-equal_analyzer" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>equal_analyzer : <a href="index.html#type-analyzer">analyzer</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-analyzer">analyzer</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-string_to_analyzer"><a href="#val-string_to_analyzer" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>string_to_analyzer : (string<span class="keyword"> * </span><a href="index.html#type-analyzer">analyzer</a>) list</code></div><div class="doc"><p>Association list of analyzers and their names</p></div></div><div class="spec val" id="val-string_of_analyzer"><a href="#val-string_of_analyzer" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>string_of_analyzer : <a href="index.html#type-analyzer">analyzer</a> <span class="keyword">&#8209;&gt;</span> string</code></div><div class="doc"></div></div><div class="spec type" id="type-os_type"><a href="#type-os_type" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>os_type</code><code></code><code><span class="keyword"> = </span></code><table class="variant"><tr id="type-os_type.Unix" class="anchored"><td class="def constructor"><a href="#type-os_type.Unix" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Unix</span></code></td></tr><tr id="type-os_type.Win32" class="anchored"><td class="def constructor"><a href="#type-os_type.Win32" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Win32</span></code></td></tr><tr id="type-os_type.Cygwin" class="anchored"><td class="def constructor"><a
by <code class="code">Deps (Some n)</code>, or all by <code class="code">Deps None</code> *)</p></td></tr><tr id="type-compilation_database_dependencies.NoDeps" class="anchored"><td class="def constructor"><a href="#type-compilation_database_dependencies.NoDeps" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">NoDeps</span></code></td></tr></table><code></code></div><div class="doc"></div></div><div class="spec include"><div class="doc"></div><details open="open"><summary><span class="def"><code><span class="keyword">include </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><div class="spec val" id="val-compare_compilation_database_dependencies"><a href="#val-compare_compilation_database_dependencies" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>compare_compilation_database_dependencies : <a href="index.html#type-compilation_database_dependencies">compilation_database_dependencies</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-compilation_database_dependencies">compilation_database_dependencies</a> <span class="keyword">&#8209;&gt;</span> int</code></div><div class="doc"></div></div></details></div><div class="spec type" id="type-build_system"><a href="#type-build_system" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>build_system</code><code></code><code><span class="keyword"> = </span></code><table class="variant"><tr id="type-build_system.BAnalyze" class="anchored"><td class="def constructor"><a href="#type-build_system.BAnalyze" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BAnalyze</span></code></td></tr><tr id="type-build_system.BAnt" class="anchored"><td class="def constructor"><a href="#type-build_system.BAnt" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BAnt</span></code></td></tr><tr id="type-build_system.BBuck" class="anchored"><td class="def constructor"><a href="#type-build_system.BBuck" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BBuck</span></code></td></tr><tr id="type-build_system.BClang" class="anchored"><td class="def constructor"><a href="#type-build_system.BClang" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BClang</span></code></td></tr><tr id="type-build_system.BGradle" class="anchored"><td class="def constructor"><a href="#type-build_system.BGradle" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BGradle</span></code></td></tr><tr id="type-build_system.BJava" class="anchored"><td class="def constructor"><a href="#type-build_system.BJava" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BJava</span></code></td></tr><tr id="type-build_system.BJavac" class="anchored"><td class="def constructor"><a href="#type-build_system.BJavac" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BJavac</span></code></td></tr><tr id="type-build_system.BMake" class="anchored"><td class="def constructor"><a href="#type-build_system.BMake" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BMake</span></code></td></tr><tr id="type-build_system.BMvn" class="anchored"><td class="def constructor"><a href="#type-build_system.BMvn" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BMvn</span></code></td></tr><tr id="type-build_system.BNdk" class="anchored"><td class="def constructor"><a href="#type-build_system.BNdk" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BNdk</span></code></td></tr><tr id="type-build_system.BPython" class="anchored"><td class="def constructor"><a href="#type-build_system.BPython" class="anchor"></a><code><span class="keyword">| </span></code><code><s
Restore the initial value of footprint also in case of exception.</p></div></div><div class="spec val" id="val-run_in_re_execution_mode"><a href="#val-run_in_re_execution_mode" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>run_in_re_execution_mode : (<span class="type-var">'a</span> <span class="keyword">&#8209;&gt;</span> <span class="type-var">'b</span>) <span class="keyword">&#8209;&gt;</span> <span class="type-var">'a</span> <span class="keyword">&#8209;&gt;</span> <span class="type-var">'b</span></code></div><div class="doc"><p>Call f x with footprint set to false.
Restore the initial value of footprint also in case of exception.</p></div></div><div class="spec val" id="val-forcing_delayed_prints"><a href="#val-forcing_delayed_prints" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>forcing_delayed_prints : bool <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.ref</code></div><div class="doc"></div></div><div class="spec val" id="val-pp_simple"><a href="#val-pp_simple" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pp_simple : bool <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.ref</code></div><div class="doc"></div></div><p>Global variables with initial values specified by command-line options</p><div class="spec val" id="val-abs_val"><a href="#val-abs_val" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>abs_val : int <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.ref</code></div><div class="doc"></div></div><div class="spec val" id="val-reset_abs_val"><a href="#val-reset_abs_val" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>reset_abs_val : unit <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-run_with_abs_val_equal_zero"><a href="#val-run_with_abs_val_equal_zero" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>run_with_abs_val_equal_zero : (<span class="type-var">'a</span> <span class="keyword">&#8209;&gt;</span> <span class="type-var">'b</span>) <span class="keyword">&#8209;&gt;</span> <span class="type-var">'a</span> <span class="keyword">&#8209;&gt;</span> <span class="type-var">'b</span></code></div><div class="doc"><p>Call f x with abs_val set to zero.
Restore the initial value also in case of exception.</p></div></div><div class="spec val" id="val-allow_leak"><a href="#val-allow_leak" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>allow_leak : bool <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.ref</code></div><div class="doc"></div></div><div class="spec val" id="val-clang_compilation_dbs"><a href="#val-clang_compilation_dbs" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>clang_compilation_dbs : [ `Escaped of string | `Raw of string ] list <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.ref</code></div><div class="doc"></div></div><p>Command Line Interface Documentation</p><div class="spec val" id="val-print_usage_exit"><a href="#val-print_usage_exit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_usage_exit : unit <span class="keyword">&#8209;&gt;</span> <span class="type-var">'a</span></code></div><div class="doc"></div></div><p>Miscellanous</p><div class="spec val" id="val-register_late_epilogue"><a href="#val-register_late_epilogue" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>register_late_epilogue : (unit <span class="keyword">&#8209;&gt;</span> unit) <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-java_package_is_external"><a href="#val-java_package_is_external" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>java_package_is_external : string <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"><p>Check if a Java package is external to the repository</p></div></div></body></html>