package ocaml-protoc-plugin

  1. Overview
  2. Docs
val name' : unit -> string
type t = {
  1. path : int list;
  2. span : int list;
  3. leading_comments : string option;
  4. trailing_comments : string option;
  5. leading_detached_comments : string list;
}
val make : ?path:int list -> ?span:int list -> ?leading_comments:string -> ?trailing_comments:string -> ?leading_detached_comments:string list -> 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.