mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 18:40:01 +00:00
Namerkot (#7245)
* Namer for Kotlin * delete unread cur_name_space_ and apply Namer to filename Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -114,11 +114,15 @@ class Namer {
|
||||
return Method(s.name);
|
||||
}
|
||||
|
||||
virtual std::string Method(const std::string &pre,
|
||||
const std::string &mid,
|
||||
const std::string &suf) const {
|
||||
return Format(pre + "_" + mid + "_" + suf, config_.methods);
|
||||
}
|
||||
virtual std::string Method(const std::string &pre,
|
||||
const std::string &suf) const {
|
||||
return Format(pre + "_" + suf, config_.methods);
|
||||
}
|
||||
|
||||
virtual std::string Method(const std::string &s) const {
|
||||
return Format(s, config_.methods);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user