Home
last modified time | relevance | path

Searched defs:unionType (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/test/unit/
Dunion_normalization_test.cpp216 auto *const unionType = normalizedType->AsETSUnionType(); in TEST_F() local
247 auto *const unionType = normalizedType->AsETSUnionType(); in TEST_F() local
272 auto *const unionType = normalizedType->AsETSUnionType(); in TEST_F() local
301 auto *const unionType = normalizedType->AsETSUnionType(); in TEST_F() local
360 auto *const unionType = normalizedType3->AsETSUnionType(); in TEST_F() local
478 auto *const unionType = normalizedType3->AsETSUnionType(); in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dobject_access_helper.cpp97 JSHandle<TSUnionType> unionType(tsManager_->GetTSType(type_.GetGTRef())); in ComputePolymorphism() local
/arkcompiler/ets_frontend/es2panda/typescript/types/
DunionType.cpp113 Type *UnionType::HandleUnionType(UnionType *unionType, GlobalTypesHolder *globalTypesHolder) in HandleUnionType()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DunionType.cpp112 Type *UnionType::HandleUnionType(UnionType *unionType, GlobalTypesHolder *globalTypesHolder) in HandleUnionType()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DmemberExpression.cpp195 auto *const unionType = baseType->AsETSUnionType(); in CheckUnionMember() local
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dpgo_type_infer_helper.cpp109 JSHandle<TSUnionType> unionType(tsManager_->GetTSType(tsType.GetGTRef())); in CollectGateType() local
Dmethod_type_infer.cpp409 auto unionType = tsManager_->GetOrCreateUnionType(typeList); in InferPhiGate() local
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.cpp292 JSHandle<TSUnionType> unionType = JSHandle<TSUnionType>(tsType); in GetUnionTypeLength() local
302 JSHandle<TSUnionType> unionType = JSHandle<TSUnionType>(tsType); in GetUnionTypeByIndex() local
442 JSHandle<TSUnionType> unionType = factory_->NewTSUnionType(length); in GetOrCreateUnionType() local
1231 JSHandle<TSUnionType> unionType(type); in TryNarrowUnionType() local
Dts_type_parser.cpp235 … JSHandle<TSUnionType> unionType = ParseUnionType(jsPandaFile, recordName, typeLiteralExtractor); in ParseNonImportType() local
357 JSHandle<TSUnionType> unionType = factory_->NewTSUnionType(numOfUnionMembers); in ParseUnionType() local
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeExtractor.cpp582 UnionType unionType(this, typeAnnotation->AsTSUnionType()); in GetTypeIndexFromAnnotation() local
589 UnionType unionType(this, type->AsTSUnionType()); in GetTypeIndexFromAnnotation() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DunionLowering.cpp145 auto *const unionType = expr->Expr()->TsType()->AsETSUnionType(); in HandleUnionCastToPrimitive() local
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/
Dts_type_parser_test.cpp293 JSHandle<TSUnionType> unionType(type); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp1076 JSHandle<TSUnionType> unionType = factory->NewTSUnionType(1); in HWTEST_F_L0() local
/arkcompiler/ets_frontend/ets2panda/parser/
DTSparser.cpp1181 auto *unionType = AllocNode<ir::TSUnionType>(std::move(types)); in ParseUnionType() local
DETSparser.cpp2663 auto *const unionType = AllocNode<ir::ETSUnionType>(std::move(types)); in ParseUnionType() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dsimplify.cpp50 MIRConst *TruncateUnionConstant(const MIRStructType &unionType, MIRConst *fieldCst, const MIRType &… in TruncateUnionConstant()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp1729 auto *unionType = AllocNode<ir::TSUnionType>(std::move(types)); in ParseTsUnionType() local
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp3799 JSHandle<TSUnionType> unionType(thread_, header); in NewTSUnionType() local