Home
last modified time | relevance | path

Searched refs:enumInterface (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DmemberExpression.cpp156 auto const *const enumInterface = [type]() -> checker::ETSEnumType const * { in ResolveEnumMember() local
164 return {enumInterface->LookupMethod(checker, object_, property_->AsIdentifier()), nullptr}; in ResolveEnumMember()
167 auto *const literalType = enumInterface->LookupConstant(checker, object_, property_->AsIdentifier()); in ResolveEnumMember()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
H A DetsEnumType.cpp197 auto *const enumInterface = [enumType = in LookupConstant() local
205 ASSERT(enumInterface->IsLiteralType()); in LookupConstant()
206 return enumInterface; in LookupConstant()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp751 auto const *const enumInterface = [calleeType = calleeObject->TsType()]() -> checker::ETSEnumType const * { in IsSucceedCompilationProxyMemberExpr() local
764 if (enumInterface != nullptr) { in IsSucceedCompilationProxyMemberExpr()
767 checker::Signature *const signature = [expr, calleeObject, enumInterface, &arguments]() { in IsSucceedCompilationProxyMemberExpr()
772 return enumInterface->ToStringMethod().globalSignature; in IsSucceedCompilationProxyMemberExpr()
776 return enumInterface->ValueOfMethod().globalSignature; in IsSucceedCompilationProxyMemberExpr()
780 return enumInterface->GetNameMethod().globalSignature; in IsSucceedCompilationProxyMemberExpr()
783 return enumInterface->ValuesMethod().globalSignature; in IsSucceedCompilationProxyMemberExpr()
787 return enumInterface->GetValueOfMethod().globalSignature; in IsSucceedCompilationProxyMemberExpr()
797 return enumInterface != nullptr; in IsSucceedCompilationProxyMemberExpr()
H A DETSGen.cpp1236 const auto *const enumInterface = enumType->AsETSEnumType(); in EmitUnboxEnum() local
1237 const auto assemblerType = ToAssemblerType(enumInterface->GetDecl()->BoxedClass()->TsType()); in EmitUnboxEnum()
1239 const auto unboxMethod = enumInterface->UnboxMethod(); in EmitUnboxEnum()
1332 const auto *const enumInterface = node->AsExpression()->TsType()->AsETSEnumType(); in EmitBoxedType() local
1333 const auto boxedFromIntMethod = enumInterface->BoxedFromIntMethod(); in EmitBoxedType()
1335 return enumInterface->GetDecl()->BoxedClass()->TsType(); in EmitBoxedType()

Completed in 10 milliseconds