Lines Matching full:module
15 #include "ecmascript/module/module_manager_helper.h"
20 #include "ecmascript/module/module_path_helper.h"
23 …ModuleManagerHelper::GetModuleValue(JSThread *thread, JSHandle<SourceTextModule> module, int index) in GetModuleValue() argument
25 ModuleTypes moduleType = module->GetTypes(); in GetModuleValue()
27 return GetNativeOrCjsModuleValue(thread, module.GetTaggedValue(), index); in GetModuleValue()
29 return module->GetModuleValue(thread, index, false); in GetModuleValue()
43 JSHandle<SourceTextModule> module(thread, resolvedModule); in GetNativeOrCjsExports() local
46 ModuleTypes moduleType = module->GetTypes(); in GetNativeOrCjsExports()
48 exports.Update(module->GetModuleValue(thread, 0, false)); in GetNativeOrCjsExports()
50 …LOG_FULL(WARN) << "Load native module failed, so is " << SourceTextModule::GetModuleName(resolvedM… in GetNativeOrCjsExports()
55 CString cjsModuleName = SourceTextModule::GetModuleName(module.GetTaggedValue()); in GetNativeOrCjsExports()
60 … "Loading cjs module:" + SourceTextModule::GetModuleName(module.GetTaggedValue()) + ", failed"; in GetNativeOrCjsExports()
70 …aggedValue ModuleManagerHelper::GetModuleValue(JSThread *thread, JSHandle<SourceTextModule> module, in GetModuleValue() argument
73 JSHandle<JSTaggedValue> exports = GetNativeOrCjsExports(thread, module.GetTaggedValue()); in GetModuleValue()
88 JSHandle<SourceTextModule> module, in GetModuleValueFromIndexBinding() argument
92 …JSHandle<SourceTextModule> resolvedModule = GetResolvedRecordIndexBindingModule(thread, module, bi… in GetModuleValueFromIndexBinding()
97 … JSThread *thread, JSHandle<SourceTextModule> module, JSHandle<ResolvedRecordIndexBinding> binding) in GetResolvedRecordIndexBindingModule() argument
105 auto isMergedAbc = !module->GetEcmaModuleRecordNameString().empty(); in GetResolvedRecordIndexBindingModule()
116 … JSHandle<SourceTextModule> module, in GetModuleValueFromRecordBinding() argument
120 …JSHandle<SourceTextModule> resolvedModule = GetResolvedRecordBindingModule(thread, module, binding… in GetModuleValueFromRecordBinding()
125 … JSHandle<SourceTextModule> module, in GetResolvedRecordBindingModule() argument
134 auto isMergedAbc = !module->GetEcmaModuleRecordNameString().empty(); in GetResolvedRecordBindingModule()
135 CString fileName = module->GetEcmaModuleFilenameString(); in GetResolvedRecordBindingModule()
145 … JSHandle<SourceTextModule> module, in GetLazyModuleValueFromIndexBinding() argument
162 auto isMergedAbc = !module->GetEcmaModuleRecordNameString().empty(); in GetLazyModuleValueFromIndexBinding()
174 JSThread *thread, JSHandle<SourceTextModule> module, JSTaggedValue resolvedBinding) in GetLazyModuleValueFromRecordBinding() argument
195 auto isMergedAbc = !module->GetEcmaModuleRecordNameString().empty(); in GetLazyModuleValueFromRecordBinding()
196 CString fileName = module->GetEcmaModuleFilenameString(); in GetLazyModuleValueFromRecordBinding()
206 …eManagerHelper::UpdateBindingAndGetModuleValue(JSThread *thread, JSHandle<SourceTextModule> module, in UpdateBindingAndGetModuleValue() argument
210 JSHandle<JSTaggedValue> moduleEnvironment(thread, module->GetEnvironment()); in UpdateBindingAndGetModuleValue()
224 module.GetTaggedValue())); in UpdateBindingAndGetModuleValue()
225 …CString msg = "the requested module '" + requestMod + SourceTextModule::GetResolveErrorReason(reso… in UpdateBindingAndGetModuleValue()
232 // in.[[LocalName]], resolution.[[Module]], resolution.[[BindingName]]). in UpdateBindingAndGetModuleValue()