jon.recoil.org

Module Js_of_ocaml_compiler.Pretty_print

type t
type pos = {
  1. mutable p_line : int;
  2. mutable p_col : int;
}
val string : Js_of_ocaml_compiler.Pretty_print.t -> string -> unit
val genbreak : Js_of_ocaml_compiler.Pretty_print.t -> string -> int -> unit
val non_breaking_space : Js_of_ocaml_compiler.Pretty_print.t -> unit
val space : ?indent:int -> Js_of_ocaml_compiler.Pretty_print.t -> unit
val start_group : Js_of_ocaml_compiler.Pretty_print.t -> int -> unit
val end_group : Js_of_ocaml_compiler.Pretty_print.t -> unit
val set_compact : Js_of_ocaml_compiler.Pretty_print.t -> bool -> unit
val set_needed_space_function : Js_of_ocaml_compiler.Pretty_print.t -> (char -> char -> bool) -> unit
val set_adjust_indentation_function : Js_of_ocaml_compiler.Pretty_print.t -> (int -> int) -> unit