Add copyright notices and new function String.chomp
[ocaml.git] / bytecomp / translclass.mli
blob4938278f7e3fd7672268d103fca82fd8fd83e8e2
1 (***********************************************************************)
2 (* *)
3 (* Objective Caml *)
4 (* *)
5 (* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
6 (* *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. All rights reserved. This file is distributed *)
9 (* under the terms of the Q Public License version 1.0. *)
10 (* *)
11 (***********************************************************************)
13 (* $Id$ *)
15 open Typedtree
16 open Lambda
18 val transl_class :
19 Ident.t list -> Ident.t ->
20 int -> string list -> class_expr -> Asttypes.virtual_flag -> lambda;;
22 type error = Illegal_class_expr | Tags of string * string
24 exception Error of Location.t * error
26 open Format
28 val report_error: formatter -> error -> unit