Searched defs:constituentTypes (Results 1 – 15 of 15) sorted by relevance
90 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in IsLiteralType() local122 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local140 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local
56 Type *TSChecker::CreateUnionType(std::initializer_list<Type *> constituentTypes) in CreateUnionType()67 Type *TSChecker::CreateUnionType(ArenaVector<Type *> &constituentTypes) in CreateUnionType()94 Type *TSChecker::CreateUnionType(ArenaVector<Type *> &&constituentTypes) in CreateUnionType()
80 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetBaseTypeOfLiteralType() local144 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in ExtractDefinitelyFalsyTypes() local165 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in RemoveDefinitelyFalsyTypes() local207 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetFalsyFlags() local
102 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in IsLiteralType() local151 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local171 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local
57 Type *Checker::CreateUnionType(std::initializer_list<Type *> constituentTypes) in CreateUnionType()68 Type *Checker::CreateUnionType(ArenaVector<Type *> &constituentTypes) in CreateUnionType()96 Type *Checker::CreateUnionType(ArenaVector<Type *> &&constituentTypes) in CreateUnionType()
82 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetBaseTypeOfLiteralType() local146 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in ExtractDefinitelyFalsyTypes() local164 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in RemoveDefinitelyFalsyTypes() local209 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetFalsyFlags() local
39 explicit UnionType(ArenaVector<Type *> &&constituentTypes) in UnionType()47 explicit UnionType(ArenaVector<Type *> &constituentTypes) in UnionType()
90 void UnionType::RemoveDuplicatedTypes(TypeRelation *relation, ArenaVector<Type *> &constituentTypes) in RemoveDuplicatedTypes()155 auto &constituentTypes = type->ConstituentTypes(); in RemoveRedundantLiteralTypesFromUnion() local
40 explicit UnionType(ArenaAllocator *allocator, ArenaVector<Type *> &&constituentTypes) in UnionType()50 explicit UnionType(ArenaAllocator *allocator, ArenaVector<Type *> &constituentTypes) in UnionType()
89 void UnionType::RemoveDuplicatedTypes(TypeRelation *relation, ArenaVector<Type *> &constituentTypes) in RemoveDuplicatedTypes()154 auto &constituentTypes = type->ConstituentTypes(); in RemoveRedundantLiteralTypesFromUnion() local
255 Type *CreateETSUnionType(ArenaVector<Type *> &&constituentTypes) in CreateETSUnionType()
200 ArenaVector<ir::TypeNode *> constituentTypes(Allocator()->Adapter()); in ParseFunctionType() local
300 Type *ETSChecker::CreateETSUnionType(Span<Type *const> constituentTypes) in CreateETSUnionType()
596 auto constituentTypes = type->AsETSUnionType()->ConstituentTypes(); in FixOptionalVariableType() local
44 ETSUnionType::ETSUnionType(ETSChecker *checker, ArenaVector<Type *> &&constituentTypes) in ETSUnionType()