1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07: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. *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Printing functions *)
|
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
open Format
|
1996-09-23 04:33:27 -07:00
|
|
|
open Types
|
2001-08-07 05:12:33 -07:00
|
|
|
open Outcometree
|
1995-05-04 03:15:53 -07:00
|
|
|
|
2000-03-06 14:12:09 -08:00
|
|
|
val longident: formatter -> Longident.t -> unit
|
|
|
|
val ident: formatter -> Ident.t -> unit
|
2001-08-07 05:12:33 -07:00
|
|
|
val tree_of_path: Path.t -> out_ident
|
2000-03-06 14:12:09 -08:00
|
|
|
val path: formatter -> Path.t -> unit
|
2003-11-06 17:07:32 -08:00
|
|
|
val raw_type_expr: formatter -> type_expr -> unit
|
1996-04-22 04:15:41 -07:00
|
|
|
val reset: unit -> unit
|
|
|
|
val mark_loops: type_expr -> unit
|
2000-03-06 14:12:09 -08:00
|
|
|
val reset_and_mark_loops: type_expr -> unit
|
|
|
|
val reset_and_mark_loops_list: type_expr list -> unit
|
|
|
|
val type_expr: formatter -> type_expr -> unit
|
2001-08-07 05:12:33 -07:00
|
|
|
val tree_of_type_scheme: type_expr -> out_type
|
2006-04-16 16:28:22 -07:00
|
|
|
val type_sch : formatter -> type_expr -> unit
|
2000-03-06 14:12:09 -08:00
|
|
|
val type_scheme: formatter -> type_expr -> unit
|
2001-10-01 07:09:52 -07:00
|
|
|
(* Maxence *)
|
2001-10-31 07:41:11 -08:00
|
|
|
val reset_names: unit -> unit
|
2001-10-01 07:09:52 -07:00
|
|
|
val type_scheme_max: ?b_reset_names: bool ->
|
2002-01-20 07:12:21 -08:00
|
|
|
formatter -> type_expr -> unit
|
2001-10-01 07:09:52 -07:00
|
|
|
(* Fin Maxence *)
|
2001-08-07 05:12:33 -07:00
|
|
|
val tree_of_value_description: Ident.t -> value_description -> out_sig_item
|
2000-03-06 14:12:09 -08:00
|
|
|
val value_description: Ident.t -> formatter -> value_description -> unit
|
2004-06-12 01:55:49 -07:00
|
|
|
val tree_of_type_declaration: Ident.t -> type_declaration -> rec_status -> out_sig_item
|
2000-03-06 14:12:09 -08:00
|
|
|
val type_declaration: Ident.t -> formatter -> type_declaration -> unit
|
2001-08-07 05:12:33 -07:00
|
|
|
val tree_of_exception_declaration: Ident.t -> exception_declaration -> out_sig_item
|
2000-03-06 14:12:09 -08:00
|
|
|
val exception_declaration: Ident.t -> formatter -> exception_declaration -> unit
|
2004-06-12 01:55:49 -07:00
|
|
|
val tree_of_module: Ident.t -> module_type -> rec_status -> out_sig_item
|
2000-03-06 14:12:09 -08:00
|
|
|
val modtype: formatter -> module_type -> unit
|
|
|
|
val signature: formatter -> signature -> unit
|
2001-08-07 05:12:33 -07:00
|
|
|
val tree_of_modtype_declaration: Ident.t -> modtype_declaration -> out_sig_item
|
2000-03-06 14:12:09 -08:00
|
|
|
val modtype_declaration: Ident.t -> formatter -> modtype_declaration -> unit
|
|
|
|
val class_type: formatter -> class_type -> unit
|
2004-06-12 01:55:49 -07:00
|
|
|
val tree_of_class_declaration: Ident.t -> class_declaration -> rec_status -> out_sig_item
|
2000-03-06 14:12:09 -08:00
|
|
|
val class_declaration: Ident.t -> formatter -> class_declaration -> unit
|
2004-06-12 01:55:49 -07:00
|
|
|
val tree_of_cltype_declaration: Ident.t -> cltype_declaration -> rec_status -> out_sig_item
|
2000-03-06 14:12:09 -08:00
|
|
|
val cltype_declaration: Ident.t -> formatter -> cltype_declaration -> unit
|
|
|
|
val type_expansion: type_expr -> Format.formatter -> type_expr -> unit
|
1999-11-30 08:07:38 -08:00
|
|
|
val prepare_expansion: type_expr * type_expr -> type_expr * type_expr
|
2012-03-23 00:17:42 -07:00
|
|
|
val trace: bool -> string -> formatter -> (type_expr * type_expr) list -> unit
|
1996-05-20 09:43:29 -07:00
|
|
|
val unification_error:
|
2000-03-06 14:12:09 -08:00
|
|
|
bool -> (type_expr * type_expr) list ->
|
|
|
|
(formatter -> unit) -> formatter -> (formatter -> unit) ->
|
|
|
|
unit
|
|
|
|
val report_unification_error:
|
|
|
|
formatter -> (type_expr * type_expr) list ->
|
|
|
|
(formatter -> unit) -> (formatter -> unit) ->
|
|
|
|
unit
|
2001-08-07 23:58:58 -07:00
|
|
|
val report_subtyping_error:
|
|
|
|
formatter -> (type_expr * type_expr) list ->
|
|
|
|
string -> (type_expr * type_expr) list -> unit
|