package ocaml-protoc

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocaml_protoc_compiler_lib.Pb_codegen_allSource

Generate all the code for a given OCaml module.

Sourcemodule Plugin = Pb_codegen_plugin
Sourcetype ocaml_mod = {
  1. ml : F.scope;
  2. mli : F.scope;
}
Sourceval codegen : Ot.proto -> generate_make:bool -> proto_file_options:Pb_option.set -> proto_file_name:string -> services:bool -> Plugin.t list -> ocaml_mod

codegen types returns a full code listing for the .ml and the .mli files.

OCaml

Innovation. Community. Security.