Module Refmt_lib.Printer_maker

type parse_itype = [
  1. | `ML
  2. | `Reason
  3. | `Binary
  4. | `BinaryReason
  5. | `Auto
]
type print_itype = [
  1. | `ML
  2. | `Reason
  3. | `Binary
  4. | `BinaryReason
  5. | `AST
  6. | `None
]
exception Invalid_config of string
module type PRINTER = sig ... end
val err : string -> 'a
val prepare_output_file : string option -> out_channel
val close_output_file : 'a option -> out_channel -> unit
val ocamlBinaryParser : bool -> string -> ('a * 'b list) * bool * bool
val reasonBinaryParser : bool -> string -> ('a * 'b) * 'c * 'd