| 159 | } |
| 160 | |
| 161 | static std::string to_var_name(const std::string& name) { |
| 162 | std::string result = name; |
| 163 | for (size_t i = 0; i < result.size(); ++i) { |
| 164 | if (result[i] == '.') { |
| 165 | result[i] = '_'; |
| 166 | } |
| 167 | } |
| 168 | return result; |
| 169 | } |
| 170 | |
| 171 | static std::string to_cpp_name(const std::string& full_name) { |
| 172 | std::string cname; |
no test coverage detected