MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_attribute_value

Method get_attribute_value

core/io/xml_parser.cpp:416–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416String XMLParser::get_attribute_value(int p_idx) const {
417 ERR_FAIL_INDEX_V(p_idx, attributes.size(), "");
418 return attributes[p_idx].value;
419}
420
421bool XMLParser::has_attribute(const String &p_name) const {
422 for (int i = 0; i < attributes.size(); i++) {

Callers 3

construct_xmlFunction · 0.80
construct_xmlFunction · 0.80
test_xml_parser.hFile · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected