Lines Matching refs:currentModule
435 … const JSHandle<JSTaggedValue> ¤tModule, std::string &name) in GetImportModule() argument
439 if (!currentModule->IsSourceTextModule()) { in GetImportModule()
443 …JSTaggedValue importEntries = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetImportE… in GetImportModule()
464 currentModule->GetTaggedObject())->GetEnvironment(); in GetImportModule()
476 …ggerApi::GetModuleVariableIndex(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, in GetModuleVariableIndex() argument
479 if (!currentModule->IsSourceTextModule()) { in GetModuleVariableIndex()
482 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetModuleVariableIndex()
490 currentModule->GetTaggedObject())->GetLocalExportEntries(); in GetModuleVariableIndex()
512 const JSHandle<JSTaggedValue> ¤tModule) in GetRequestModuleIndex() argument
514 if (!currentModule->IsSourceTextModule()) { in GetRequestModuleIndex()
518 …JSHandle<SourceTextModule> module(thread, SourceTextModule::Cast(currentModule->GetTaggedObject())… in GetRequestModuleIndex()
533 … const JSHandle<JSTaggedValue> ¤tModule, std::string &name) in GetExportVariableValue() argument
536 if (!currentModule->IsSourceTextModule()) { in GetExportVariableValue()
539 int32_t index = GetModuleVariableIndex(ecmaVm, currentModule, name); in GetExportVariableValue()
544 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetExportVariableValue()
559 …ggerApi::SetExportVariableValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, in SetExportVariableValue() argument
562 if (!currentModule->IsSourceTextModule()) { in SetExportVariableValue()
565 int32_t index = GetModuleVariableIndex(ecmaVm, currentModule, name); in SetExportVariableValue()
570 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in SetExportVariableValue()
585 …ef> DebuggerApi::GetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, in GetModuleValue() argument
589 if (!currentModule->IsSourceTextModule()) { in GetModuleValue()
593 result = GetExportVariableValue(ecmaVm, currentModule, name); in GetModuleValue()
598 JSHandle<JSTaggedValue> importModule = GetImportModule(ecmaVm, currentModule, name); in GetModuleValue()
603 bool DebuggerApi::SetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule, in SetModuleValue() argument
607 if (!currentModule->IsSourceTextModule()) { in SetModuleValue()
611 result = SetExportVariableValue(ecmaVm, currentModule, name, value); in SetModuleValue()
616 JSHandle<JSTaggedValue> importModule = GetImportModule(ecmaVm, currentModule, name); in SetModuleValue()
625 const JSHandle<JSTaggedValue> ¤tModule) in InitializeExportVariables() argument
627 if (!currentModule->IsSourceTextModule()) { in InitializeExportVariables()
631 currentModule->GetTaggedObject())->GetLocalExportEntries(); in InitializeExportVariables()
658 … const JSHandle<JSTaggedValue> ¤tModule, bool isImportStar) in GetLocalExportVariables() argument
660 if (!currentModule->IsSourceTextModule()) { in GetLocalExportVariables()
663 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetLocalExportVariables()
665 InitializeExportVariables(ecmaVm, moduleObj, currentModule); in GetLocalExportVariables()
674 currentModule->GetTaggedObject())->GetLocalExportEntries(); in GetLocalExportVariables()
710 const JSHandle<JSTaggedValue> ¤tModule) in GetIndirectExportVariables() argument
712 if (!currentModule->IsSourceTextModule()) { in GetIndirectExportVariables()
716 currentModule->GetTaggedObject())->GetIndirectExportEntries(); in GetIndirectExportVariables()
734 JSHandle<SourceTextModule> module = JSHandle<SourceTextModule>::Cast(currentModule); in GetIndirectExportVariables()
751 const JSHandle<JSTaggedValue> ¤tModule) in GetImportVariables() argument
753 if (!currentModule->IsSourceTextModule()) { in GetImportVariables()
756 …JSTaggedValue importEntries = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetImportE… in GetImportVariables()
775 JSHandle<SourceTextModule> module = JSHandle<SourceTextModule>::Cast(currentModule); in GetImportVariables()
791 … thread->GetCurrentEcmaContext()->GetModuleManager()->GetModuleValueOutter(idx, currentModule); in GetImportVariables()