src/developer/debug/zxdb/expr/resolve_collection.cc
ErrOr<FoundMember> FindMemberWithErr(const fxl::RefPtr<EvalContext>& context, const ExprValue& base,
                                     const ParsedIdentifier& identifier) {
  fxl::RefPtr<Type> concrete_base = base.GetConcreteType(context.get());
  if (!concrete_base)
    return Err("No type information for collection.");
  return FindMemberWithErr(concrete_base->AsCollection(), identifier);
}
// Variant of the above that extracts the collection type from the given base value.
Variant of the above that extracts the collection type from the given base value.
Variant of the above that extracts the collection type from the given base value .
ErrOr<FoundMember> FindMemberWithErr(const fxl::RefPtr<EvalContext>& context, const ExprValue& base,
                                     const ParsedIdentifier& identifier) {
  fxl::RefPtr<Type> concrete_base = base.GetConcreteType(context.get());
  if (!concrete_base)
    return Err("No type information for collection.");
  return FindMemberWithErr(concrete_base->AsCollection(), identifier);
}
ErrOr < FoundMember > FindMemberWithErr ( const fxl :: RefPtr < EvalContext > & context , const ExprValue & base , const ParsedIdentifier & identifier ) { fxl :: RefPtr < Type > concrete_base = base . GetConcreteType ( context . get ( ) ) ; if ( ! concrete_base ) return Err ( " " ) ; return FindMemberWithErr ( concrete_base -> AsCollection ( ) , identifier ) ; }
Variant of the above that extracts the collection type from the given base value.
Variant of the above that extracts the collection type from the given base value .