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.4 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>JSourceAST (infer.JavaFrontend.JSourceAST)</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; JSourceAST</nav><h1>Module <code>JavaFrontend.JSourceAST</code></h1></header><dl><dt class="spec type" id="type-location"><a href="#type-location" class="anchor"></a><code><span class="keyword">type</span> location</code><code> = </code><code>{</code><table class="record"><tr id="type-location.line" class="anchored"><td class="def field"><a href="#type-location.line" class="anchor"></a><code>line : int;</code></td></tr><tr id="type-location.col" class="anchored"><td class="def field"><a href="#type-location.col" class="anchor"></a><code>col : int;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-class_kind"><a href="#type-class_kind" class="anchor"></a><code><span class="keyword">type</span> class_kind</code><code> = </code><table class="variant"><tr id="type-class_kind.Class" class="anchored"><td class="def constructor"><a href="#type-class_kind.Class" class="anchor"></a><code>| </code><code><span class="constructor">Class</span> <span class="keyword">of</span> string</code></td></tr><tr id="type-class_kind.Interface" class="anchored"><td class="def constructor"><a href="#type-class_kind.Interface" class="anchor"></a><code>| </code><code><span class="constructor">Interface</span> <span class="keyword">of</span> string</code></td></tr><tr id="type-class_kind.AnonymousClass" class="anchored"><td class="def constructor"><a href="#type-class_kind.AnonymousClass" class="anchor"></a><code>| </code><code><span class="constructor">AnonymousClass</span></code></td></tr><tr id="type-class_kind.Enum" class="anchored"><td class="def constructor"><a href="#type-class_kind.Enum" class="anchor"></a><code>| </code><code><span class="constructor">Enum</span> <span class="keyword">of</span> string</code></td></tr></table></dt><dt class="spec type" id="type-class_or_interface"><a href="#type-class_or_interface" class="anchor"></a><code><span class="keyword">type</span> class_or_interface</code><code> = </code><code>{</code><table class="record"><tr id="type-class_or_interface.location" class="anchored"><td class="def field"><a href="#type-class_or_interface.location" class="anchor"></a><code>location : <a href="index.html#type-location">location</a>;</code></td></tr><tr id="type-class_or_interface.kind" class="anchored"><td class="def field"><a href="#type-class_or_interface.kind" class="anchor"></a><code>kind : <a href="index.html#type-class_kind">class_kind</a>;</code></td></tr><tr id="type-class_or_interface.inner_elements" class="anchored"><td class="def field"><a href="#type-class_or_interface.inner_elements" class="anchor"></a><code>inner_elements : <span><a href="index.html#type-class_or_interface">class_or_interface</a> list</span>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-file_content"><a href="#type-file_content" class="anchor"></a><code><span class="keyword">type</span> file_content</code><code> = </code><code>{</code><table class="record"><tr id="type-file_content.package" class="anchored"><td class="def field"><a href="#type-file_content.package" class="anchor"></a><code>package : <span>string option</span>;</code></td></tr><tr id="type-file_content.classes" class="anchored"><td class="def field"><a href="#type-file_content.classes" class="anchor"></a><code>classes : <span><a href="index.html#type-class_or_interface">class_or_interface</a> list</span>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-iter_on_declarations"><a href="#val-iter_on_declarations" class="anchor"></a><code><span class="keyword">val</span> iter_on_declarations : <span>action_on_class_location:<span>(<span>classname:string</span> <span>&#45;&gt;</span> <span>col:int</span> <span>&#45;&gt;</span> <span>line:int</span> <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> <a href="index.html#type-file_content">file_content</a> <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>