| 593 | } |
| 594 | |
| 595 | bool cmVisualStudioSlnParser::ParseSingleValueTag(std::string const& line, |
| 596 | ParsedLine& parsedLine, |
| 597 | State& state) |
| 598 | { |
| 599 | size_t idxEqualSign = line.find('='); |
| 600 | auto fullTag = cm::string_view(line).substr(0, idxEqualSign); |
| 601 | if (!this->ParseTag(fullTag, parsedLine, state)) { |
| 602 | return false; |
| 603 | } |
| 604 | if (idxEqualSign != std::string::npos) { |
| 605 | if (!this->ParseValue(line.substr(idxEqualSign + 1), parsedLine)) { |
| 606 | return false; |
| 607 | } |
| 608 | } |
| 609 | return true; |
| 610 | } |
| 611 | |
| 612 | bool cmVisualStudioSlnParser::ParseKeyValuePair(std::string const& line, |
| 613 | ParsedLine& parsedLine, |
no test coverage detected