2 lines
4.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>JavaFrontend__JClasspath (infer.JavaFrontend__JClasspath)</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> &#x00BB; JavaFrontend__JClasspath</nav><h1>Module <code>JavaFrontend__JClasspath</code></h1></header><dl><dt class="spec type" id="type-file_entry"><a href="#type-file_entry" class="anchor"></a><code><span class="keyword">type</span> file_entry</code><code> = </code><table class="variant"><tr id="type-file_entry.Singleton" class="anchored"><td class="def constructor"><a href="#type-file_entry.Singleton" class="anchor"></a><code>| </code><code><span class="constructor">Singleton</span> <span class="keyword">of</span> <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a></code></td></tr><tr id="type-file_entry.Duplicate" class="anchored"><td class="def constructor"><a href="#type-file_entry.Duplicate" class="anchor"></a><code>| </code><code><span class="constructor">Duplicate</span> <span class="keyword">of</span> <span><span>(string * <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a>)</span> list</span></code></td></tr></table></dt><dd><p>map entry for source files with potential basename collision within the same compiler call</p></dd></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.classpath_channel" class="anchored"><td class="def field"><a href="#type-t.classpath_channel" class="anchor"></a><code>classpath_channel : Javalib_pack.Javalib.class_path;</code></td></tr><tr id="type-t.sources" class="anchored"><td class="def field"><a href="#type-t.sources" class="anchor"></a><code>sources : <span><a href="index.html#type-file_entry">file_entry</a> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.String.Map.t</span>;</code></td></tr><tr id="type-t.classes" class="anchored"><td class="def field"><a href="#type-t.classes" class="anchor"></a><code>classes : Javalib_pack.JBasics.ClassSet.t;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-source"><a href="#type-source" class="anchor"></a><code><span class="keyword">type</span> source</code><code> = </code><table class="variant"><tr id="type-source.FromVerboseOut" class="anchored"><td class="def constructor"><a href="#type-source.FromVerboseOut" class="anchor"></a><code>| </code><code><span class="constructor">FromVerboseOut</span> <span class="keyword">of</span> </code><code>{</code><table class="record"><tr id="type-source.verbose_out_file" class="anchored"><td class="def field"><a href="#type-source.verbose_out_file" class="anchor"></a><code>verbose_out_file : string;</code></td></tr></table><code>}</code></td><td class="doc"><p>load the list of source files and the list of classes from the javac verbose file</p></td></tr><tr id="type-source.FromArguments" class="anchored"><td class="def constructor"><a href="#type-source.FromArguments" class="anchor"></a><code>| </code><code><span class="constructor">FromArguments</span> <span class="keyword">of</span> </code><code>{</code><table class="record"><tr id="type-source.path" class="anchored"><td class="def field"><a href="#type-source.path" class="anchor"></a><code>path : string;</code></td></tr></table><code>}</code></td><td class="doc"><p>load the list of source files and the list of classes from <code>Config.generated_classes</code></p></td></tr></table></dt></dl><dl><dt class="spec value" id="val-with_classpath"><a href="#val-with_classpath" class="anchor"></a><code><span class="keyword">val</span> with_classpath : <span>f:<span>(<a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> <a href="index.html#type-source">source</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>load a class path, pass it to <code>f</code> and cleanup after <code>f</code> is done</p></dd></dl></div></body></html>