Searched refs:moduleType (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | escapedIdentifiers.ts | 61 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/ |
D | js_dynamic_import.cpp | 28 …ModuleTypes moduleType, JSHandle<JSPromiseReactionsFunction> resolve, JSHandle<JSPromiseReactionsF… in ExecuteNativeModule() argument 40 …andle<JSTaggedValue> nativeModuleHld = moduleManager->ResolveNativeModule(requestPath, moduleType); in ExecuteNativeModule() 44 moduleType)) { in ExecuteNativeModule()
|
D | js_module_source_text.h | 105 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);
|
D | js_dynamic_import.h | 27 ModuleTypes moduleType, JSHandle<JSPromiseReactionsFunction> resolve,
|
D | js_module_source_text.cpp | 91 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 …]
|
D | module_data_extractor.h | 43 ModuleTypes moduleType);
|
D | js_module_manager.cpp | 115 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()
|
D | module_data_extractor.cpp | 131 ModuleTypes moduleType) in ParseNativeModule() argument 143 moduleRecord->SetTypes(moduleType); in ParseNativeModule()
|
D | js_module_manager.h | 59 …andle<JSTaggedValue> ResolveNativeModule(const CString &moduleRequestName, ModuleTypes moduleType);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise_job.cpp | 159 auto [isNative, moduleType] = SourceTextModule::CheckNativeModule(requestPath); in DynamicImportJob() 162 … return DynamicImport::ExecuteNativeModule(thread, specifierString, moduleType, resolve, reject); in DynamicImportJob()
|