module Asttypes:sig
..end
Auxiliary AST types used by parsetree and typedtree.
Warning: this module is unstable and part of compiler-libs.
type
constant =
| |
Const_int of |
| |
Const_char of |
| |
Const_string of |
| |
Const_float of |
| |
Const_int32 of |
| |
Const_int64 of |
| |
Const_nativeint of |
type
rec_flag =
| |
Nonrecursive |
| |
Recursive |
type
direction_flag =
| |
Upto |
| |
Downto |
type
private_flag =
| |
Private |
| |
Public |
type
mutable_flag =
| |
Immutable |
| |
Mutable |
type
virtual_flag =
| |
Virtual |
| |
Concrete |
type
override_flag =
| |
Override |
| |
Fresh |
type
closed_flag =
| |
Closed |
| |
Open |
typelabel =
string
type
arg_label =
| |
Nolabel |
| |
Labelled of |
| |
Optional of |
type'a
loc ='a Location.loc
= {
|
txt : |
|
loc : |
}
type
variance =
| |
Covariant |
| |
Contravariant |
| |
NoVariance |
type
injectivity =
| |
Injective |
| |
NoInjectivity |