Ocaml_protoc_compiler_lib.Pb_codegen_backendSourceCompile protobuf typed tree to the OCaml AST.
This module focuses on the compilation steps which transforms a fully resolved Protobuf message into an OCaml representation.
After compilation this module also expose code generation functionality.
val compile :
unsigned_tag:bool ->
all_types:Pb_field_type.resolved Tt.proto_type list ->
Pb_field_type.resolved Tt.proto ->
Ot.proto