package ocaml-protoc
Protobuf compiler for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
2.4.0.tar.gz
md5=8a294e86c6202b8ec8016e71d19264cb
sha512=67020bef50b59c6590c1b25d85a75d6e19d6cd37d42b87c94aef798bff51a45f38fe7024b4c67d71c22c13d3f2776bec83acd77794a518f1c4a7eddfc30b6d0b
doc/ocaml-protoc.compiler-lib/Ocaml_protoc_compiler_lib/Pb_typing_resolution/index.html
Module Ocaml_protoc_compiler_lib.Pb_typing_resolution
Source
Type resolution
This module resolves all the user defined for the protobuf message fields; while built-in types were previously valided in Pb_typing_validation
module.
After this resolution is complete each user defined field type will be a link to a unique message type identify by its id; in other word the type graph will is complete.
If the resolution fails then Pb_exception.Compilation_error
is raised.
Custom container for all the types (message or enums) which are organized by their scope. This allow efficient search of a type given its type path
Source
val resolve_types :
Pb_field_type.unresolved Tt.proto_type list ->
Pb_field_type.resolved Tt.proto_type list
resolve_types types
resolves all the field types for all the types
. If a field cannot be resolved then Pb_exception.Compilation_error
is raised.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>