| 29 | } |
| 30 | |
| 31 | std::pair<std::string_view, std::string_view> ParseName(std::string_view name) { |
| 32 | auto pos = name.find("::"); |
| 33 | if (pos == std::string_view::npos) { |
| 34 | return {name, "*"}; |
| 35 | } else { |
| 36 | return {name.substr(0, pos), name.substr(pos + 2, name.size())}; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | std::pair<std::string_view, std::string_view> ParseParam(std::string_view param) { |
| 41 | auto pos = param.find("="); |
no test coverage detected