file_name_to_module_name/2 | Given a file name of a proto file, turn it into a module name, possibly with name transformations, such as prefix or suffix according to options. |
format_error/1 | |
rename_defs/2 | Rename definitions according to options, for example lowercasing message names. |
rename_module/2 | Given a module name, rename it according to opts, for example by prefixing it. |
file_name_to_module_name(ProtoFileName::string(), Opts::gpb_compile:opts()) -> atom()
Given a file name of a proto file, turn it into a module name, possibly with name transformations, such as prefix or suffix according to options.
format_error(Reason) -> any()
rename_defs(Defs::gpb_parse:defs(), Opts::gpb_compile:opts()) -> {ok, gpb_parse:defs()} | {error, Reason::term()}
Rename definitions according to options, for example lowercasing message names.
rename_module(Mod::atom() | string(), Opts::gpb_compile:opts()) -> atom()
Given a module name, rename it according to opts, for example by prefixing it.
Generated by EDoc