package spin

  1. Overview
  2. Docs
exception Refmt_error of string
type parse_output = {
  1. ast : ast;
  2. comments : Reason_comment.t list;
  3. 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