package atdgen

  1. Overview
  2. Docs
type biniou_int = [
  1. | `Svint
  2. | `Uvint
  3. | `Int8
  4. | `Int16
  5. | `Int32
  6. | `Int64
]
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. | `Unit
  2. | `Bool
  3. | `Int of biniou_int
  4. | `Float of biniou_float
  5. | `String
  6. | `Sum
  7. | `Record
  8. | `Tuple
  9. | `List of biniou_list
  10. | `Option
  11. | `Nullable
  12. | `Wrap
  13. | `External
  14. | `Cell
  15. | `Field of biniou_field
  16. | `Variant
  17. | `Def
]
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.