Home
last modified time | relevance | path

Searched refs:cacheSourceMapObject (Results 1 – 3 of 3) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dgenerate_sourcemap.ts400 const cacheSourceMapObject: Object = this.updateCachedSourceMaps(); constant
406 …fs.writeFile(this.sourceMapPath, JSON.stringify(cacheSourceMapObject, null, 2), 'utf-8', (err) => {
460 let cacheSourceMapObject: Object = null;
463 cacheSourceMapObject = this.sourceMaps;
465 cacheSourceMapObject = JSON.parse(fs.readFileSync(cacheSourceMapInfo.path).toString().trim());
470 Object.keys(cacheSourceMapObject).forEach(key => {
480 delete cacheSourceMapObject[file];
485 cacheSourceMapObject[key] = this.sourceMaps[key];
490 this.updateSourceMapKeyWithObf(cacheSourceMapObject, key, newKey);
492 return cacheSourceMapObject;
/developtools/ace_ets2bundle/compiler/src/interop/src/fast_build/ark_compiler/
Dgenerate_sourcemap.ts406 const cacheSourceMapObject: Object = this.updateCachedSourceMaps(); constant
412 …fs.writeFile(this.sourceMapPath, JSON.stringify(cacheSourceMapObject, null, 2), 'utf-8', (err) => {
472 let cacheSourceMapObject: Object = null;
475 cacheSourceMapObject = this.sourceMaps;
477 cacheSourceMapObject = JSON.parse(fs.readFileSync(cacheSourceMapInfo.path).toString().trim());
482 Object.keys(cacheSourceMapObject).forEach(key => {
492 delete cacheSourceMapObject[file];
497 cacheSourceMapObject[key] = this.sourceMaps[key];
502 this.updateSourceMapKeyWithObf(cacheSourceMapObject, key, newKey);
504 return cacheSourceMapObject;
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/
Dmodule_mode.test.ts801 let cacheSourceMapObject = sourceMapGenerator.updateCachedSourceMaps(); variable
803 for (const key in cacheSourceMapObject) {
804 expect(sourceMapGenerator.getSourceMap(key) === cacheSourceMapObject[key]).to.be.true;
823 let cacheSourceMapObject = sourceMapGenerator.updateCachedSourceMaps(); variable
825 for (const key in cacheSourceMapObject) {
826 expect(sourceMapGenerator.getSourceMap(key) === cacheSourceMapObject[key]).to.be.true;
830 cacheSourceMapObject = sourceMapGenerator.updateCachedSourceMaps();
832 for (const key in cacheSourceMapObject) {
833 expect(sourceMapGenerator.getSourceMap(key) === cacheSourceMapObject[key]).to.be.true;
837 cacheSourceMapObject = sourceMapGenerator.updateCachedSourceMaps();
[all …]