Implement a config based name manager and use it in Rust codegen (#7144)

* Refactor out a  class from Rust Codegen

* Convert GenerateRustModuleRootFile

* git-clang-format

* unused variable

* parenthesis

* update BUILD file

* buildifier

* Delete bfbs_gen_rust.h

* Delete bfbs_gen_rust.cpp

* Addressed some comments

* Namer::EnumVariant

* Remove do not submit; Add Namespace vector overload

* Unshadow variable

* removed redundant variables

* Warn if converting from kKeep case.

Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
Casper
2022-03-05 20:43:57 -05:00
committed by GitHub
parent 8db2fef3f7
commit 65a10b6e32
6 changed files with 602 additions and 445 deletions

File diff suppressed because it is too large Load Diff