• Home
  • Raw
  • Download

Lines Matching refs:currentModule

378 …                                   const JSHandle<JSTaggedValue> &currentModule, std::string &name)  in GetImportModule()  argument
382 if (!currentModule->IsSourceTextModule()) { in GetImportModule()
386 …JSTaggedValue importEntries = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetImportE… in GetImportModule()
407 currentModule->GetTaggedObject())->GetEnvironment(); in GetImportModule()
419 …ggerApi::GetModuleVariableIndex(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> &currentModule, in GetModuleVariableIndex() argument
422 if (!currentModule->IsSourceTextModule()) { in GetModuleVariableIndex()
425 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetModuleVariableIndex()
433 currentModule->GetTaggedObject())->GetLocalExportEntries(); in GetModuleVariableIndex()
455 const JSHandle<JSTaggedValue> &currentModule) in GetRequestModuleIndex() argument
457 if (!currentModule->IsSourceTextModule()) { in GetRequestModuleIndex()
461 …JSHandle<SourceTextModule> module(thread, SourceTextModule::Cast(currentModule->GetTaggedObject())… in GetRequestModuleIndex()
476 … const JSHandle<JSTaggedValue> &currentModule, std::string &name) in GetExportVariableValue() argument
479 if (!currentModule->IsSourceTextModule()) { in GetExportVariableValue()
482 int32_t index = GetModuleVariableIndex(ecmaVm, currentModule, name); in GetExportVariableValue()
487 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetExportVariableValue()
502 …ggerApi::SetExportVariableValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> &currentModule, in SetExportVariableValue() argument
505 if (!currentModule->IsSourceTextModule()) { in SetExportVariableValue()
508 int32_t index = GetModuleVariableIndex(ecmaVm, currentModule, name); in SetExportVariableValue()
513 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in SetExportVariableValue()
528 …ef> DebuggerApi::GetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> &currentModule, in GetModuleValue() argument
532 if (!currentModule->IsSourceTextModule()) { in GetModuleValue()
536 result = GetExportVariableValue(ecmaVm, currentModule, name); in GetModuleValue()
541 JSHandle<JSTaggedValue> importModule = GetImportModule(ecmaVm, currentModule, name); in GetModuleValue()
546 bool DebuggerApi::SetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> &currentModule, in SetModuleValue() argument
550 if (!currentModule->IsSourceTextModule()) { in SetModuleValue()
554 result = SetExportVariableValue(ecmaVm, currentModule, name, value); in SetModuleValue()
559 JSHandle<JSTaggedValue> importModule = GetImportModule(ecmaVm, currentModule, name); in SetModuleValue()
568 const JSHandle<JSTaggedValue> &currentModule) in InitializeExportVariables() argument
570 if (!currentModule->IsSourceTextModule()) { in InitializeExportVariables()
574 currentModule->GetTaggedObject())->GetLocalExportEntries(); in InitializeExportVariables()
601 … const JSHandle<JSTaggedValue> &currentModule, bool isImportStar) in GetLocalExportVariables() argument
603 if (!currentModule->IsSourceTextModule()) { in GetLocalExportVariables()
606 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetLocalExportVariables()
608 InitializeExportVariables(ecmaVm, moduleObj, currentModule); in GetLocalExportVariables()
617 currentModule->GetTaggedObject())->GetLocalExportEntries(); in GetLocalExportVariables()
653 const JSHandle<JSTaggedValue> &currentModule) in GetIndirectExportVariables() argument
655 if (!currentModule->IsSourceTextModule()) { in GetIndirectExportVariables()
659 currentModule->GetTaggedObject())->GetIndirectExportEntries(); in GetIndirectExportVariables()
677 JSHandle<SourceTextModule> module = JSHandle<SourceTextModule>::Cast(currentModule); in GetIndirectExportVariables()
693 const JSHandle<JSTaggedValue> &currentModule) in GetImportVariables() argument
695 if (!currentModule->IsSourceTextModule()) { in GetImportVariables()
698 …JSTaggedValue importEntries = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetImportE… in GetImportVariables()
717 JSHandle<SourceTextModule> module = JSHandle<SourceTextModule>::Cast(currentModule); in GetImportVariables()
732 … thread->GetCurrentEcmaContext()->GetModuleManager()->GetModuleValueOutter(idx, currentModule); in GetImportVariables()