package ocaml-protoc
Module Ocaml_protoc_compiler_lib.Pb_codegen_defaultSource
Code generator for the default function
include Pb_codegen_sig.S
Source
val gen_sig :
?and_:unit ->
Pb_codegen_ocaml_type.type_ ->
Pb_codegen_formatting.scope ->
boolgen_sig t generates the code for the module signature
Source
val gen_struct :
?and_:unit ->
Pb_codegen_ocaml_type.type_ ->
Pb_codegen_formatting.scope ->
boolgen_struct t generates the code for the module structure
OCamldoc title
The suffix part of the generated file which will contain the struct and sig
Source
val gen_record_mutable :
gen_file_suffix:string ->
module_prefix:string ->
Pb_codegen_ocaml_type.record ->
Pb_codegen_formatting.scope ->
unit