| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
type pp_global_params = { |
| 14 |
margin : int; |
| 15 |
max_indent : int; |
| 16 |
max_depth : int; |
| 17 |
ellipsis : string } |
| 18 |
|
| 19 |
val dflt_gp : pp_global_params |
| 20 |
val deep_gp : pp_global_params |
| 21 |
val set_gp : Format.formatter -> pp_global_params -> unit |
| 22 |
val set_dflt_gp : Format.formatter -> unit |
| 23 |
val get_gp : Format.formatter -> pp_global_params |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
val with_output_to : out_channel -> Format.formatter |
| 28 |
|
| 29 |
val std_ft : Format.formatter ref |
| 30 |
val err_ft : Format.formatter ref |
| 31 |
val deep_ft : Format.formatter ref |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
val set_depth_boxes : int option -> unit |
| 36 |
val get_depth_boxes : unit -> int option |
| 37 |
|
| 38 |
val set_margin : int option -> unit |
| 39 |
val get_margin : unit -> int option |
| 40 |
|
| 41 |
|
| 42 |
val std_logger : ?qf:Quickfix.t list -> ?pre_hdr:Pp.t -> Feedback.level -> Pp.t -> unit |
| 43 |
val emacs_logger : ?qf:Quickfix.t list -> ?pre_hdr:Pp.t -> Feedback.level -> Pp.t -> unit |
| 44 |
|
| 45 |
|
| 46 |
val default_styles : unit -> unit |
| 47 |
val parse_color_config : string -> unit |
| 48 |
val dump_tags : unit -> (string * Terminal.style) list |
| 49 |
val set_emacs_print_strings : unit -> unit |
| 50 |
|
| 51 |
|
| 52 |
val init_terminal_output : color:bool -> unit |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
type execution_phase = |
| 59 |
| ParsingCommandLine |
| 60 |
| Initialization |
| 61 |
| LoadingPrelude |
| 62 |
| LoadingRcFile |
| 63 |
| InteractiveLoop |
| 64 |
| CompilationPhase |
| 65 |
|
| 66 |
val in_phase : phase:execution_phase -> ('a -> 'b) -> 'a -> 'b |
| 67 |
|
| 68 |
val pr_phase : ?loc:Loc.t -> unit -> Pp.t option |
| 69 |
val print_err_exn : exn -> unit |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
val with_output_to_file : truncate:bool -> string -> ('a -> 'b) -> 'a -> 'b |
| 75 |
|
| 76 |
val pr_cmd_header : Vernacexpr.vernac_control -> Pp.t |