Home
last modified time | relevance | path

Searched refs:EXTNAME_JS (Results 1 – 16 of 16) sorted by relevance

/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dutils.test.ts46 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 …]
Dcheck_import_modules.test.ts27 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)) {
Dark_utils.test.ts35 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/
Dutils.ts26 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/
Dmodule_mode_mock.ts21 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/
Dcompile_info.ts49 EXTNAME_JS,
122 if (path.extname(key) === EXTNAME_JS || path.extname(key) === EXTNAME_JS_MAP) {
Dark_utils.ts29 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);
Dgen_abc_plugin.ts58 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:
Dpre_define.ts419 export const EXTNAME_JS: string = '.js'; constant
Dutils.ts32 EXTNAME_JS,
335 filePath = toUnixPath(filePath).replace(/\.[cm]js$/, EXTNAME_JS);
Dets_checker.ts49 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/
Dark_define.ts48 export const EXTNAME_JS: string = '.js'; constant
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/
Dbundle_mode.ts34 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/
Dmodule_mode.test.ts28 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)) {
Dmodule_source_file.test.ts36 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/
Dmodule_mode.ts27 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 : '';