Searched refs:ElementType (Results 1 – 17 of 17) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | weak_vector.h | 26 enum ElementType { enum 41 … const JSHandle<JSTaggedValue> &value, ElementType type = ElementType::NORMAL); 44 ElementType type = ElementType::NORMAL); 106 static JSTaggedValue GetStoreVal(const JSHandle<JSTaggedValue> &value, ElementType type); 111 … const JSHandle<JSTaggedValue> &value, ElementType type);
|
D | weak_vector.cpp | 62 const JSHandle<JSTaggedValue> &value, ElementType type) in Append() 74 … const JSHandle<JSTaggedValue> &value, ElementType type) in FillOrAppend() 94 … const JSHandle<JSTaggedValue> &value, ElementType type) in AppendToFullVec() 104 JSTaggedValue WeakVector::GetStoreVal(const JSHandle<JSTaggedValue> &value, ElementType type) in GetStoreVal() 106 if (type == ElementType::NORMAL) { in GetStoreVal()
|
D | subtyping_operator.cpp | 201 iHClassVal, WeakVector::ElementType::WEAK); in AddSuper()
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | arrayType.cpp | 29 ElementType()->ToString(ss); in ToString() 39 relation->IsIdenticalTo(element_, other->AsArrayType()->ElementType()); in Identical() 46 relation->IsAssignableTo(source->AsArrayType()->ElementType(), element_); in AssignmentTarget()
|
D | arrayType.h | 27 Type *ElementType() in ElementType() function 32 const Type *ElementType() const in ElementType() function
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | mappedTypesArraysTuples.ts | 172 type ElementType<T> = T extends Array<infer U> ? U : never; alias 175 type F<T> = ElementType<Mapped<T>>; 177 type R2 = ElementType<Mapped<[string, number, boolean]>>; // string | number | boolean 194 type Unconstrained<T> = ElementType<Mapped<T>>; 197 type Constrained<T extends any[]> = ElementType<Mapped<T>>;
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsArrayType.h | 36 const Expression *ElementType() const in ElementType() function
|
D | tsTupleType.h | 41 const ArenaVector<Expression *> &ElementType() const in ElementType() function
|
D | tsNamedTupleMember.h | 48 const Expression *ElementType() const in ElementType() function
|
D | tsTupleType.cpp | 66 checker::Type *memberType = namedMember->ElementType()->AsTypeNode()->GetType(checker); in GetType()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
D | span.h | 32 using ElementType = T; 150 return size_ * sizeof(ElementType); in SizeBytes()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | arrayExpression.cpp | 180 spreadTypes.push_back(type->AsArrayType()->ElementType()); in GetSpreadElementType() 220 … elementTypes.push_back(inConstContext ? spreadType : spreadType->AsArrayType()->ElementType()); in Check()
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
D | destructuringContext.cpp | 226 return inferedType_->AsArrayType()->ElementType(); in NextInferedType() 253 unionTypes.push_back(type->AsArrayType()->ElementType()); in NextInferedType() 286 unionTypes.push_back(it->AsArrayType()->ElementType()); in CreateArrayTypeForRest()
|
D | object.cpp | 306 collectedTypes.push_back(it->AsArrayType()->ElementType()); in GetPropertyOfUnionType() 401 return type->AsArrayType()->ElementType(); in GetPropertyTypeForIndexType()
|
D | function.cpp | 293 restIdent->Variable()->SetTsType(restType->AsArrayType()->ElementType()); in CheckFunctionRestParameter()
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeSystem.h | 1159 typeIndexRefShift_ = extractor_->GetTypeIndexFromAnnotation(arrayDef->ElementType()); in ArrayType()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 24904 … }, v_.StorageUnit = C_, v_.ElementType = x_, E_), b_ = Bl(y_.prototype, "_byteOffset", [ Yl ], {
|