src/developer/debug/zxdb/expr/resolve_collection.cc
void DoResolveMember(const fxl::RefPtr<EvalContext>& context, const ExprValue& base,
                     const FoundMember& member, EvalCallback cb) {
  FXL_DCHECK(member.data_member());
  if (member.data_member()->is_external()) {
    // A forward-declared static member. In C++ static members can't be bitfields so we don't handle
    // them.
    return context->GetVariableValue(RefPtrTo(member.data_member()), std::move(cb));
  }

  // Normal nonstatic resolution is synchronous.
  cb(DoResolveNonstaticMember(context, base, member));
}
// As with DoResolveNonstaticMember, this takes a precomputed offset. It is asynchronous to handle
// static data members that may require a memory fetch.
As with DoResolveNonstaticMember, this takes a precomputed offset. It is asynchronous to handle
static data members that may require a memory fetch.
As with DoResolveNonstaticMember this takes a precomputed offset . It is asynchronous to handle static data members that may require a memory fetch .
void DoResolveMember(const fxl::RefPtr<EvalContext>& context, const ExprValue& base,
                     const FoundMember& member, EvalCallback cb) {
  FXL_DCHECK(member.data_member());
  if (member.data_member()->is_external()) {
    return context->GetVariableValue(RefPtrTo(member.data_member()), std::move(cb));
  }
  cb(DoResolveNonstaticMember(context, base, member));
}
void DoResolveMember ( const fxl :: RefPtr < EvalContext > & context , const ExprValue & base , const FoundMember & member , EvalCallback cb ) { FXL_DCHECK ( member . data_member ( ) ) ; if ( member . data_member ( ) -> is_external ( ) ) { return context -> GetVariableValue ( RefPtrTo ( member . data_member ( ) ) , std :: move ( cb ) ) ; } cb ( DoResolveNonstaticMember ( context , base , member ) ) ; }
As with DoResolveNonstaticMember, this takes a precomputed offset.
As with DoResolveNonstaticMember this takes a precomputed offset .
// A forward-declared static member. In C++ static members can't be bitfields so we don't handle // them. // Normal nonstatic resolution is synchronous.