package ocaml-protoc-plugin

  1. Overview
  2. Docs
val name' : unit -> string
type t = {
  1. path : int list;
  2. source_file : string option;
  3. begin' : int option;
  4. end' : int option;
}
val make : ?path:int list -> ?source_file:string -> ?begin':int -> ?end':int -> 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 ]) Stdlib.result