Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/
Dobject_access_helper.cpp95 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_runtime/ecmascript/compiler/type_inference/
Dpgo_type_infer.cpp147 JSHandle<TSUnionType> unionType(tsManager_->GetTSType(tsType.GetGTRef())); in CollectGateType() local
Dmethod_type_infer.cpp399 auto unionType = tsManager_->GetOrCreateUnionType(typeList); in InferPhiGate() local
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeExtractor.cpp572 UnionType unionType(this, typeAnnotation->AsTSUnionType()); in GetTypeIndexFromAnnotation() local
579 UnionType unionType(this, type->AsTSUnionType()); in GetTypeIndexFromAnnotation() local
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.cpp352 JSHandle<TSUnionType> unionType = JSHandle<TSUnionType>(tsType); in GetUnionTypeLength() local
362 JSHandle<TSUnionType> unionType = JSHandle<TSUnionType>(tsType); in GetUnionTypeByIndex() local
502 JSHandle<TSUnionType> unionType = factory_->NewTSUnionType(length); in GetOrCreateUnionType() local
1492 JSHandle<TSUnionType> unionType(type); in TryNarrowUnionType() local
Dts_type_parser.cpp232 … JSHandle<TSUnionType> unionType = ParseUnionType(jsPandaFile, recordName, typeLiteralExtractor); in ParseNonImportType() local
349 JSHandle<TSUnionType> unionType = factory_->NewTSUnionType(numOfUnionMembers); in ParseUnionType() 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.cpp1017 JSHandle<TSUnionType> unionType = factory->NewTSUnionType(1); in HWTEST_F_L0() local
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp1647 auto *unionType = AllocNode<ir::TSUnionType>(std::move(types)); in ParseTsUnionType() local
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp3311 JSHandle<TSUnionType> unionType(thread_, header); in NewTSUnionType() local