221 lines
2.7 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Asttypes - Auxiliary AST types used by parsetree and typedtree.
|
|
<A NAME="lbAC"> </A>
|
|
<H2>Module</H2>
|
|
|
|
Module Asttypes
|
|
<A NAME="lbAD"> </A>
|
|
<H2>Documentation</H2>
|
|
|
|
<P>
|
|
Module
|
|
<B>Asttypes</B>
|
|
|
|
<BR> :
|
|
<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> | Const_int
|
|
<B>of </B>
|
|
|
|
<B>int</B>
|
|
|
|
<BR> | Const_char
|
|
<B>of </B>
|
|
|
|
<B>char</B>
|
|
|
|
<BR> | Const_string
|
|
<B>of </B>
|
|
|
|
<B>string * string option</B>
|
|
|
|
<BR> | Const_float
|
|
<B>of </B>
|
|
|
|
<B>string</B>
|
|
|
|
<BR> | Const_int32
|
|
<B>of </B>
|
|
|
|
<B>int32</B>
|
|
|
|
<BR> | Const_int64
|
|
<B>of </B>
|
|
|
|
<B>int64</B>
|
|
|
|
<BR> | Const_nativeint
|
|
<B>of </B>
|
|
|
|
<B>nativeint</B>
|
|
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type rec_flag </I>
|
|
|
|
=
|
|
<BR> | Nonrecursive
|
|
<BR> | Recursive
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type direction_flag </I>
|
|
|
|
=
|
|
<BR> | Upto
|
|
<BR> | Downto
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type private_flag </I>
|
|
|
|
=
|
|
<BR> | Private
|
|
<BR> | Public
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type mutable_flag </I>
|
|
|
|
=
|
|
<BR> | Immutable
|
|
<BR> | Mutable
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type virtual_flag </I>
|
|
|
|
=
|
|
<BR> | Virtual
|
|
<BR> | Concrete
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type override_flag </I>
|
|
|
|
=
|
|
<BR> | Override
|
|
<BR> | Fresh
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type closed_flag </I>
|
|
|
|
=
|
|
<BR> | Closed
|
|
<BR> | Open
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type label </I>
|
|
|
|
=
|
|
<B>string</B>
|
|
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type arg_label </I>
|
|
|
|
=
|
|
<BR> | Nolabel
|
|
<BR> | Labelled
|
|
<B>of </B>
|
|
|
|
<B>string</B>
|
|
|
|
<BR> | Optional
|
|
<B>of </B>
|
|
|
|
<B>string</B>
|
|
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type </I>
|
|
|
|
<B>'a</B>
|
|
|
|
<I>loc </I>
|
|
|
|
=
|
|
<B>'a Location.loc</B>
|
|
|
|
= {
|
|
<BR> txt :
|
|
<B>'a</B>
|
|
|
|
;
|
|
<BR> loc :
|
|
<B>Location.t</B>
|
|
|
|
;
|
|
<BR> }
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<I>type variance </I>
|
|
|
|
=
|
|
<BR> | Covariant
|
|
<BR> | Contravariant
|
|
<BR> | Invariant
|
|
<BR>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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>
|