Home
last modified time | relevance | path

Searched refs:ArrayType (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
DarrayType.cpp23 void ArrayType::ToString(std::stringstream &ss) const in ToString()
36 void ArrayType::Identical(TypeRelation *relation, Type *other) in Identical()
43 void ArrayType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
58 TypeFacts ArrayType::GetTypeFacts() const in GetTypeFacts()
63 Type *ArrayType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *… in Instantiate()
65 return allocator->New<ArrayType>(element_->Instantiate(allocator, relation, globalTypes)); in Instantiate()
DarrayType.h23 class ArrayType : public Type {
25 explicit ArrayType(Type *elementType) : Type(TypeFlag::ARRAY), element_(elementType) {} in ArrayType() function
DtypeMapping.h22 _(TypeFlag::ARRAY, ArrayType) \
DtupleType.cpp31 return checker->Allocator()->New<ArrayType>(arrayType); in ConvertToArrayType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsArrayType.cpp43 …return checker->Allocator()->New<checker::ArrayType>(elementType_->AsTypeNode()->GetType(checker)); in GetType()
/arkcompiler/ets_frontend/ts2panda/src/
DtypeChecker.ts18 ArrayType,
239 case ts.SyntaxKind.ArrayType:
240 let arrayType = new ArrayType(typeNode);
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp268 return checker->Allocator()->New<checker::ArrayType>(arrayElementType); in Check()
286 … elementType = checker->Allocator()->New<checker::ArrayType>(checker->GlobalAnyType()); in CheckPattern()
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeSystem.h1155 class ArrayType : public BaseType {
1157 …explicit ArrayType(TypeExtractor *extractor, const ir::TSArrayType *arrayDef) : BaseType(extractor) in ArrayType() function
1172 ~ArrayType() = default;
1173 NO_COPY_SEMANTIC(ArrayType);
1174 NO_MOVE_SEMANTIC(ArrayType);
DtypeExtractor.cpp568 ArrayType arrayType(this, typeAnnotation->AsTSArrayType()); in GetTypeIndexFromAnnotation()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dfunction.cpp278 Type *restType = allocator_->New<ArrayType>(GlobalAnyType()); in CheckFunctionRestParameter()
408 Type *placeholder = allocator_->New<ArrayType>(GlobalAnyType()); in CheckFunctionParameter()
DdestructuringContext.cpp303 return checker_->Allocator()->New<ArrayType>(restArrayElementType); in CreateArrayTypeForRest()
/arkcompiler/ets_frontend/ts2panda/src/base/
DtypeSystem.ts741 export class ArrayType extends BaseType { class
/arkcompiler/runtime_core/docs/
Dfile_format.md111 TypeDescriptor -> PrimitiveType | ArrayType | RefType
113 ArrayType -> '[' TypeDescriptor
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …179]="TypeQuery",l[l.TypeLiteral=180]="TypeLiteral",l[l.ArrayType=181]="ArrayType",l[l.TupleType=1… field in /src/base/typeSystem.ts.anonymousFunction83c68e02e900.b