Home | History | Annotate | Download | only in link

Lines Matching refs:attr

79         for (xml::Attribute& attr : el->attributes) {
81 xml::extractPackageFromNamespace(attr.namespaceUri);
90 Reference attrRef(ResourceNameRef(package, ResourceType::kAttr, attr.name));
94 attr.compiledAttribute = ReferenceLinker::compileXmlAttribute(
98 if (attr.compiledAttribute) {
99 if (attr.compiledAttribute.value().id) {
102 attr.compiledAttribute.value().id.value());
108 const Attribute* attribute = &attr.compiledAttribute.value().attribute;
109 attr.compiledValue = ResourceUtils::parseItemForAttribute(attr.value,
111 if (!attr.compiledValue &&
115 DiagMessage(source) << "'" << attr.value << "' "
117 << package << ":" << attr.name << " "
125 << attr.name << "' " << errStr);
131 attr.compiledValue = ResourceUtils::tryParseReference(attr.value);
134 if (attr.compiledValue) {
136 attr.compiledValue->setSource(source);
137 attr.compiledValue->accept(&mReferenceVisitor);