Home
last modified time | relevance | path

Searched refs:ObjectFlags (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
DobjectType.h40 enum class ObjectFlags { enum
48 DEFINE_BITOPS(ObjectFlags) in DEFINE_BITOPS() argument
83 : Type(TypeFlag::OBJECT), kind_(kind), desc_(nullptr), objFlag_(ObjectFlags::NO_OPTS) in DEFINE_BITOPS()
88 : Type(TypeFlag::OBJECT), kind_(kind), desc_(desc), objFlag_(ObjectFlags::NO_OPTS) in DEFINE_BITOPS()
168 void AddObjectFlag(ObjectFlags flag) in DEFINE_BITOPS()
173 void RemoveObjectFlag(ObjectFlags flag) in DEFINE_BITOPS()
178 bool HasObjectFlag(ObjectFlags flag) const in DEFINE_BITOPS()
201 ObjectFlags objFlag_; in DEFINE_BITOPS()
DobjectType.cpp227 if (sourceObj->HasObjectFlag(ObjectFlags::CHECK_EXCESS_PROPS)) { in AssignmentTarget()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dobject.cpp160 mergedType->AddObjectFlag(ObjectFlags::RESOLVED_MEMBERS); in ResolveUnionTypeMembers()
166 if (type->HasObjectFlag(ObjectFlags::RESOLVED_MEMBERS)) { in ResolveInterfaceOrClassTypeMembers()
173 type->AddObjectFlag(ObjectFlags::RESOLVED_MEMBERS); in ResolveInterfaceOrClassTypeMembers()
178 if (!type->IsObjectLiteralType() || type->HasObjectFlag(ObjectFlags::RESOLVED_MEMBERS)) { in ResolveObjectTypeMembers()
191 type->AddObjectFlag(ObjectFlags::RESOLVED_MEMBERS); in ResolveObjectTypeMembers()
445 if (type->HasObjectFlag(ObjectFlags::RESOLVED_BASE_TYPES)) { in GetBaseTypes()
500 type->AddObjectFlag(ObjectFlags::RESOLVED_BASE_TYPES); in GetBaseTypes()
507 if (type->HasObjectFlag(ObjectFlags::RESOLVED_DECLARED_MEMBERS)) { in ResolveDeclaredMembers()
522 type->AddObjectFlag(ObjectFlags::RESOLVED_DECLARED_MEMBERS); in ResolveDeclaredMembers()
DdestructuringContext.cpp551 returnType->AsObjectType()->AddObjectFlag(ObjectFlags::RESOLVED_MEMBERS); in CreateObjectTypeForRest()
Dfunction.cpp202 newObject->AddObjectFlag(ObjectFlags::RESOLVED_MEMBERS); in CreateParameterTypeForObjectAssignmentPattern()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DobjectExpression.cpp577 returnType->AsObjectType()->AddObjectFlag(checker::ObjectFlags::RESOLVED_MEMBERS); in CheckPattern()
740 returnType->AsObjectType()->AddObjectFlag(checker::ObjectFlags::RESOLVED_MEMBERS | in Check()
741 checker::ObjectFlags::CHECK_EXCESS_PROPS); in Check()