Home
last modified time | relevance | path

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

/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dutils.test.ts50 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 …]
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)) {
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dutils.ts26 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);
Dgenerate_sourcemap.ts21 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/
Dmodule_mode_mock.ts22 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/
Dark_utils.test.ts40 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/
Dcompile_info.ts49 EXTNAME_JS,
122 if (path.extname(key) === EXTNAME_JS || path.extname(key) === EXTNAME_JS_MAP) {
Dgen_abc_plugin.ts58 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:
Dark_utils.ts30 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);
Dpre_define.ts434 export const EXTNAME_JS: string = '.js'; constant
Dets_checker.ts48 EXTNAME_JS,
858 path.extname(result.resolvedModule.resolvedFileName) === EXTNAME_JS) {
860 result.resolvedModule.resolvedFileName.replace(EXTNAME_JS, EXTNAME_D_ETS);
Dutils.ts32 EXTNAME_JS,
340 filePath = toUnixPath(filePath).replace(/\.[cm]js$/, EXTNAME_JS);
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dark_define.ts47 export const EXTNAME_JS: string = '.js'; constant
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_mode.ts27 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/
Dmodule_source_file.test.ts37 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)) {
Dmodule_mode.test.ts33 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/
Dbundle_mode.ts34 EXTNAME_JS,
88 if (this.projectConfig.aceModuleBuild && isSpecifiedExt(fileName, EXTNAME_JS)) {