package ocaml-protoc-plugin

  1. Overview
  2. Docs
val name' : unit -> string
type t = {
  1. name : string;
  2. fields : Field.t list;
  3. oneofs : string list;
  4. options : Option.t list;
  5. source_context : Source_context.Google.Protobuf.SourceContext.t option;
  6. syntax : Syntax.t;
}
val make : ?name:string -> ?fields:Field.t list -> ?oneofs:string list -> ?options:Option.t list -> ?source_context:Source_context.Google.Protobuf.SourceContext.t -> ?syntax:Syntax.t -> unit -> t
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.