Lines Matching defs:currentModule
450 const JSHandle<JSTaggedValue> ¤tModule, std::string &name)
454 if (!currentModule->IsSourceTextModule()) {
458 JSTaggedValue importEntries = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetImportEntries();
479 currentModule->GetTaggedObject())->GetEnvironment();
491 int32_t DebuggerApi::GetModuleVariableIndex(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule,
494 if (!currentModule->IsSourceTextModule()) {
497 JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictionary();
505 currentModule->GetTaggedObject())->GetLocalExportEntries();
527 const JSHandle<JSTaggedValue> ¤tModule)
529 if (!currentModule->IsSourceTextModule()) {
533 JSHandle<SourceTextModule> module(thread, SourceTextModule::Cast(currentModule->GetTaggedObject()));
548 const JSHandle<JSTaggedValue> ¤tModule, std::string &name)
551 if (!currentModule->IsSourceTextModule()) {
554 int32_t index = GetModuleVariableIndex(ecmaVm, currentModule, name);
559 JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictionary();
574 bool DebuggerApi::SetExportVariableValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule,
577 if (!currentModule->IsSourceTextModule()) {
580 int32_t index = GetModuleVariableIndex(ecmaVm, currentModule, name);
585 JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictionary();
600 Local<JSValueRef> DebuggerApi::GetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule,
604 if (!currentModule->IsSourceTextModule()) {
608 result = GetExportVariableValue(ecmaVm, currentModule, name);
613 JSHandle<JSTaggedValue> importModule = GetImportModule(ecmaVm, currentModule, name);
618 bool DebuggerApi::SetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule,
622 if (!currentModule->IsSourceTextModule()) {
626 result = SetExportVariableValue(ecmaVm, currentModule, name, value);
631 JSHandle<JSTaggedValue> importModule = GetImportModule(ecmaVm, currentModule, name);
640 const JSHandle<JSTaggedValue> ¤tModule)
642 if (!currentModule->IsSourceTextModule()) {
646 currentModule->GetTaggedObject())->GetLocalExportEntries();
673 const JSHandle<JSTaggedValue> ¤tModule, bool isImportStar)
675 if (!currentModule->IsSourceTextModule()) {
678 JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictionary();
680 InitializeExportVariables(ecmaVm, moduleObj, currentModule);
689 currentModule->GetTaggedObject())->GetLocalExportEntries();
725 const JSHandle<JSTaggedValue> ¤tModule)
727 if (!currentModule->IsSourceTextModule()) {
731 currentModule->GetTaggedObject())->GetIndirectExportEntries();
749 JSHandle<SourceTextModule> module = JSHandle<SourceTextModule>::Cast(currentModule);
766 const JSHandle<JSTaggedValue> ¤tModule)
768 if (!currentModule->IsSourceTextModule()) {
771 JSTaggedValue importEntries = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetImportEntries();
790 JSHandle<SourceTextModule> module = JSHandle<SourceTextModule>::Cast(currentModule);
806 thread->GetCurrentEcmaContext()->GetModuleManager()->GetModuleValueOutter(idx, currentModule);