package spin

  1. Overview
  2. Docs
type cst =
  1. | Source of Base.string
  2. | Cfg_str of Base.string * Base.string
  3. | Cfg_int of Base.string * Base.int
  4. | Cfg_float of Base.string * Base.float
  5. | Cfg_list of Base.string * Base.string Base.list
  6. | Cfg_bool of Base.string * Base.bool
val cst_of_sexp : Sexplib0.Sexp.t -> cst
val sexp_of_cst : cst -> Sexplib0.Sexp.t
type t = {
  1. models : (Base.string * Jingoo.Jg_types.tvalue) Base.list;
  2. source : Base.string;
}
type doc = {
  1. source : Base.string;
}
val path : string
val doc_of_cst : cst Base.list -> doc
val t_of_cst : use_defaults:'a -> models:'b -> global_context:'c -> cst Base.list -> t
val cst_of_t : models:(Base.string * Jingoo.Jg_types.tvalue) Base.List.t -> t -> cst Base.list
val save : t -> from_dir:Base.string -> Base.unit
OCaml

Innovation. Community. Security.