Home
last modified time | relevance | path

Searched refs:localExportEntries (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/src/
DecmaModule.ts51 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) => {
Dpandasm.ts255 public localExportEntries: Array<LocalExportEntry> = []; property in ModuleRecord
Dts2panda.ts574 moduleRecord.localExportEntries.push(new LocalExportEntry(e.localName!, e.exportName!));
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
DmoduleRecordEmitter.cpp78 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/
Dmodule_data_accessor.cpp106 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/
Decma_module_test.cpp98 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/
Ddebugger_api.cpp489 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/
Djsvaluerefismodulenamespace_fuzzer.cpp51 JSHandle<TaggedArray> localExportEntries(vm->GetJSThread(), module->GetLocalExportEntries()); in IsModuleNamespaceObjectFuzztest() local
58 JSHandle<JSTaggedValue>::Cast(module), localExportEntries); in IsModuleNamespaceObjectFuzztest()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_source_text.cpp1313 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()
Djs_module_manager.cpp741 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/
Dntype_hcr_lowering.cpp222 …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/
Dts2abc.cpp1184 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/
DtypeExtractor.cpp225 const auto &localExportEntries = moduleRecord->GetLocalExportEntries(); in ExtractExportModuleRecord() local
226 for (const auto &t : localExportEntries) { in ExtractExportModuleRecord()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_second_tests.cpp1157 JSHandle<TaggedArray> localExportEntries(thread_, module->GetLocalExportEntries()); in HWTEST_F_L0() local
1164 …mespace::ModuleNamespaceCreate(thread_, JSHandle<JSTaggedValue>::Cast(module), localExportEntries); in HWTEST_F_L0()