Lines Matching refs:memberExpr
86 const auto *memberExpr = Node()->AsMemberExpression();
88 if (memberExpr->Object()->IsSuperExpression()) {
90 } else if (memberExpr->IsPrivateReference()) {
93 Function::LoadClassContexts(Node(), pg_, privateCtor_, memberExpr->Property()->AsIdentifier()->Name());
97 memberExpr->Object()->Compile(pg_);
100 prop_ = pg_->ToNamedPropertyKey(memberExpr->Property(), memberExpr->IsComputed());
109 memberExpr->Property()->Compile(pg_);
184 const auto *memberExpr = Node()->AsMemberExpression();
185 staticObjRef_ = memberExpr->Object()->TsType();
186 if (!memberExpr->IsComputed() && etsg_->Checker()->IsVariableStatic(memberExpr->PropVar()) &&
191 TargetTypeContext ttctx(etsg_, memberExpr->Object()->TsType());
192 memberExpr->Object()->Compile(etsg_);
196 if (memberExpr->IsComputed()) {
197 TargetTypeContext pttctx(etsg_, memberExpr->Property()->TsType());
198 memberExpr->Property()->Compile(etsg_);
199 etsg_->ApplyConversion(memberExpr->Property());
290 void ETSLReference::SetValueComputed(const ir::MemberExpression *memberExpr) const
292 const auto *const objectType = memberExpr->Object()->TsType();
313 void ETSLReference::SetValueGetterSetter(const ir::MemberExpression *memberExpr) const
315 const auto *sig = memberExpr->PropVar()->TsType()->AsETSFunctionType()->FindSetter();
334 const auto *const memberExpr = Node()->AsMemberExpression();
335 const auto *const memberExprTsType = memberExpr->Object()->TsType()->IsETSTupleType()
336 ? memberExpr->Object()->TsType()->AsETSTupleType()->ElementType()
337 : memberExpr->TsType();
339 if (!memberExpr->IsIgnoreBox()) {
343 if (memberExpr->IsComputed()) {
344 SetValueComputed(memberExpr);
348 if (memberExpr->PropVar()->TsType()->HasTypeFlag(checker::TypeFlag::GETTER_SETTER)) {
349 SetValueGetterSetter(memberExpr);
353 const auto &propName = memberExpr->Property()->AsIdentifier()->Name();
354 if (memberExpr->PropVar()->HasFlag(varbinder::VariableFlags::STATIC)) {
366 auto const *objectType = memberExpr->Object()->TsType();
378 const auto *type = memberExpr->PropVar()->TsType();