package ocaml-protoc-plugin

  1. Overview
  2. Docs
module ExtensionRange : sig ... end
module ReservedRange : sig ... end
val name' : unit -> string
type t = {
  1. name : string option;
  2. field : FieldDescriptorProto.t list;
  3. extension : FieldDescriptorProto.t list;
  4. nested_type : t list;
  5. enum_type : EnumDescriptorProto.t list;
  6. extension_range : ExtensionRange.t list;
  7. oneof_decl : OneofDescriptorProto.t list;
  8. options : MessageOptions.t option;
  9. reserved_range : ReservedRange.t list;
  10. reserved_name : string list;
}
val to_proto : t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t
val from_proto : Ocaml_protoc_plugin.Runtime.Runtime'.Reader.t -> (t, [> Ocaml_protoc_plugin.Runtime.Runtime'.Result.error ]) result
OCaml

Innovation. Community. Security.