123456789101112131415161718192021222324252627(**********************************************************************)(* *)(* This file is part of the RFSM package *)(* *)(* Copyright (c) 2018-present, Jocelyn SEROT. All rights reserved. *)(* *)(* This source code is licensed under the license found in the *)(* LICENSE file in the root directory of this source tree. *)(* *)(**********************************************************************)(**{1 Annotations} *)type('a,'b)t={mutabledesc:'a;[@main](** Annotated value *)mutabletyp:'b;(** Type annotation (type ['b] will be bound to the guest language type) *)loc:Location.t[@defaultLocation.no_location](** Location in source code *)}[@@derivingmap](** The type [('a,'b) t] is used to attach type and location annotations to values of type ['a]. *)letmk~loc:l~typ:tx={desc=x;typ=t;loc=Location.mkl}