mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-02 02:07:25 +00:00
Namersw (#7167)
* Define and use Namer overloads * more * NamespacedType needs a public string-like overload * Move Rust FieldOffsetName to Namer LegacyRustFieldOffsetName * Started swift * More Namer updates * Remove more usage of the variable 'name' which was semantically overloaded * unshadow varible * Make ptr to bool explicit Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
parent
2b2e8d4aec
commit
8468eab83b
5 changed files with 434 additions and 481 deletions
|
|
@ -49,6 +49,7 @@ Namer::Config PythonDefaultConfig() {
|
|||
/*variable=*/Case::kLowerCamel,
|
||||
/*variants=*/Case::kKeep,
|
||||
/*enum_variant_seperator=*/".",
|
||||
/*escape_keywords=*/Namer::Config::Escape::BeforeConvertingCase,
|
||||
/*namespaces=*/Case::kKeep, // Packages in python.
|
||||
/*namespace_seperator=*/".",
|
||||
/*object_prefix=*/"",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue