mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-16 15:56:21 -05:00
5 lines
No EOL
2.9 KiB
HTML
5 lines
No EOL
2.9 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Topcommon (ocaml.Topcommon)</title><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../index.html">ocaml</a> » Topcommon</nav><header class="odoc-preamble"><h1>Module <code><span>Topcommon</span></code></h1><p>This module provides common implementations for internals of <code>Toploop</code>, for bytecode and native code (see <code>Topeval</code> for the diverging parts of the implementation).</p><p>You should not use it directly, refer to the functions in <code>Toploop</code> instead.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-evaluation_outcome"><a href="#type-evaluation_outcome" class="anchor"></a><code><span><span class="keyword">type</span> evaluation_outcome</span><span> = </span></code><ol><li id="type-evaluation_outcome.Result" class="def variant constructor anchored"><a href="#type-evaluation_outcome.Result" class="anchor"></a><code><span>| </span><span><span class="constructor">Result</span> <span class="keyword">of</span> <a href="../Stdlib/Obj/index.html#type-t">Stdlib.Obj.t</a></span></code></li><li id="type-evaluation_outcome.Exception" class="def variant constructor anchored"><a href="#type-evaluation_outcome.Exception" class="anchor"></a><code><span>| </span><span><span class="constructor">Exception</span> <span class="keyword">of</span> exn</span></code></li></ol></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-backtrace"><a href="#val-backtrace" class="anchor"></a><code><span><span class="keyword">val</span> backtrace : <span><span>string option</span> <a href="../Stdlib/index.html#type-ref">ref</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_mod_use_file"><a href="#val-parse_mod_use_file" class="anchor"></a><code><span><span class="keyword">val</span> parse_mod_use_file :
|
||
<span>string <span class="arrow">-></span></span>
|
||
<span><a href="../Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Parsetree/index.html#type-toplevel_phrase">Parsetree.toplevel_phrase</a> list</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-refill_lexbuf"><a href="#val-refill_lexbuf" class="anchor"></a><code><span><span class="keyword">val</span> refill_lexbuf : <span>bytes <span class="arrow">-></span></span> <span>int <span class="arrow">-></span></span> int</span></code></div></div></div></body></html> |