package ocaml-protoc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Pure OCaml compiler for .proto files
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-protoc-4.0.tbz
sha256=88533848ee8ad662bfb063f34932286405977fa3810515b997119b06f05105e4
sha512=df12c71f7181eafc94cd0fc400edf7f258cdd3740a5badafce097f771b7828fed9a9a9c0a457e7e118848a8b1ddd87fe3134a5bdf88d4adcb0d0e04ba6808c5f
doc/src/ocaml-protoc.compiler-lib/pb_codegen_plugin.ml.html
Source file pb_codegen_plugin.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26(** Plugin architecture. OCaml-protoc generates code based on a number of plugins, each of which can contribute code to the output files (.ml and .mli). *) type codegen_f = ?and_:unit -> mode:Pb_codegen_mode.t -> Pb_codegen_ocaml_type.type_ -> Pb_codegen_formatting.scope -> bool (** A code generation function *) module type S = sig val gen_sig : codegen_f (** Generate a signature file (.mli) *) val gen_struct : codegen_f (** Generate the implementation (.ml) *) val ocamldoc_title : string (** OCamldoc title *) end type t = (module S) (** A plugin is a code-generator respecting the signature {!S}. *)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>