Lines Matching refs:reference

46  * to the reference object.
84 // Transform the attribute reference so that it is using the fully
86 // name. This will also mark the reference as being able to see private
88 // there was a '*' in the reference or if the package came from the
108 // Link/resolve the final value (mostly if it's a reference).
200 * The symbol is visible if it is public, or if the reference to it is
219 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbol(const Reference& reference,
221 if (reference.name) {
222 return symbols->FindByName(reference.name.value());
223 } else if (reference.id) {
224 return symbols->FindById(reference.id.value());
230 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbolCheckVisibility(const Reference& reference,
234 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, symbols);
240 if (!IsSymbolVisible(*symbol, reference, callsite)) {
248 const Reference& reference, const CallSite& callsite, SymbolTable* symbols,
251 ResolveSymbolCheckVisibility(reference, callsite, symbols, out_error);
263 Maybe<xml::AaptAttribute> ReferenceLinker::CompileXmlAttribute(const Reference& reference,
268 ResolveAttributeCheckVisibility(reference, callsite, symbols, out_error);
295 bool ReferenceLinker::LinkReference(const CallSite& callsite, Reference* reference,
298 CHECK(reference != nullptr);
299 if (!reference->name && !reference->id) {
304 Reference transformed_reference = *reference;
314 reference->id = s->id;
318 DiagMessage error_msg(reference->GetSource());
320 WriteResourceName(&error_msg, *reference, transformed_reference);