-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathprintval.mli
34 lines (29 loc) · 1.65 KB
/
printval.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
32
33
34
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
(* OCaml port by John Malecki and Xavier Leroy *)
(* *)
(* 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 Format
val max_printer_depth : int ref
val max_printer_steps : int ref
val print_exception: formatter -> Debugcom.Remote_value.t -> unit
val print_named_value :
int -> Parser_aux.expression -> Env.t ->
Debugcom.Remote_value.t -> formatter -> Types.type_expr ->
unit
val reset_named_values : unit -> unit
val find_named_value : int -> Debugcom.Remote_value.t * Types.type_expr
val install_printer :
Path.t -> Types.type_expr -> formatter ->
(formatter -> Obj.t -> unit) -> unit
val remove_printer : Path.t -> unit