package ocaml-protoc-plugin

  1. Overview
  2. Docs
val name' : unit -> string
type t = {
  1. name : string option;
  2. package : string option;
  3. dependency : string list;
  4. public_dependency : int list;
  5. weak_dependency : int list;
  6. message_type : DescriptorProto.t list;
  7. enum_type : EnumDescriptorProto.t list;
  8. service : ServiceDescriptorProto.t list;
  9. extension : FieldDescriptorProto.t list;
  10. options : FileOptions.t option;
  11. source_code_info : SourceCodeInfo.t option;
  12. syntax : string option;
}
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.