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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>LineReader (infer.IBase.LineReader)</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> » <a href="../index.html">IBase</a> » LineReader</nav><h1>Module <code>IBase.LineReader</code></h1></header><aside><p>Module to read specific lines from files. The data from any file will stay in memory until the handle is collected by the gc</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt></dl><dl><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val</span> create : unit <span>-></span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-from_loc"><a href="#val-from_loc" class="anchor"></a><code><span class="keyword">val</span> from_loc : <a href="index.html#type-t">t</a> <span>-></span> <a href="../Location/index.html#type-t">Location.t</a> <span>-></span> <span>string option</span></code></dt><dd><p>get the line from a location looking for the copy of the file in the results dir</p></dd></dl><dl><dt class="spec value" id="val-iteri"><a href="#val-iteri" class="anchor"></a><code><span class="keyword">val</span> iteri : <a href="index.html#type-t">t</a> <span>-></span> <a href="../SourceFile/index.html#type-t">SourceFile.t</a> <span>-></span> <span>f:<span>(int <span>-></span> string <span>-></span> unit)</span></span> <span>-></span> unit</code></dt><dd><p>iterate on the lines of the file, with line numbers</p></dd></dl></div></body></html>
|