package spin

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Spin_refmt

exception Refmt_error of string
type ast =
  1. | Impl of Reason_toolchain_conf.Parsetree.structure
  2. | Intf of Reason_toolchain_conf.Parsetree.signature_item list
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
OCaml

Innovation. Community. Security.