Searched refs:EXTNAME_JS (Results 1 – 16 of 16) sorted by relevance
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/ |
| D | utils.test.ts | 46 EXTNAME_JS, 147 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 159 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 172 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 183 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 194 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 204 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 212 const newFilePath = changeFileExtension(filePath, EXTNAME_JS); 223 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 231 const newFilePath = changeFileExtension(filePath, EXTNAME_JS); [all …]
|
| D | check_import_modules.test.ts | 27 EXTNAME_JS, 51 if (moduleId.endsWith(EXTNAME_JS)) { 73 if (moduleId.endsWith(EXTNAME_JS)) { 95 if (moduleId.endsWith(EXTNAME_JS)) { 117 if (moduleId.endsWith(EXTNAME_JS)) {
|
| D | ark_utils.test.ts | 35 EXTNAME_JS, 132 if (filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_JS)) { 146 if (filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_JS)) { 157 if (filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_JS)) { 168 if (filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_JS)) { 310 const newFilePath = changeFileExtension(filePath, EXTNAME_JS);
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/ |
| D | utils.ts | 26 EXTNAME_JS, 99 removeCacheFile(cacheFilePath, hasTsNoCheckOrTsIgnore ? EXTNAME_TS : EXTNAME_JS); 103 cacheFilePath = toUnixPath(changeFileExtension(cacheFilePath, EXTNAME_JS)); 132 case EXTNAME_JS: 148 if (!isSpecifiedExt(sourceFilePath, EXTNAME_JS)) { 149 filePath = changeFileExtension(filePath, EXTNAME_JS);
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/class_mock/ |
| D | module_mode_mock.ts | 21 EXTNAME_JS, 40 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 107 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) {
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | compile_info.ts | 49 EXTNAME_JS, 122 if (path.extname(key) === EXTNAME_JS || path.extname(key) === EXTNAME_JS_MAP) {
|
| D | ark_utils.ts | 29 EXTNAME_JS, 536 filePath = filePath.replace(/\.mjs$/, EXTNAME_JS); 539 filePath = filePath.replace(/\.cjs$/, EXTNAME_JS); 585 jsFilePath = jsFilePath.replace(/\.ets$/, EXTNAME_JS); 587 jsFilePath = jsFilePath.replace(/\.ts$/, EXTNAME_JS);
|
| D | gen_abc_plugin.ts | 58 EXTNAME_JS, 245 if (path.extname(key) === EXTNAME_JS || path.extname(key) === EXTNAME_JS_MAP) { 258 if (output && path.extname(key) === EXTNAME_JS) { 401 tempFilePath = tempFilePath.replace(/\.ets$/, EXTNAME_JS); 402 buildFilePath = buildFilePath.replace(/\.ets$/, EXTNAME_JS); 421 tempFilePath = tempFilePath.replace(/\.ts$/, EXTNAME_JS); 422 buildFilePath = buildFilePath.replace(/\.ts$/, EXTNAME_JS); 562 case EXTNAME_JS: 1115 case EXTNAME_JS:
|
| D | pre_define.ts | 419 export const EXTNAME_JS: string = '.js'; constant
|
| D | utils.ts | 32 EXTNAME_JS, 335 filePath = toUnixPath(filePath).replace(/\.[cm]js$/, EXTNAME_JS);
|
| D | ets_checker.ts | 49 EXTNAME_JS, 766 path.extname(result.resolvedModule.resolvedFileName) === EXTNAME_JS) { 768 result.resolvedModule.resolvedFileName.replace(EXTNAME_JS, EXTNAME_D_ETS);
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/ |
| D | ark_define.ts | 48 export const EXTNAME_JS: string = '.js'; constant
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/ |
| D | bundle_mode.ts | 34 EXTNAME_JS, 90 if (this.projectConfig.aceModuleBuild && isSpecifiedExt(fileName, EXTNAME_JS)) { 403 relativeFileName = changeFileExtension(relativeFileName, EXTNAME_JS, TEMP_JS);
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ |
| D | module_mode.test.ts | 28 EXTNAME_JS, 104 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 133 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 161 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 190 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 729 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 747 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 765 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 781 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) {
|
| D | module_source_file.test.ts | 36 EXTNAME_JS 76 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 161 if (moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 204 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 245 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 286 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) {
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
| D | module_mode.ts | 27 EXTNAME_JS, 275 …e: string = shouldETSOrTSFileTransformToJS(moduleId, this.projectConfig) ? EXTNAME_JS : EXTNAME_TS; 280 …t extName: string = shouldETSOrTSFileTransformToJS(moduleId, this.projectConfig) ? EXTNAME_JS : ''; 284 case EXTNAME_JS: 287 …ame: string = (moduleId.endsWith(EXTNAME_MJS) || moduleId.endsWith(EXTNAME_CJS)) ? EXTNAME_JS : '';
|