Module Ocaml_parsing.Asttypes
Auxiliary AST types used by parsetree and typedtree.
Warning: this module is unstable and part of compiler-libs.
type constant = | Const_int of int| Const_char of char| Const_string of string * Ocaml_parsing.Location.t * string option| Const_float of string| Const_int32 of int32| Const_int64 of int64| Const_nativeint of nativeint
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
type arg_label = | Nolabel| Labelled of string| Optional of string
This is used only in the Parsetree.
type variance = | Covariant| Contravariant| NoVariance
type injectivity = | Injective| NoInjectivity
type index_kind = | Index_int| Index_unboxed_int64| Index_unboxed_int32| Index_unboxed_int16| Index_unboxed_int8| Index_unboxed_nativeint