/arkcompiler/ets_frontend/ts2panda/src/ |
D | ecmaModule.ts | 51 private localExportEntries: Map<string, Array<Entry>> = new Map<string, Array<Entry>>(); property in SourceTextModuleRecord 100 if (this.localExportEntries.has(localName)) { 101 this.localExportEntries.get(localName)!.push(localExportEntry); 103 this.localExportEntries.set(localName, [localExportEntry]); 138 return this.localExportEntries; 151 this.localExportEntries.forEach((entries: Array<Entry>, localName: string) => { 161 this.localExportEntries.delete(localName); 184 this.localExportEntries.forEach((entries: Array<Entry>, localName: string) => { 208 this.localExportEntries.forEach((entry: Array<Entry>, localName: string) => { 221 this.localExportEntries.forEach((entry: Array<Entry>, localName: string) => {
|
D | pandasm.ts | 255 public localExportEntries: Array<LocalExportEntry> = []; property in ModuleRecord
|
D | ts2panda.ts | 574 moduleRecord.localExportEntries.push(new LocalExportEntry(e.localName!, e.exportName!));
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
D | moduleRecordEmitter.cpp | 78 auto &localExportEntries = moduleRecord_->GetLocalExportEntries(); in GenLocalExportEntries() local 80 …anda::panda_file::LiteralTag::INTEGER, .value_ = static_cast<uint32_t>(localExportEntries.size())}; in GenLocalExportEntries() 82 for (auto it = localExportEntries.begin(); it != localExportEntries.end(); ++it) { in GenLocalExportEntries()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/accessor/ |
D | module_data_accessor.cpp | 106 JSHandle<TaggedArray> localExportEntries = factory->NewTaggedArray(localExportNum); in EnumerateLocalExportEntry() local 124 localExportEntries->Set(thread, idx, localExportEntry); in EnumerateLocalExportEntry() 127 moduleRecord->SetLocalExportEntries(thread, localExportEntries); in EnumerateLocalExportEntry()
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
D | ecma_module_test.cpp | 98 JSHandle<TaggedArray> localExportEntries(thread, module->GetLocalExportEntries()); in HWTEST_F_L0() local 99 EXPECT_TRUE(localExportEntries->GetLength() == 2U); in HWTEST_F_L0() 258 JSHandle<TaggedArray> localExportEntries(thread, module->GetLocalExportEntries()); in HWTEST_F_L0() local 265 …amespace::ModuleNamespaceCreate(thread, JSHandle<JSTaggedValue>::Cast(module), localExportEntries); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 489 JSTaggedValue localExportEntries = SourceTextModule::Cast( in GetModuleVariableIndex() local 491 ASSERT(localExportEntries.IsTaggedArray()); in GetModuleVariableIndex() 492 …JSHandle<TaggedArray> localExportArray(thread, TaggedArray::Cast(localExportEntries.GetTaggedObjec… in GetModuleVariableIndex() 630 JSTaggedValue localExportEntries = SourceTextModule::Cast( in InitializeExportVariables() local 632 if (localExportEntries.IsUndefined()) { in InitializeExportVariables() 637 …JSHandle<TaggedArray> localExportArray(thread, TaggedArray::Cast(localExportEntries.GetTaggedObjec… in InitializeExportVariables() 673 JSTaggedValue localExportEntries = SourceTextModule::Cast( in GetLocalExportVariables() local 675 ASSERT(localExportEntries.IsTaggedArray()); in GetLocalExportVariables() 676 …JSHandle<TaggedArray> localExportArray(thread, TaggedArray::Cast(localExportEntries.GetTaggedObjec… in GetLocalExportVariables()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/ |
D | jsvaluerefismodulenamespace_fuzzer.cpp | 51 JSHandle<TaggedArray> localExportEntries(vm->GetJSThread(), module->GetLocalExportEntries()); in IsModuleNamespaceObjectFuzztest() local 58 JSHandle<JSTaggedValue>::Cast(module), localExportEntries); in IsModuleNamespaceObjectFuzztest()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_source_text.cpp | 1313 JSTaggedValue localExportEntries = module->GetLocalExportEntries(); in AddLocalExportEntry() local 1314 if (localExportEntries.IsUndefined()) { in AddLocalExportEntry() 1319 JSHandle<TaggedArray> entries(thread, localExportEntries); in AddLocalExportEntry() 1442 JSTaggedValue localExportEntries = module->GetLocalExportEntries(); in StoreModuleValue() local 1443 ASSERT(localExportEntries.IsTaggedArray()); in StoreModuleValue() 1448 uint32_t size = TaggedArray::Cast(localExportEntries.GetTaggedObject())->GetLength(); in StoreModuleValue() 1618 JSHandle<TaggedArray> localExportEntries(exportEntry); in ResolveLocalExport() local 1619 size_t localExportEntriesLen = localExportEntries->GetLength(); in ResolveLocalExport() 1621 ee.Update(localExportEntries->Get(idx)); in ResolveLocalExport()
|
D | js_module_manager.cpp | 741 JSHandle<TaggedArray> localExportEntries(thread, ecmaModule->GetLocalExportEntries()); in GetExportObjectIndex() local 742 size_t exportEntriesLen = localExportEntries->GetLength(); in GetExportObjectIndex() 748 ee.Update(localExportEntries->Get(idx)); in GetExportObjectIndex()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | ntype_hcr_lowering.cpp | 222 …GateRef localExportEntries = builder_.Load(VariableType::JS_ANY(), module, localExportEntriesOffse… in LowerStoreModuleVar() local 232 GateRef size = builder_.GetLengthOfTaggedArray(localExportEntries); in LowerStoreModuleVar()
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 1184 static void ParseLocalExportEntries(const Json::Value &localExportEntries, in ParseLocalExportEntries() argument 1188 …anda::panda_file::LiteralTag::INTEGER, .value_ = static_cast<uint32_t>(localExportEntries.size())}; in ParseLocalExportEntries() 1190 for (Json::ArrayIndex i = 0; i < localExportEntries.size(); ++i) { in ParseLocalExportEntries() 1191 auto entry = localExportEntries[i]; in ParseLocalExportEntries()
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeExtractor.cpp | 225 const auto &localExportEntries = moduleRecord->GetLocalExportEntries(); in ExtractExportModuleRecord() local 226 for (const auto &t : localExportEntries) { in ExtractExportModuleRecord()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | jsnapi_second_tests.cpp | 1157 JSHandle<TaggedArray> localExportEntries(thread_, module->GetLocalExportEntries()); in HWTEST_F_L0() local 1164 …mespace::ModuleNamespaceCreate(thread_, JSHandle<JSTaggedValue>::Cast(module), localExportEntries); in HWTEST_F_L0()
|