Convert an underscore_based_identifier in to screaming snake case.
| 109 | |
| 110 | // Convert an underscore_based_identifier in to screaming snake case. |
| 111 | std::string MakeScreamingCamel(const std::string &in) { |
| 112 | std::string s; |
| 113 | for (size_t i = 0; i < in.length(); i++) { |
| 114 | if (in[i] != '_') |
| 115 | s += CharToUpper(in[i]); |
| 116 | else |
| 117 | s += in[i]; |
| 118 | } |
| 119 | return s; |
| 120 | } |
| 121 | |
| 122 | void DeserializeDoc(std::vector<std::string> &doc, |
| 123 | const Vector<Offset<String>> *documentation) { |
nothing calls this directly
no test coverage detected