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_defaultSource

Code generator for the default 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

Sourceval gen_record_mutable : gen_file_suffix:string -> module_prefix:string -> Pb_codegen_ocaml_type.record -> Pb_codegen_formatting.scope -> unit
OCaml

Innovation. Community. Security.