Home
last modified time | relevance | path

Searched refs:typeArgTypes (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
DtypeRelationContext.cpp110 ArenaVector<Type *> typeArgTypes(checker_->Allocator()->Adapter()); in InstantiateType() local
111 typeArgTypes.reserve(type->TypeArguments().size()); in InstantiateType()
127 typeArgTypes.push_back(paramType); in InstantiateType()
131 while (typeArgTypes.size() < type->TypeArguments().size()) { in InstantiateType()
132 typeArgTypes.push_back(type->TypeArguments().at(typeArgTypes.size())); in InstantiateType()
135 …InstantiateType(type, typeArgTypes, (typeArgs == nullptr) ? lexer::SourcePosition() : typeArgs->Ra… in InstantiateType()
139 void InstantiationContext::InstantiateType(ETSObjectType *type, ArenaVector<Type *> &typeArgTypes, in InstantiateType() argument
142 util::StringView hash = checker_->GetHashFromTypeArguments(typeArgTypes); in InstantiateType()
145 while (typeArgTypes.size() < typeParams.size()) { in InstantiateType()
146 typeArgTypes.push_back(typeParams.at(typeArgTypes.size())); in InstantiateType()
[all …]
DtypeRelationContext.h171 …void InstantiateType(ETSObjectType *type, ArenaVector<Type *> &typeArgTypes, const lexer::SourcePo…
172 util::StringView GetHashFromTypeArguments(ArenaVector<Type *> &typeArgTypes);
Dhelpers.cpp2330 util::StringView ETSChecker::GetHashFromTypeArguments(const ArenaVector<Type *> &typeArgTypes) in GetHashFromTypeArguments() argument
2334 for (auto *it : typeArgTypes) { in GetHashFromTypeArguments()
/arkcompiler/ets_frontend/ets2panda/checker/
DETSAnalyzer.cpp403 ArenaVector<checker::Type *> typeArgTypes(checker->Allocator()->Adapter()); in Check() local
404 typeArgTypes.push_back(exprType); // NOTE: Box it if it's a primitive type in Check()
406 …checker::InstantiationContext ctx(checker, checker->GlobalBuiltinTypeType(), typeArgTypes, expr->r… in Check()
DETSchecker.h532 util::StringView GetHashFromTypeArguments(const ArenaVector<Type *> &typeArgTypes);