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

221 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Asttypes</TITLE>
</HEAD><BODY>
<H1>Asttypes</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>
Asttypes - Auxiliary AST types used by parsetree and typedtree.
<A NAME="lbAC">&nbsp;</A>
<H2>Module</H2>
Module Asttypes
<A NAME="lbAD">&nbsp;</A>
<H2>Documentation</H2>
<P>
Module
<B>Asttypes</B>
<BR>&nbsp;:&nbsp;
<B>sig end</B>
<P>
<P>
Auxiliary AST types used by parsetree and typedtree.
<P>
Warning: this module is unstable and part of
<B>Compiler_libs</B>
.
<P>
<P>
<P>
<P>
<P>
<I>type constant </I>
=
<BR>&nbsp;|&nbsp;Const_int
<B>of </B>
<B>int</B>
<BR>&nbsp;|&nbsp;Const_char
<B>of </B>
<B>char</B>
<BR>&nbsp;|&nbsp;Const_string
<B>of </B>
<B>string * string option</B>
<BR>&nbsp;|&nbsp;Const_float
<B>of </B>
<B>string</B>
<BR>&nbsp;|&nbsp;Const_int32
<B>of </B>
<B>int32</B>
<BR>&nbsp;|&nbsp;Const_int64
<B>of </B>
<B>int64</B>
<BR>&nbsp;|&nbsp;Const_nativeint
<B>of </B>
<B>nativeint</B>
<BR>&nbsp;
<P>
<P>
<P>
<I>type rec_flag </I>
=
<BR>&nbsp;|&nbsp;Nonrecursive
<BR>&nbsp;|&nbsp;Recursive
<BR>&nbsp;
<P>
<P>
<P>
<I>type direction_flag </I>
=
<BR>&nbsp;|&nbsp;Upto
<BR>&nbsp;|&nbsp;Downto
<BR>&nbsp;
<P>
<P>
<P>
<I>type private_flag </I>
=
<BR>&nbsp;|&nbsp;Private
<BR>&nbsp;|&nbsp;Public
<BR>&nbsp;
<P>
<P>
<P>
<I>type mutable_flag </I>
=
<BR>&nbsp;|&nbsp;Immutable
<BR>&nbsp;|&nbsp;Mutable
<BR>&nbsp;
<P>
<P>
<P>
<I>type virtual_flag </I>
=
<BR>&nbsp;|&nbsp;Virtual
<BR>&nbsp;|&nbsp;Concrete
<BR>&nbsp;
<P>
<P>
<P>
<I>type override_flag </I>
=
<BR>&nbsp;|&nbsp;Override
<BR>&nbsp;|&nbsp;Fresh
<BR>&nbsp;
<P>
<P>
<P>
<I>type closed_flag </I>
=
<BR>&nbsp;|&nbsp;Closed
<BR>&nbsp;|&nbsp;Open
<BR>&nbsp;
<P>
<P>
<P>
<I>type label </I>
=
<B>string</B>
<P>
<P>
<P>
<P>
<I>type arg_label </I>
=
<BR>&nbsp;|&nbsp;Nolabel
<BR>&nbsp;|&nbsp;Labelled
<B>of </B>
<B>string</B>
<BR>&nbsp;|&nbsp;Optional
<B>of </B>
<B>string</B>
<BR>&nbsp;
<P>
<P>
<P>
<I>type </I>
<B>'a</B>
<I>loc </I>
=
<B>'a Location.loc</B>
= {
<BR>&nbsp;txt&nbsp;:&nbsp;
<B>'a</B>
;
<BR>&nbsp;loc&nbsp;:&nbsp;
<B>Location.t</B>
;
<BR>&nbsp;}
<P>
<P>
<P>
<P>
<I>type variance </I>
=
<BR>&nbsp;|&nbsp;Covariant
<BR>&nbsp;|&nbsp;Contravariant
<BR>&nbsp;|&nbsp;Invariant
<BR>&nbsp;
<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:36 GMT, March 31, 2021
</BODY>
</HTML>