-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathtranslclass.mli
31 lines (25 loc) · 1.41 KB
/
translclass.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Jerome Vouillon, 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. *)
(* *)
(**************************************************************************)
open Typedtree
open Lambda
open Debuginfo.Scoped_location
val transl_class :
scopes:scopes -> Ident.t list -> Ident.t ->
string list -> class_expr -> Asttypes.virtual_flag ->
lambda * Value_rec_types.recursive_binding_kind
type error = Tags of string * string
exception Error of Location.t * error
open Format
val report_error: formatter -> error -> unit