Home
last modified time | relevance | path

Searched refs:ElementType (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dweak_vector.h26 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);
Dweak_vector.cpp62 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()
Dsubtyping_operator.cpp201 iHClassVal, WeakVector::ElementType::WEAK); in AddSuper()
/arkcompiler/ets_frontend/es2panda/typescript/types/
DarrayType.cpp29 ElementType()->ToString(ss); in ToString()
39 relation->IsIdenticalTo(element_, other->AsArrayType()->ElementType()); in Identical()
46 relation->IsAssignableTo(source->AsArrayType()->ElementType(), element_); in AssignmentTarget()
DarrayType.h27 Type *ElementType() in ElementType() function
32 const Type *ElementType() const in ElementType() function
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DmappedTypesArraysTuples.ts172 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/
DtsArrayType.h36 const Expression *ElementType() const in ElementType() function
DtsTupleType.h41 const ArenaVector<Expression *> &ElementType() const in ElementType() function
DtsNamedTupleMember.h48 const Expression *ElementType() const in ElementType() function
DtsTupleType.cpp66 checker::Type *memberType = namedMember->ElementType()->AsTypeNode()->GetType(checker); in GetType()
/arkcompiler/runtime_core/libpandabase/utils/
Dspan.h32 using ElementType = T;
150 return size_ * sizeof(ElementType); in SizeBytes()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp180 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/
DdestructuringContext.cpp226 return inferedType_->AsArrayType()->ElementType(); in NextInferedType()
253 unionTypes.push_back(type->AsArrayType()->ElementType()); in NextInferedType()
286 unionTypes.push_back(it->AsArrayType()->ElementType()); in CreateArrayTypeForRest()
Dobject.cpp306 collectedTypes.push_back(it->AsArrayType()->ElementType()); in GetPropertyOfUnionType()
401 return type->AsArrayType()->ElementType(); in GetPropertyTypeForIndexType()
Dfunction.cpp293 restIdent->Variable()->SetTsType(restType->AsArrayType()->ElementType()); in CheckFunctionRestParameter()
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeSystem.h1159 typeIndexRefShift_ = extractor_->GetTypeIndexFromAnnotation(arrayDef->ElementType()); in ArrayType()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js24904 … }, v_.StorageUnit = C_, v_.ElementType = x_, E_), b_ = Bl(y_.prototype, "_byteOffset", [ Yl ], {