Lines Matching refs:moduleName
762 for (const moduleName of moduleNames) { constant
763 …const result = ts.resolveModuleName(moduleName, containingFile, compilerOptions, moduleResolutionH…
777 } else if (new RegExp(`^@(${sdkConfigPrefix})\\.`, 'i').test(moduleName.trim())) {
781 …veModuleInfo: ResolveModuleInfo = getRealModulePath(sdkConfig.apiPath, moduleName, ['.d.ts', '.d.e…
784 …if (systemModules.includes(moduleName + (isDETS ? '.d.ets' : '.d.ts')) && ts.sys.fileExists(module…
793 } else if (/\.ets$/.test(moduleName) && !/\.d\.ets$/.test(moduleName)) {
794 const modulePath: string = path.resolve(path.dirname(containingFile), moduleName);
800 } else if (/\.ts$/.test(moduleName)) {
801 const modulePath: string = path.resolve(path.dirname(containingFile), moduleName);
808 const modulePath: string = path.resolve(__dirname, '../../../api', moduleName + '.d.ts');
809 …const systemDETSModulePath: string = path.resolve(__dirname, '../../../api', moduleName + '.d.ets'…
810 … const kitModulePath: string = path.resolve(__dirname, '../../../kits', moduleName + '.d.ts');
811 …const kitSystemDETSModulePath: string = path.resolve(__dirname, '../../../kits', moduleName + '.d.…
812 const suffix: string = /\.js$/.test(moduleName) ? '' : '.js';
813 … const jsModulePath: string = path.resolve(__dirname, '../node_modules', moduleName + suffix);
815 path.resolve(__dirname, '../node_modules', moduleName + '/index.js');
817 /\.d\.ets$/.test(moduleName) ? moduleName : moduleName + EXTNAME_D_ETS);
837 …projectConfig.projectPath.substring(0, srcIndex), moduleName + path.sep + 'index' + EXTNAME_D_ETS);
867 export function getRealModulePath(apiDirs: string[], moduleName: string, exts: string[]): ResolveMo…
876 const moduleDir = path.resolve(dir, moduleName + ext);