Home
last modified time | relevance | path

Searched refs:propExpr (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Ddestructuring.cpp152 static std::tuple<const ir::Expression *, const ir::Expression *> GetAssignmentTarget(const ir::Property *propExpr) in GetAssignmentTarget() argument
155 const ir::Expression *target = propExpr->Value(); in GetAssignmentTarget()
209 const ir::Property *propExpr = element->AsProperty(); in GenObjectWithRest() local
210 const ir::Expression *key = propExpr->Key(); in GenObjectWithRest()
211 const auto [init, target] = GetAssignmentTarget(propExpr); in GenObjectWithRest()
253 const ir::Property *propExpr = element->AsProperty(); in GenObject() local
254 const ir::Expression *key = propExpr->Key(); in GenObject()
255 const auto [init, target] = GetAssignmentTarget(propExpr); in GenObject()
257 Operand propOperand = pg->ToOwnPropertyKey(key, propExpr->IsComputed()); in GenObject()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Ddestructuring.cpp131 const ir::Property *propExpr = element->AsProperty(); in GenObjectProperty() local
134 const ir::Expression *key = propExpr->Key(); in GenObjectProperty()
135 const ir::Expression *target = propExpr->Value(); in GenObjectProperty()
147 if (key->IsIdentifier() && !propExpr->IsComputed()) { in GenObjectProperty()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DobjectLiteralLowering.cpp125 for (auto *propExpr : objExpr->Properties()) { in GenerateNewStatements()
126 ASSERT(propExpr->IsProperty()); in GenerateNewStatements()
127 auto *prop = propExpr->AsProperty(); in GenerateNewStatements()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzer.cpp1451 for (ir::Expression *propExpr : expr->Properties()) { in Check()
1452 ASSERT(propExpr->IsProperty()); in Check()
1453 ir::Property *prop = propExpr->AsProperty(); in Check()
1519 for (ir::Expression *propExpr : expr->Properties()) { in CheckObjectExprProps()
1520 ASSERT(propExpr->IsProperty()); in CheckObjectExprProps()
1521 ir::Property *prop = propExpr->AsProperty(); in CheckObjectExprProps()
1537 checker->LogTypeError({"type ", objType->Name(), " has no property named ", pname}, propExpr->Start()); in CheckObjectExprProps()
1540 checker->ValidatePropertyAccess(lv, objType, propExpr->Start()); in CheckObjectExprProps()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp1140 for (ir::Expression *propExpr : expr->Properties()) { in Compile()
1141 ASSERT(propExpr->IsProperty()); in Compile()
1142 ir::Property *prop = propExpr->AsProperty(); in Compile()

Completed in 9 milliseconds