Home
last modified time | relevance | path

Searched refs:moduleType (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DescapedIdentifiers.ts61 module moduleType\u0032 {
70 moduleType\u0031.baz1 = 3;
71 AssertType(moduleType\u0031.baz1 = 3, "int");
72 AssertType(moduleType\u0031.baz1, "number");
80 moduleType\u0032.baz2 = 3;
81 AssertType(moduleType\u0032.baz2 = 3, "int");
82 AssertType(moduleType\u0032.baz2, "number");
/arkcompiler/ets_runtime/ecmascript/module/
Djs_dynamic_import.cpp28 …ModuleTypes moduleType, JSHandle<JSPromiseReactionsFunction> resolve, JSHandle<JSPromiseReactionsF… in ExecuteNativeModule() argument
40 …andle<JSTaggedValue> nativeModuleHld = moduleManager->ResolveNativeModule(requestPath, moduleType); in ExecuteNativeModule()
44 moduleType)) { in ExecuteNativeModule()
Djs_module_source_text.h105 static Local<JSValueRef> GetRequireNativeModuleFunc(EcmaVM *vm, ModuleTypes moduleType);
110 … const JSHandle<JSTaggedValue> &moduleRequest, ModuleTypes moduleType);
111 inline static bool IsNativeModule(ModuleTypes moduleType) in IsNativeModule() argument
113 return moduleType == ModuleTypes::OHOS_MODULE || in IsNativeModule()
114 moduleType == ModuleTypes::APP_MODULE || in IsNativeModule()
115 moduleType == ModuleTypes::NATIVE_MODULE || in IsNativeModule()
116 moduleType == ModuleTypes::INTERNAL_MODULE; in IsNativeModule()
166 ModuleTypes moduleType);
Djs_dynamic_import.h27 ModuleTypes moduleType, JSHandle<JSPromiseReactionsFunction> resolve,
Djs_module_source_text.cpp91 auto [isNative, moduleType] = SourceTextModule::CheckNativeModule(moduleRequestName); in HostResolveImportedModuleWithMerge()
93 return moduleManager->ResolveNativeModule(moduleRequestName, moduleType); in HostResolveImportedModuleWithMerge()
305 Local<JSValueRef> SourceTextModule::GetRequireNativeModuleFunc(EcmaVM *vm, ModuleTypes moduleType) in GetRequireNativeModuleFunc() argument
309 auto funcName = (moduleType == ModuleTypes::NATIVE_MODULE) ? in GetRequireNativeModuleFunc()
341 const JSHandle<JSTaggedValue> &moduleRequest, ModuleTypes moduleType) in LoadNativeModule() argument
352 if (moduleType == ModuleTypes::APP_MODULE) { in LoadNativeModule()
354 } else if (moduleType == ModuleTypes::INTERNAL_MODULE) { in LoadNativeModule()
357 auto maybeFuncRef = GetRequireNativeModuleFunc(vm, moduleType); in LoadNativeModule()
377 ModuleTypes moduleType) in InstantiateNativeModule() argument
380 … if (!SourceTextModule::LoadNativeModule(thread, requiredModule, moduleRequest, moduleType)) { in InstantiateNativeModule()
[all …]
Dmodule_data_extractor.h43 ModuleTypes moduleType);
Djs_module_manager.cpp115 ModuleTypes moduleType = module->GetTypes(); in GetModuleValueOutterInternal() local
116 if (SourceTextModule::IsNativeModule(moduleType)) { in GetModuleValueOutterInternal()
498 …Value> ModuleManager::ResolveNativeModule(const CString &moduleRequestName, ModuleTypes moduleType) in ResolveNativeModule() argument
505 moduleRequestName, moduleType); in ResolveNativeModule()
596 ModuleTypes moduleType = requiredModuleST->GetTypes(); in GetModuleNamespaceInternal() local
598 if (SourceTextModule::IsNativeModule(moduleType)) { in GetModuleNamespaceInternal()
602 if (moduleType == ModuleTypes::CJS_MODULE) { in GetModuleNamespaceInternal()
Dmodule_data_extractor.cpp131 ModuleTypes moduleType) in ParseNativeModule() argument
143 moduleRecord->SetTypes(moduleType); in ParseNativeModule()
Djs_module_manager.h59 …andle<JSTaggedValue> ResolveNativeModule(const CString &moduleRequestName, ModuleTypes moduleType);
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_job.cpp159 auto [isNative, moduleType] = SourceTextModule::CheckNativeModule(requestPath); in DynamicImportJob()
162 … return DynamicImport::ExecuteNativeModule(thread, specifierString, moduleType, resolve, reject); in DynamicImportJob()