spin.refmt
Spin_refmt
spin
spin.std
spin.template
exception Refmt_error of string
type ast =
| Impl of Reason_toolchain_conf.Parsetree.structure
| Intf of Reason_toolchain_conf.Parsetree.signature_item list
type parse_output = {
ast : ast;
comments : Reason_comment.t list;
parsed_as_ml : bool;
}
val parse : string -> parse_output
val print : string -> parse_output -> Format.formatter -> unit
val prepare_output_file : string -> out_channel
val close_output_file : out_channel -> unit
val output_of_input_file : string -> string
val convert : string -> unit