| 136 | } |
| 137 | |
| 138 | std::pair<std::string, BaseType> parseBaseType( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes ) |
| 139 | { |
| 140 | int const line = element->GetLineNum(); |
| 141 | checkAttributes( "vk.xml", line, attributes, { { "category", { "basetype" } } }, {} ); |
| 142 | |
| 143 | // we're ignoring all the text nodes in between, as they are just some C-text with ifdefs and such |
| 144 | auto [name, type] = parseNameAndType( element ); |
| 145 | return { name, { .type = type, .xmlLine = line } }; |
| 146 | } |
| 147 | |
| 148 | CategoryAlias parseCategoryAlias( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes, std::string const & category ) |
| 149 | { |
no test coverage detected