Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeRelationContext.cpp78 ArenaVector<Type *> typeArgTypes(checker_->Allocator()->Adapter()); in InstantiateType()
79 typeArgTypes.reserve(type->TypeArguments().size()); in InstantiateType()
98 typeArgTypes.push_back(paramType); in InstantiateType()
102 while (typeArgTypes.size() < type->TypeArguments().size()) { in InstantiateType()
103 auto *defaultType = type->TypeArguments().at(typeArgTypes.size())->AsETSTypeParameter()->GetDefaultType(); in InstantiateType()
104 typeArgTypes.push_back(defaultType); in InstantiateType()
108 InstantiateType(type, std::move(typeArgTypes), pos); in InstantiateType()
150 void InstantiationContext::InstantiateType(ETSObjectType *type, ArenaVector<Type *> &&typeArgTypes, in InstantiateType() argument
153 util::StringView hash = checker_->GetHashFromTypeArguments(typeArgTypes); in InstantiateType()
156 while (typeArgTypes in InstantiateType()
[all...]
H A DtypeRelationContext.h199 void InstantiateType(ETSObjectType *type, ArenaVector<Type *> &&typeArgTypes, const lexer::SourcePosition &pos);
200 util::StringView GetHashFromTypeArguments(ArenaVector<Type *> &typeArgTypes);
H A Dhelpers.cpp2088 util::StringView ETSChecker::GetHashFromTypeArguments(const ArenaVector<Type *> &typeArgTypes) in GetHashFromTypeArguments() argument
2092 for (auto *it : typeArgTypes) { in GetHashFromTypeArguments()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzer.cpp295 ArenaVector<checker::Type *> typeArgTypes(checker->Allocator()->Adapter()); in Check()
296 typeArgTypes.push_back(exprType); // NOTE: Box it if it's a primitive type in Check()
298 checker::InstantiationContext ctx(checker, checker->GlobalBuiltinTypeType(), std::move(typeArgTypes), in Check()
H A DETSchecker.h607 util::StringView GetHashFromTypeArguments(const ArenaVector<Type *> &typeArgTypes);

Completed in 11 milliseconds