Searched refs:ArrayType (Results 1 – 14 of 14) sorted by relevance
23 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()
23 class ArrayType : public Type {25 explicit ArrayType(Type *elementType) : Type(TypeFlag::ARRAY), element_(elementType) {} in ArrayType() function
22 _(TypeFlag::ARRAY, ArrayType) \
31 return checker->Allocator()->New<ArrayType>(arrayType); in ConvertToArrayType()
43 …return checker->Allocator()->New<checker::ArrayType>(elementType_->AsTypeNode()->GetType(checker)); in GetType()
18 ArrayType,239 case ts.SyntaxKind.ArrayType:240 let arrayType = new ArrayType(typeNode);
268 return checker->Allocator()->New<checker::ArrayType>(arrayElementType); in Check()286 … elementType = checker->Allocator()->New<checker::ArrayType>(checker->GlobalAnyType()); in CheckPattern()
1155 class ArrayType : public BaseType {1157 …explicit ArrayType(TypeExtractor *extractor, const ir::TSArrayType *arrayDef) : BaseType(extractor) in ArrayType() function1172 ~ArrayType() = default;1173 NO_COPY_SEMANTIC(ArrayType);1174 NO_MOVE_SEMANTIC(ArrayType);
568 ArrayType arrayType(this, typeAnnotation->AsTSArrayType()); in GetTypeIndexFromAnnotation()
278 Type *restType = allocator_->New<ArrayType>(GlobalAnyType()); in CheckFunctionRestParameter()406 Type *placeholder = allocator_->New<ArrayType>(GlobalAnyType()); in CheckFunctionParameter()
303 return checker_->Allocator()->New<ArrayType>(restArrayElementType); in CreateArrayTypeForRest()
741 export class ArrayType extends BaseType { class
111 TypeDescriptor -> PrimitiveType | ArrayType | RefType113 ArrayType -> '[' TypeDescriptor
2 …179]="TypeQuery",l[l.TypeLiteral=180]="TypeLiteral",l[l.ArrayType=181]="ArrayType",l[l.TupleType=1… field in /src/base/typeSystem.ts.anonymousFunctioneabf5361e900.b