Lines Matching refs:ref
43 LoggingResourceName(const Reference& ref, const CallSite& callsite, in LoggingResourceName()
45 : ref_(ref), callsite_(callsite), decls_(decls) { in LoggingResourceName()
82 if (auto ref = ValueCast<Reference>(linked_item_ptr)) { in TransformDerived() local
83 return std::unique_ptr<Reference>(ref); in TransformDerived()
227 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible() argument
229 if (symbol.is_public || ref.private_reference) { in IsSymbolVisible()
233 if (ref.name) { in IsSymbolVisible()
234 const ResourceName& name = ref.name.value(); in IsSymbolVisible()
245 if (ref.id && symbol.id) { in IsSymbolVisible()
246 return ref.id.value().package_id() == symbol.id.value().package_id(); in IsSymbolVisible()
343 void ReferenceLinker::WriteAttributeName(const Reference& ref, const CallSite& callsite, in WriteAttributeName() argument
347 if (!ref.name) { in WriteAttributeName()
348 *out_msg << ref.id.value(); in WriteAttributeName()
352 const ResourceName& ref_name = ref.name.value(); in WriteAttributeName()
360 Reference fully_qualified = ref; in WriteAttributeName()
368 if (full_name != ref.name.value()) { in WriteAttributeName()
432 if (auto ref = ValueCast<Reference>(new_value.get())) { in LinkReference() local
433 return LinkReference(callsite, *ref, context, symbols, table, decls); in LinkReference()