123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172(**************************************************************************)(* *)(* OCaml *)(* *)(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)(* *)(* Copyright 1996 Institut National de Recherche en Informatique et *)(* en Automatique. *)(* *)(* All rights reserved. This file is distributed under the terms of *)(* the GNU Lesser General Public License version 2.1, with the *)(* special exception on linking described in the file LICENSE. *)(* *)(**************************************************************************)(** Auxiliary AST types used by parsetree and typedtree.
{b Warning:} this module is unstable and part of
{{!Compiler_libs}compiler-libs}.
*)typeconstant=Const_intofint|Const_charofchar|Const_stringofstring*Location.t*stringoption|Const_floatofstring|Const_int32ofint32|Const_int64ofint64|Const_nativeintofnativeinttyperec_flag=Nonrecursive|Recursivetypedirection_flag=Upto|Downto(* Order matters, used in polymorphic comparison *)typeprivate_flag=Private|Publictypemutable_flag=Immutable|Mutabletypevirtual_flag=Virtual|Concretetypeoverride_flag=Override|Freshtypeclosed_flag=Closed|Opentypelabel=stringtypearg_label=Nolabel|Labelledofstring(** [label:T -> ...] *)|Optionalofstring(** [?label:T -> ...] *)type'aloc='aLocation.loc={txt:'a;loc:Location.t;}typevariance=|Covariant|Contravariant|NoVariancetypeinjectivity=|Injective|NoInjectivityletstring_of_label=functionNolabel->""|Labelleds->s|Optionals->"?"^s