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
7.3 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>JClasspath (infer.JavaFrontend.JClasspath)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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" class="anchored"><td class="def field"><a href="#type-t.classpath" class="anchor"></a><code>classpath : string;</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></dl><dl><dt class="spec value" id="val-load_from_verbose_output"><a href="#val-load_from_verbose_output" class="anchor"></a><code><span class="keyword">val</span> load_from_verbose_output : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>load the list of source files and the list of classes from the javac verbose file</p></dd></dl><dl><dt class="spec value" id="val-load_from_arguments"><a href="#val-load_from_arguments" class="anchor"></a><code><span class="keyword">val</span> load_from_arguments : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>load the list of source files and the list of classes from Config.generated_classes</p></dd></dl><dl><dt class="spec type" id="type-classmap"><a href="#type-classmap" class="anchor"></a><code><span class="keyword">type</span> classmap</code><code> = <span><span>Javalib_pack.JCode.jcode Javalib_pack.Javalib.interface_or_class</span> Javalib_pack.JBasics.ClassMap.t</span></code></dt><dt class="spec type" id="type-program"><a href="#type-program" class="anchor"></a><code><span class="keyword">type</span> program</code></dt></dl><dl><dt class="spec value" id="val-get_classmap"><a href="#val-get_classmap" class="anchor"></a><code><span class="keyword">val</span> get_classmap : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href="index.html#type-classmap">classmap</a></code></dt><dt class="spec value" id="val-set_java_location"><a href="#val-set_java_location" class="anchor"></a><code><span class="keyword">val</span> set_java_location : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> <a href="../../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-get_java_location"><a href="#val-get_java_location" class="anchor"></a><code><span class="keyword">val</span> get_java_location : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> <span><a href="../../IBase/Location/index.html#type-t">IBase.Location.t</a> option</span></code></dt><dt class="spec value" id="val-mem_classmap"><a href="#val-mem_classmap" class="anchor"></a><code><span class="keyword">val</span> mem_classmap : Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-cleanup"><a href="#val-cleanup" class="anchor"></a><code><span class="keyword">val</span> cleanup : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-load_program"><a href="#val-load_program" class="anchor"></a><code><span class="keyword">val</span> load_program : <span>classpath:string</span> <span>&#45;&gt;</span> Javalib_pack.JBasics.ClassSet.t <span>&#45;&gt;</span> <a href="index.html#type-program">program</a></code></dt><dd><p>load a java program</p></dd></dl><dl><dt class="spec value" id="val-lookup_node"><a href="#val-lookup_node" class="anchor"></a><code><span class="keyword">val</span> lookup_node : Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <span><span>Javalib_pack.JCode.jcode Javalib_pack.Javalib.interface_or_class</span> option</span></code></dt><dd><p>retrieve a Java node from the classname</p></dd></dl><dl><dt class="spec value" id="val-add_missing_callee"><a href="#val-add_missing_callee" class="anchor"></a><code><span class="keyword">val</span> add_missing_callee : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> Javalib_pack.JBasics.method_signature <span>&#45;&gt;</span> unit</code></dt><dd><p>add the class name of method signature to the list of callees</p></dd></dl><dl><dt class="spec value" id="val-set_callee_translated"><a href="#val-set_callee_translated" class="anchor"></a><code><span class="keyword">val</span> set_callee_translated : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>set that the CFG for the procedure has been created</p></dd></dl><dl><dt class="spec value" id="val-iter_missing_callees"><a href="#val-iter_missing_callees" class="anchor"></a><code><span class="keyword">val</span> iter_missing_callees : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <span>f:<span>(<a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> Javalib_pack.JBasics.method_signature <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>