Module Ocaml_protoc_compiler_lib.Pb_codegen_ppSource

Code generator for the pp function

include Pb_codegen_sig.S
Sourceval gen_sig : ?and_:unit -> Pb_codegen_ocaml_type.type_ -> Pb_codegen_formatting.scope -> bool

gen_sig t generates the code for the module signature

Sourceval gen_struct : ?and_:unit -> Pb_codegen_ocaml_type.type_ -> Pb_codegen_formatting.scope -> bool

gen_struct t generates the code for the module structure

Sourceval ocamldoc_title : string

OCamldoc title

Sourceval file_suffix : string

The suffix part of the generated file which will contain the struct and sig