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
56 Type *Checker::CreateUnionType(std::initializer_list<Type *> constituentTypes) in CreateUnionType()67 Type *Checker::CreateUnionType(ArenaVector<Type *> &constituentTypes) in CreateUnionType()95 Type *Checker::CreateUnionType(ArenaVector<Type *> &&constituentTypes) in CreateUnionType()
72 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetBaseTypeOfLiteralType() local136 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in ExtractDefinitelyFalsyTypes() local154 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in RemoveDefinitelyFalsyTypes() local199 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetFalsyFlags() local
39 explicit UnionType(ArenaVector<Type *> &&constituentTypes) in UnionType()47 explicit UnionType(ArenaVector<Type *> &constituentTypes) in UnionType()
89 void UnionType::RemoveDuplicatedTypes(TypeRelation *relation, ArenaVector<Type *> &constituentTypes) in RemoveDuplicatedTypes()154 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()155 auto &constituentTypes = type->ConstituentTypes(); in RemoveRedundantLiteralTypesFromUnion() local
82 static bool CheckConstituentTypesValid(ArenaVector<checker::Type *> const &constituentTypes) in CheckConstituentTypesValid()
295 Type *CreateETSUnionType(ArenaVector<Type *> &&constituentTypes) in CreateETSUnionType()
268 auto constituentTypes = recordKey->AsETSUnionType()->ConstituentTypes(); in AdjustRecordReturnType() local
157 Type *ETSChecker::CreateETSUnionType(Span<Type *const> constituentTypes) in CreateETSUnionType()
45 ETSUnionType::ETSUnionType(ETSChecker *checker, ArenaVector<Type *> &&constituentTypes) in ETSUnionType()