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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>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; <a href="../index.html">JavaFrontend</a> &#x00BB; 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> <s