package ocaml-protoc

  1. Overview
  2. Docs
Pure OCaml compiler for .proto files

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-protoc-4.0.tbz
sha256=88533848ee8ad662bfb063f34932286405977fa3810515b997119b06f05105e4
sha512=df12c71f7181eafc94cd0fc400edf7f258cdd3740a5badafce097f771b7828fed9a9a9c0a457e7e118848a8b1ddd87fe3134a5bdf88d4adcb0d0e04ba6808c5f

doc/ocaml-protoc.compiler-lib/Ocaml_protoc_compiler_lib/Pb_codegen_backend/Internal/index.html

Module Pb_codegen_backend.InternalSource

Internal helpers.

For now there are no guarantees of stability within this module. It's unlikely that the signatures will change, but the possibility is still there.

  • since 2.4
Sourceval is_mutable : ?field_name:string -> Pb_option.set -> bool
Sourceval constructor_name : string -> string
Sourceval module_name : string -> string
Sourceval label_name_of_field_name : string -> string
Sourceval type_name : string list -> string -> string
Sourceval variant_of_oneof : ?include_oneof_name:unit -> outer_message_names:string list -> unsigned_tag:bool -> all_types:'a Tt.proto_type list -> Pb_option.set -> string -> int Tt.oneof -> Ot.variant