1 (**************************************************************************)
2 (* *)
3 (* OCaml *)
4 (* *)
5 (* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
6 (* *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. *)
9 (* *)
10 (* All rights reserved. This file is distributed under the terms of *)
11 (* the GNU Lesser General Public License version 2.1, with the *)
12 (* special exception on linking described in the file LICENSE. *)
13 (* *)
14 (**************************************************************************)
15
16 open Lambda
17
18 val oo_prim: string -> lambda
19
20 val share: structured_constant -> lambda
21 val meth: lambda -> string -> lambda * lambda list
22
23 val reset_labels: unit -> unit
24 val transl_label_init: (unit -> lambda * 'a) -> lambda * 'a
25 val transl_store_label_init:
26 Ident.t -> int -> ('a -> lambda) -> 'a -> int * lambda
27
28 val method_ids: Ident.Set.t ref (* reset when starting a new wrapper *)
29
30 val oo_wrap: Env.t -> bool -> ('a -> lambda) -> 'a -> lambda
31 val oo_add_class: Ident.t -> Env.t * bool
32
33 val reset: unit -> unit
34