package atdgen

  1. Overview
  2. Docs
type biniou_int = [
  1. | `Int16
  2. | `Int32
  3. | `Int64
  4. | `Int8
  5. | `Svint
  6. | `Uvint
]
type biniou_float = [
  1. | `Float32
  2. | `Float64
]
type biniou_list = [
  1. | `Array
  2. | `Table
]
type biniou_field = {
  1. biniou_unwrapped : bool;
}
type biniou_repr = [
  1. | `Bool
  2. | `Cell
  3. | `Def
  4. | `External
  5. | `Field of biniou_field
  6. | `Float of biniou_float
  7. | `Int of biniou_int
  8. | `List of biniou_list
  9. | `Nullable
  10. | `Option
  11. | `Record
  12. | `String
  13. | `Sum
  14. | `Tuple
  15. | `Unit
  16. | `Variant
  17. | `Wrap
]
val biniou_int_of_string : string -> biniou_int option
val biniou_float_of_string : string -> biniou_float option
val biniou_list_of_string : string -> biniou_list option
val get_biniou_int : Atd_annot.t -> biniou_int
val get_biniou_float : Atd_annot.t -> biniou_float
val get_biniou_list : Atd_annot.t -> biniou_list
OCaml

Innovation. Community. Security.