mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-16 23:56:49 -05:00
2 lines
No EOL
5.2 KiB
HTML
2 lines
No EOL
5.2 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Syntaxerr (ocaml.Syntaxerr)</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> » Syntaxerr</nav><header class="odoc-preamble"><h1>Module <code><span>Syntaxerr</span></code></h1><p>Auxiliary type for reporting syntax errors</p><p><b>Warning:</b> this module is unstable and part of <span class="xref-unresolved">compiler-libs</span>.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-error"><a href="#type-error" class="anchor"></a><code><span><span class="keyword">type</span> error</span><span> = </span></code><ol><li id="type-error.Unclosed" class="def variant constructor anchored"><a href="#type-error.Unclosed" class="anchor"></a><code><span>| </span><span><span class="constructor">Unclosed</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string * <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Expecting" class="def variant constructor anchored"><a href="#type-error.Expecting" class="anchor"></a><code><span>| </span><span><span class="constructor">Expecting</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Not_expecting" class="def variant constructor anchored"><a href="#type-error.Not_expecting" class="anchor"></a><code><span>| </span><span><span class="constructor">Not_expecting</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Applicative_path" class="def variant constructor anchored"><a href="#type-error.Applicative_path" class="anchor"></a><code><span>| </span><span><span class="constructor">Applicative_path</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a></span></code></li><li id="type-error.Variable_in_scope" class="def variant constructor anchored"><a href="#type-error.Variable_in_scope" class="anchor"></a><code><span>| </span><span><span class="constructor">Variable_in_scope</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Other" class="def variant constructor anchored"><a href="#type-error.Other" class="anchor"></a><code><span>| </span><span><span class="constructor">Other</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a></span></code></li><li id="type-error.Ill_formed_ast" class="def variant constructor anchored"><a href="#type-error.Ill_formed_ast" class="anchor"></a><code><span>| </span><span><span class="constructor">Ill_formed_ast</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Invalid_package_type" class="def variant constructor anchored"><a href="#type-error.Invalid_package_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Invalid_package_type</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a> * string</span></code></li><li id="type-error.Removed_string_set" class="def variant constructor anchored"><a href="#type-error.Removed_string_set" class="anchor"></a><code><span>| </span><span><span class="constructor">Removed_string_set</span> <span class="keyword">of</span> <a href="../Location/index.html#type-t">Location.t</a></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Error"><a href="#exception-Error" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Error</span> <span class="keyword">of</span> <a href="#type-error">error</a></span></code></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Escape_error"><a href="#exception-Escape_error" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Escape_error</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-location_of_error"><a href="#val-location_of_error" class="anchor"></a><code><span><span class="keyword">val</span> location_of_error : <span><a href="#type-error">error</a> <span class="arrow">-></span></span> <a href="../Location/index.html#type-t">Location.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-ill_formed_ast"><a href="#val-ill_formed_ast" class="anchor"></a><code><span><span class="keyword">val</span> ill_formed_ast : <span><a href="../Location/index.html#type-t">Location.t</a> <span class="arrow">-></span></span> <span>string <span class="arrow">-></span></span> <span class="type-var">'a</span></span></code></div></div></div></body></html> |