Lines Matching defs:Reference
147 // A reference to another resource. This maps to android::Res_value::TYPE_REFERENCE.
148 // A reference can be symbolic (with the name set to a valid resource name) or be
150 struct Reference : public BaseItem<Reference> {
158 Reference::Type reference_type;
162 Reference();
163 explicit Reference(const ResourceNameRef& n, Type type = Type::kResource);
164 explicit Reference(const ResourceId& i, Type type = Type::kResource);
165 Reference(const ResourceNameRef& n, const ResourceId& i);
169 Reference* Clone(StringPool* new_pool) const override;
173 // Prints the reference without a package name if the package name matches the one given.
177 bool operator<(const Reference&, const Reference&);
178 bool operator==(const Reference&, const Reference&);
293 Reference symbol;
321 Reference key;
327 Maybe<Reference> parent;
362 std::vector<Reference> entries;