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.cpp57 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()
Dhelpers.cpp82 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in GetBaseTypeOfLiteralType() local
146 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in ExtractDefinitelyFalsyTypes() local
164 auto &constituentTypes = type->AsUnionType()->ConstituentTypes(); in RemoveDefinitelyFalsyTypes() local
209 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.cpp90 void UnionType::RemoveDuplicatedTypes(TypeRelation *relation, ArenaVector<Type *> &constituentTypes) in RemoveDuplicatedTypes()
155 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()
154 auto &constituentTypes = type->ConstituentTypes(); in RemoveRedundantLiteralTypesFromUnion() local
/arkcompiler/ets_frontend/ets2panda/checker/
DETSchecker.h255 Type *CreateETSUnionType(ArenaVector<Type *> &&constituentTypes) in CreateETSUnionType()
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserTypes.cpp200 ArenaVector<ir::TypeNode *> constituentTypes(Allocator()->Adapter()); in ParseFunctionType() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
DtypeCreation.cpp300 Type *ETSChecker::CreateETSUnionType(Span<Type *const> constituentTypes) in CreateETSUnionType()
Dhelpers.cpp596 auto constituentTypes = type->AsETSUnionType()->ConstituentTypes(); in FixOptionalVariableType() local
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsUnionType.cpp44 ETSUnionType::ETSUnionType(ETSChecker *checker, ArenaVector<Type *> &&constituentTypes) in ETSUnionType()