package ocaml-protoc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Pure OCaml compiler for .proto files
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-protoc-4.0.tbz
sha256=88533848ee8ad662bfb063f34932286405977fa3810515b997119b06f05105e4
sha512=df12c71f7181eafc94cd0fc400edf7f258cdd3740a5badafce097f771b7828fed9a9a9c0a457e7e118848a8b1ddd87fe3134a5bdf88d4adcb0d0e04ba6808c5f
doc/ocaml-protoc.compiler-lib/Ocaml_protoc_compiler_lib/Pb_parsing_util/index.html
Module Ocaml_protoc_compiler_lib.Pb_parsing_utilSource
Parse tree utilities
This module defines convenient function to create and manipulate the parse tree.
Creators
Source
val field :
?options:Pb_raw_option.set ->
label:Pt.message_field_label ->
number:int ->
type_:string ->
string ->
Pt.message_fieldSource
val map_field :
?options:Pb_raw_option.set ->
number:int ->
key_type:string ->
value_type:string ->
string ->
Pt.map_fieldSource
val oneof_field :
?options:Pb_raw_option.set ->
number:int ->
type_:string ->
string ->
Pt.oneof_body_contentSource
val enum_value :
int_value:int ->
?options:Pb_raw_option.set ->
string ->
Pt.enum_body_contentSource
val rpc :
?options:Pb_raw_option.set ->
req_stream:bool ->
req:string ->
res_stream:bool ->
res:string ->
string ->
Pt.rpcSource
val proto :
?syntax:string ->
?file_option:Pb_raw_option.t ->
?package:string ->
?import:Pt.import ->
?message:Pt.message ->
?service:Pt.service ->
?enum:Pt.enum ->
?proto:Pt.proto ->
?extend:Pt.extend ->
unit ->
Pt.protoproto ~message ~proto () will add message to proto and return a the updated proto value.
Miscellaneous functionality
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page