procedure
( proto-string->symbol str[prefix])→symbol?
str:string?prefix:any/c=#f
Camel case words are separated by - characters.
The entire string is converted to lower case.
Any occurrence of _ is replaced by -.
An is- prefix is replaced by a ? suffix.
The prefix, if present, is stringified and prepended to the identifier separated by :.
procedure
( register-types! typesproto)→void?
types:(hash/cstring?(cons/csymbol?symbol?)#:immutable#f)proto:file-descriptor-proto?
procedure
( register-enum-type! typesproto)→void?
types:(hash/cstring?(cons/csymbol?symbol?)#:immutable#f)proto:enum-descriptor-proto?
procedure
( register-message-types! typesproto)→void?
types:(hash/cstring?(cons/csymbol?symbol?)#:immutable#f)proto:descriptor-proto?
procedure
( type-ref typespackagename)→(cons/csymbol?symbol?)
types:(hash/cstring?(cons/csymbol?symbol?))package:string?name:string?
procedure
( translate-types typesproto)→list?
types:(hash/cstring?(cons/csymbol?symbol?))proto:file-descriptor-proto?
procedure
( translate-enum-type typespackageproto)→any/c
types:(hash/cstring?(cons/csymbol?symbol?))package:(or/cstring?#f)proto:enum-descriptor-proto?
procedure
packageproto) → list?types:(hash/cstring?(cons/csymbol?symbol?))package:(or/cstring?#f)proto:descriptor-proto?
procedure
( translate-extension typespackageproto)→any/c
types:(hash/cstring?(cons/csymbol?symbol?))package:(or/cstring?#f)proto:field-descriptor-proto?
procedure
( generate-racket req)→code-generator-response?
req:code-generator-request?