1996-11-29 08:55:09 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml port by John Malecki and Xavier Leroy *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
open Format
|
|
|
|
|
1996-11-29 08:55:09 -08:00
|
|
|
(* Convert environment summaries to environments *)
|
|
|
|
|
2012-07-30 03:00:10 -07:00
|
|
|
val env_from_summary : Env.summary -> Subst.t -> Env.t
|
1996-11-29 08:55:09 -08:00
|
|
|
|
|
|
|
(* Empty the environment caches. To be called when load_path changes. *)
|
|
|
|
|
|
|
|
val reset_cache: unit -> unit
|
1997-03-25 07:29:39 -08:00
|
|
|
|
2012-07-12 04:02:18 -07:00
|
|
|
val env_of_only_summary : Env.t -> Env.t
|
|
|
|
|
1997-03-25 07:29:39 -08:00
|
|
|
(* Error report *)
|
|
|
|
|
|
|
|
type error =
|
|
|
|
Module_not_found of Path.t
|
|
|
|
|
|
|
|
exception Error of error
|
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
val report_error: formatter -> error -> unit
|