man-pages/man3/Syntaxerr.3o.html
2021-03-31 01:06:50 +01:00

139 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Syntaxerr</TITLE>
</HEAD><BODY>
<H1>Syntaxerr</H1>
Section: OCaml library (3o)<BR>Updated: 2020-01-30<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Syntaxerr - Auxiliary type for reporting syntax errors
<A NAME="lbAC">&nbsp;</A>
<H2>Module</H2>
Module Syntaxerr
<A NAME="lbAD">&nbsp;</A>
<H2>Documentation</H2>
<P>
Module
<B>Syntaxerr</B>
<BR>&nbsp;:&nbsp;
<B>sig end</B>
<P>
<P>
Auxiliary type for reporting syntax errors
<P>
Warning: this module is unstable and part of
<B>Compiler_libs</B>
.
<P>
<P>
<P>
<P>
<P>
<I>type error </I>
=
<BR>&nbsp;|&nbsp;Unclosed
<B>of </B>
<B>Location.t * string * Location.t * string</B>
<BR>&nbsp;|&nbsp;Expecting
<B>of </B>
<B>Location.t * string</B>
<BR>&nbsp;|&nbsp;Not_expecting
<B>of </B>
<B>Location.t * string</B>
<BR>&nbsp;|&nbsp;Applicative_path
<B>of </B>
<B>Location.t</B>
<BR>&nbsp;|&nbsp;Variable_in_scope
<B>of </B>
<B>Location.t * string</B>
<BR>&nbsp;|&nbsp;Other
<B>of </B>
<B>Location.t</B>
<BR>&nbsp;|&nbsp;Ill_formed_ast
<B>of </B>
<B>Location.t * string</B>
<BR>&nbsp;|&nbsp;Invalid_package_type
<B>of </B>
<B>Location.t * string</B>
<BR>&nbsp;
<P>
<P>
<P>
<P>
<I>exception Error </I>
<B>of </B>
<B>error</B>
<P>
<P>
<P>
<P>
<P>
<I>exception Escape_error </I>
<P>
<P>
<P>
<P>
<P>
<I>val location_of_error </I>
:
<B>error -&gt; Location.t</B>
<P>
<P>
<P>
<P>
<I>val ill_formed_ast </I>
:
<B>Location.t -&gt; string -&gt; 'a</B>
<P>
<P>
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">Module</A><DD>
<DT id="3"><A HREF="#lbAD">Documentation</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:58 GMT, March 31, 2021
</BODY>
</HTML>