Searched refs:EXTNAME_JS (Results 1 – 17 of 17) sorted by relevance
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/ |
D | utils.test.ts | 50 EXTNAME_JS, 158 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 170 …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)) { 205 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 247 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 266 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 274 const newFilePath = changeFileExtension(filePath, EXTNAME_JS); 286 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(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)) {
|
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/ |
D | utils.ts | 26 EXTNAME_JS, 112 removeCacheFile(cacheFilePath, hasTsNoCheckOrTsIgnore ? EXTNAME_TS : EXTNAME_JS); 117 cacheFilePath = toUnixPath(changeFileExtension(cacheFilePath, EXTNAME_JS)); 154 case EXTNAME_JS: 172 if (!isSpecifiedExt(sourceFilePath, EXTNAME_JS)) { 173 filePath = changeFileExtension(filePath, EXTNAME_JS);
|
D | generate_sourcemap.ts | 21 EXTNAME_JS, 307 … extName = shouldETSOrTSFileTransformToJS(moduleId, this.projectConfig) ? EXTNAME_JS : EXTNAME_TS; 311 extName = shouldETSOrTSFileTransformToJS(moduleId, this.projectConfig) ? EXTNAME_JS : ''; 314 case EXTNAME_JS: 317 … extName = (moduleId.endsWith(EXTNAME_MJS) || moduleId.endsWith(EXTNAME_CJS)) ? EXTNAME_JS : ''; 341 if (!newKey.endsWith(EXTNAME_JS)) { 343 …e: string = shouldETSOrTSFileTransformToJS(moduleId, this.projectConfig) ? EXTNAME_JS : EXTNAME_TS;
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/class_mock/ |
D | module_mode_mock.ts | 22 EXTNAME_JS, 43 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { 54 … filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS); 136 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) {
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/ |
D | ark_utils.test.ts | 40 EXTNAME_JS, 139 if (filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_JS)) { 153 if (filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_JS)) { 164 if (filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_JS)) { 175 if (filePath.endsWith(EXTNAME_TS) || 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 | gen_abc_plugin.ts | 58 EXTNAME_JS, 244 if (path.extname(key) === EXTNAME_JS || path.extname(key) === EXTNAME_JS_MAP) { 257 if (output && path.extname(key) === EXTNAME_JS) { 400 tempFilePath = tempFilePath.replace(/\.ets$/, EXTNAME_JS); 401 buildFilePath = buildFilePath.replace(/\.ets$/, EXTNAME_JS); 420 tempFilePath = tempFilePath.replace(/\.ts$/, EXTNAME_JS); 421 buildFilePath = buildFilePath.replace(/\.ts$/, EXTNAME_JS); 561 case EXTNAME_JS: 1114 case EXTNAME_JS:
|
D | ark_utils.ts | 30 EXTNAME_JS, 634 filePath = filePath.replace(/\.mjs$/, EXTNAME_JS); 637 filePath = filePath.replace(/\.cjs$/, EXTNAME_JS); 688 jsFilePath = jsFilePath.replace(/\.ets$/, EXTNAME_JS); 690 jsFilePath = jsFilePath.replace(/\.ts$/, EXTNAME_JS);
|
D | pre_define.ts | 434 export const EXTNAME_JS: string = '.js'; constant
|
D | ets_checker.ts | 48 EXTNAME_JS, 858 path.extname(result.resolvedModule.resolvedFileName) === EXTNAME_JS) { 860 result.resolvedModule.resolvedFileName.replace(EXTNAME_JS, EXTNAME_D_ETS);
|
D | utils.ts | 32 EXTNAME_JS, 340 filePath = toUnixPath(filePath).replace(/\.[cm]js$/, EXTNAME_JS);
|
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/ |
D | ark_define.ts | 47 export const EXTNAME_JS: string = '.js'; constant
|
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
D | module_mode.ts | 27 EXTNAME_JS, 291 …e: string = shouldETSOrTSFileTransformToJS(moduleId, this.projectConfig) ? EXTNAME_JS : EXTNAME_TS; 296 …t extName: string = shouldETSOrTSFileTransformToJS(moduleId, this.projectConfig) ? EXTNAME_JS : ''; 300 case EXTNAME_JS: 303 …ame: string = (moduleId.endsWith(EXTNAME_MJS) || moduleId.endsWith(EXTNAME_CJS)) ? EXTNAME_JS : '';
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ |
D | module_source_file.test.ts | 37 EXTNAME_JS 78 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 167 if (moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 212 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 255 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) { 298 …moduleId.endsWith(EXTNAME_TS) || moduleId.endsWith(EXTNAME_ETS) || moduleId.endsWith(EXTNAME_JS)) {
|
D | module_mode.test.ts | 33 EXTNAME_JS, 118 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 150 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 182 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 214 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 257 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 301 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 345 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 389 …if (filePath.endsWith(EXTNAME_JS) || filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ET… 1395 …filePath.endsWith(EXTNAME_TS) || filePath.endsWith(EXTNAME_ETS) || filePath.endsWith(EXTNAME_JS)) { [all …]
|
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/ |
D | bundle_mode.ts | 34 EXTNAME_JS, 88 if (this.projectConfig.aceModuleBuild && isSpecifiedExt(fileName, EXTNAME_JS)) {
|