Home
last modified time | relevance | path

Searched defs:constituentTypes (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ts/
Dutil.cpp90 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in IsLiteralType() local
122 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local
140 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local
DtypeCreation.cpp56 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()
Dhelpers.cpp80 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetBaseTypeOfLiteralType() local
144 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in ExtractDefinitelyFalsyTypes() local
165 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in RemoveDefinitelyFalsyTypes() local
207 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetFalsyFlags() local
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dutil.cpp102 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in IsLiteralType() local
151 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local
171 const auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in MaybeTypeOfKind() local
DtypeCreation.cpp56 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()
Dhelpers.cpp72 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetBaseTypeOfLiteralType() local
136 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in ExtractDefinitelyFalsyTypes() local
154 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in RemoveDefinitelyFalsyTypes() local
199 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetFalsyFlags() local
/arkcompiler/ets_frontend/es2panda/typescript/types/
DunionType.h39 explicit UnionType(ArenaVector<Type *> &&constituentTypes) in UnionType()
47 explicit UnionType(ArenaVector<Type *> &constituentTypes) in UnionType()
DunionType.cpp89 void UnionType::RemoveDuplicatedTypes(TypeRelation *relation, ArenaVector<Type *> &constituentTypes) in RemoveDuplicatedTypes()
154 auto &constituentTypes = type->ConstituentTypes(); in RemoveRedundantLiteralTypesFromUnion() local
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DunionType.h40 explicit UnionType(ArenaAllocator *allocator, ArenaVector<Type *> &&constituentTypes) in UnionType()
50 explicit UnionType(ArenaAllocator *allocator, ArenaVector<Type *> &constituentTypes) in UnionType()
DunionType.cpp89 void UnionType::RemoveDuplicatedTypes(TypeRelation *relation, ArenaVector<Type *> &constituentTypes) in RemoveDuplicatedTypes()
155 auto &constituentTypes = type->ConstituentTypes(); in RemoveRedundantLiteralTypesFromUnion() local
/arkcompiler/ets_frontend/ets2panda/ir/ets/
DetsUnionType.cpp82 static bool CheckConstituentTypesValid(ArenaVector<checker::Type *> const &constituentTypes) in CheckConstituentTypesValid()
/arkcompiler/ets_frontend/ets2panda/checker/
DETSchecker.h295 Type *CreateETSUnionType(ArenaVector<Type *> &&constituentTypes) in CreateETSUnionType()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DmemberExpression.cpp268 auto constituentTypes = recordKey->AsETSUnionType()->ConstituentTypes(); in AdjustRecordReturnType() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
DtypeCreation.cpp157 Type *ETSChecker::CreateETSUnionType(Span<Type *const> constituentTypes) in CreateETSUnionType()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsUnionType.cpp45 ETSUnionType::ETSUnionType(ETSChecker *checker, ArenaVector<Type *> &&constituentTypes) in ETSUnionType()