package ocaml-protoc

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

Module Ocaml_protoc_compiler_lib.Pb_codegen_backendSource

Compile 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.

Compilation

Sourceval compile : unsigned_tag:bool -> all_types:Pb_field_type.resolved Tt.proto_type list -> Pb_field_type.resolved Tt.proto -> Ot.proto
Sourcemodule Internal : sig ... end

Internal helpers.

OCaml

Innovation. Community. Security.