package ocaml-protoc-plugin

  1. Overview
  2. Docs
type !'a proto_type =
  1. | Proto3
  2. | Proto2 of 'a option
  3. | Required
type packed =
  1. | Packed
  2. | Not_packed
type !_ spec =
  1. | Double : float spec
  2. | Float : float spec
  3. | Int32 : Int32.t spec
  4. | UInt32 : Int32.t spec
  5. | SInt32 : Int32.t spec
  6. | Fixed32 : Int32.t spec
  7. | SFixed32 : Int32.t spec
  8. | Int32_int : int spec
  9. | UInt32_int : int spec
  10. | SInt32_int : int spec
  11. | Fixed32_int : int spec
  12. | SFixed32_int : int spec
  13. | UInt64 : Int64.t spec
  14. | Int64 : Int64.t spec
  15. | SInt64 : Int64.t spec
  16. | Fixed64 : Int64.t spec
  17. | SFixed64 : Int64.t spec
  18. | UInt64_int : int spec
  19. | Int64_int : int spec
  20. | SInt64_int : int spec
  21. | Fixed64_int : int spec
  22. | SFixed64_int : int spec
  23. | Bool : bool spec
  24. | String : string spec
  25. | Bytes : bytes spec
  26. | Enum : (int -> 'a Result.t) -> 'a spec
  27. | Message : (Reader.t -> 'a0 Result.t) -> 'a0 spec
type !_ oneof =
  1. | Oneof_elem : int * 'b spec * ('b -> 'a) -> 'a oneof
type (!'a, !'b) oneof_value = 'a -> 'b
type !_ compound =
  1. | Basic : int * 'a spec * 'a proto_type -> 'a compound
  2. | Basic_opt : int * 'a0 spec -> 'a0 option compound
  3. | Repeated : int * 'a1 spec * packed -> 'a1 list compound
  4. | Oneof : 'a2 oneof list -> 'a2 compound
type (!_, !_) compound_list =
  1. | Nil : ('a, 'a) compound_list
  2. | Cons : 'a0 compound * ('b, 'c) compound_list -> ('a0 -> 'b, 'c) compound_list
module C : sig ... end
OCaml

Innovation. Community. Security.