Handle emit helpers in --out scenario

This commit is contained in:
Sheetal Nandi
2019-01-25 14:31:40 -08:00
parent c739defe25
commit 36eae04120
16 changed files with 808 additions and 930 deletions
+13 -8
View File
@@ -1136,16 +1136,16 @@ namespace ts {
if (bundle && moduleKind === ModuleKind.None) {
return;
}
const numNodes = bundle ? bundle.sourceFiles.length : 1;
const numPrepends = bundle ? bundle.prepends.length : 0;
const numNodes = bundle ? bundle.sourceFiles.length + numPrepends : 1;
for (let i = 0; i < numNodes; i++) {
const currentNode = bundle ? bundle.sourceFiles[i] : node;
const sourceFile = isSourceFile(currentNode) ? currentNode : currentSourceFile!;
const shouldSkip = printerOptions.noEmitHelpers || getExternalHelpersModuleName(sourceFile) !== undefined;
const shouldBundle = isSourceFile(currentNode) && !isOwnFileEmit;
const helpers = getEmitHelpers(currentNode);
const currentNode = bundle ? i < numPrepends ? bundle.prepends[i] : bundle.sourceFiles[i - numPrepends] : node;
const sourceFile = isSourceFile(currentNode) ? currentNode : isUnparsedSource(currentNode) ? undefined : currentSourceFile!;
const shouldSkip = printerOptions.noEmitHelpers || (!!sourceFile && getExternalHelpersModuleName(sourceFile) !== undefined);
const shouldBundle = (isSourceFile(currentNode) || isUnparsedSource(currentNode)) && !isOwnFileEmit;
const helpers = isUnparsedSource(currentNode) ? currentNode.helpers : getSortedEmitHelpers(currentNode);
if (helpers) {
for (const helper of stableSort(helpers, compareEmitHelpers)) {
for (const helper of helpers) {
if (!helper.scoped) {
// Skip the helper if it can be skipped and the noEmitHelpers compiler
// option is set, or if it can be imported and the importHelpers compiler
@@ -1181,6 +1181,11 @@ namespace ts {
return helpersEmitted;
}
function getSortedEmitHelpers(node: Node) {
const helpers = getEmitHelpers(node);
return helpers && stableSort(helpers, compareEmitHelpers);
}
//
// Literals/Pseudo-literals
//
+84 -3
View File
@@ -2629,6 +2629,71 @@ namespace ts {
return node;
}
interface UnscopedEmitHelpersWithLines {
helper: UnscopedEmitHelpers;
lines: ReadonlyArray<string>;
}
let allUnscopedEmitHelpers: ReadonlyArray<UnscopedEmitHelpersWithLines> | undefined;
function getAllUnscopedEmitHelpers() {
return allUnscopedEmitHelpers ||
(allUnscopedEmitHelpers = [
getUnscopedEmitHelperWithLines(valuesHelper),
getUnscopedEmitHelperWithLines(readHelper),
getUnscopedEmitHelperWithLines(spreadHelper),
getUnscopedEmitHelperWithLines(restHelper),
getUnscopedEmitHelperWithLines(decorateHelper),
getUnscopedEmitHelperWithLines(metadataHelper),
getUnscopedEmitHelperWithLines(paramHelper),
getUnscopedEmitHelperWithLines(awaiterHelper),
getUnscopedEmitHelperWithLines(assignHelper),
getUnscopedEmitHelperWithLines(awaitHelper),
getUnscopedEmitHelperWithLines(asyncGeneratorHelper),
getUnscopedEmitHelperWithLines(asyncDelegator),
getUnscopedEmitHelperWithLines(asyncValues),
getUnscopedEmitHelperWithLines(extendsHelper),
getUnscopedEmitHelperWithLines(templateObjectHelper),
getUnscopedEmitHelperWithLines(generatorHelper),
getUnscopedEmitHelperWithLines(importStarHelper),
getUnscopedEmitHelperWithLines(importDefaultHelper)
]);
}
function getUnscopedEmitHelperWithLines(helper: UnscopedEmitHelpers): UnscopedEmitHelpersWithLines {
const helperLines = helper.text.split(/\r\n?|\n/g);
const indentation = guessIndentation(helperLines);
const lines: string[] = [];
for (const lineText of helperLines) {
const line = indentation ? lineText.slice(indentation) : lineText;
if (line.length) {
lines.push(line);
}
}
return { helper, lines };
}
function tryGetUnscopedEmitHelper(text: string, pos: number) {
const allHelpers = getAllUnscopedEmitHelpers();
if (pos >= text.length) return undefined;
for (const { helper, lines } of allHelpers) {
let newPos = pos;
for (const line of lines) {
const startIndex = text.indexOf(line, newPos);
if (startIndex !== newPos) {
newPos = -1;
break;
}
newPos = skipTrivia(text, newPos + line.length, /*stopAfterLineBreak*/ true);
}
// Found match
if (newPos !== -1) {
return { helper, newPos };
}
}
return undefined;
}
export function createUnparsedSourceFile(text: string): UnparsedSource;
export function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts"): UnparsedSource;
export function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
@@ -2649,7 +2714,11 @@ namespace ts {
node.sourceMapText = map;
}
const text = node.text;
// Shebang
let pos = isShebangTrivia(text, 0) ? skipTrivia(text, 0, /*stopAfterLineBreak*/ true) : 0;
// Prologue
const scanner = createScanner(ScriptTarget.Latest, /*skipTrivia*/ true, /*languageVariant*/ undefined, text, /*onError*/ undefined, pos);
let prologues: UnparsedPrologue[] | undefined;
while (scanner.scan() === SyntaxKind.StringLiteral) {
@@ -2663,8 +2732,20 @@ namespace ts {
prologue.text = prologueText;
(prologues || (prologues = [])).push(prologue);
}
// Helpers
let helpers: UnscopedEmitHelpers[] | undefined;
while (true) {
const helperInfo = tryGetUnscopedEmitHelper(text, pos);
if (!helperInfo) break;
pos = helperInfo.newPos;
(helpers || (helpers = [])).push(helperInfo.helper);
}
// Rest of the text
node.pos = pos;
node.prologues = prologues || emptyArray;
node.helpers = helpers;
node.getLineAndCharacterOfPosition = pos => getLineAndCharacterOfPosition(node, pos);
return node;
}
@@ -3390,7 +3471,7 @@ namespace ts {
return setEmitFlags(createIdentifier(name), EmitFlags.HelperName | EmitFlags.AdviseOnEmitNode);
}
const valuesHelper: EmitHelper = {
export const valuesHelper: UnscopedEmitHelpers = {
name: "typescript:values",
scoped: false,
text: `
@@ -3418,7 +3499,7 @@ namespace ts {
);
}
const readHelper: EmitHelper = {
export const readHelper: UnscopedEmitHelpers = {
name: "typescript:read",
scoped: false,
text: `
@@ -3454,7 +3535,7 @@ namespace ts {
);
}
const spreadHelper: EmitHelper = {
export const spreadHelper: UnscopedEmitHelpers = {
name: "typescript:spread",
scoped: false,
text: `
+1 -1
View File
@@ -512,7 +512,7 @@ namespace ts {
return name;
}
const restHelper: EmitHelper = {
export const restHelper: UnscopedEmitHelpers = {
name: "typescript:rest",
scoped: false,
text: `
+2 -2
View File
@@ -4383,7 +4383,7 @@ namespace ts {
);
}
const extendsHelper: EmitHelper = {
export const extendsHelper: UnscopedEmitHelpers = {
name: "typescript:extends",
scoped: false,
priority: 0,
@@ -4404,7 +4404,7 @@ namespace ts {
})();`
};
const templateObjectHelper: EmitHelper = {
export const templateObjectHelper: UnscopedEmitHelpers = {
name: "typescript:makeTemplateObject",
scoped: false,
priority: 0,
+1 -1
View File
@@ -750,7 +750,7 @@ namespace ts {
NodeFlags.Const));
}
const awaiterHelper: EmitHelper = {
export const awaiterHelper: UnscopedEmitHelpers = {
name: "typescript:awaiter",
scoped: false,
priority: 5,
+5 -5
View File
@@ -929,7 +929,7 @@ namespace ts {
}
}
const assignHelper: EmitHelper = {
export const assignHelper: UnscopedEmitHelpers = {
name: "typescript:assign",
scoped: false,
priority: 1,
@@ -961,7 +961,7 @@ namespace ts {
);
}
const awaitHelper: EmitHelper = {
export const awaitHelper: UnscopedEmitHelpers = {
name: "typescript:await",
scoped: false,
text: `
@@ -973,7 +973,7 @@ namespace ts {
return createCall(getHelperName("__await"), /*typeArguments*/ undefined, [expression]);
}
const asyncGeneratorHelper: EmitHelper = {
export const asyncGeneratorHelper: UnscopedEmitHelpers = {
name: "typescript:asyncGenerator",
scoped: false,
text: `
@@ -1008,7 +1008,7 @@ namespace ts {
);
}
const asyncDelegator: EmitHelper = {
export const asyncDelegator: UnscopedEmitHelpers = {
name: "typescript:asyncDelegator",
scoped: false,
text: `
@@ -1032,7 +1032,7 @@ namespace ts {
);
}
const asyncValues: EmitHelper = {
export const asyncValues: UnscopedEmitHelpers = {
name: "typescript:asyncValues",
scoped: false,
text: `
+1 -1
View File
@@ -3240,7 +3240,7 @@ namespace ts {
// entering a finally block.
//
// For examples of how these are used, see the comments in ./transformers/generators.ts
const generatorHelper: EmitHelper = {
export const generatorHelper: UnscopedEmitHelpers = {
name: "typescript:generator",
scoped: false,
priority: 6,
+2 -2
View File
@@ -1806,7 +1806,7 @@ namespace ts {
};
// emit helper for `import * as Name from "foo"`
const importStarHelper: EmitHelper = {
export const importStarHelper: UnscopedEmitHelpers = {
name: "typescript:commonjsimportstar",
scoped: false,
text: `
@@ -1820,7 +1820,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
// emit helper for `import Name from "foo"`
const importDefaultHelper: EmitHelper = {
export const importDefaultHelper: UnscopedEmitHelpers = {
name: "typescript:commonjsimportdefault",
scoped: false,
text: `
+3 -3
View File
@@ -3675,7 +3675,7 @@ namespace ts {
);
}
const decorateHelper: EmitHelper = {
export const decorateHelper: UnscopedEmitHelpers = {
name: "typescript:decorate",
scoped: false,
priority: 2,
@@ -3700,7 +3700,7 @@ namespace ts {
);
}
const metadataHelper: EmitHelper = {
export const metadataHelper: UnscopedEmitHelpers = {
name: "typescript:metadata",
scoped: false,
priority: 3,
@@ -3725,7 +3725,7 @@ namespace ts {
);
}
const paramHelper: EmitHelper = {
export const paramHelper: UnscopedEmitHelpers = {
name: "typescript:param",
scoped: false,
priority: 4,
+6
View File
@@ -2777,6 +2777,7 @@ namespace ts {
fileName?: string;
text: string;
prologues: ReadonlyArray<UnparsedPrologue>;
helpers: ReadonlyArray<UnscopedEmitHelpers> | undefined;
sourceMapPath?: string;
sourceMapText?: string;
/*@internal*/ parsedSourceMap?: RawSourceMap | false | undefined;
@@ -5189,6 +5190,11 @@ namespace ts {
readonly priority?: number; // Helpers with a higher priority are emitted earlier than other helpers on the node.
}
export interface UnscopedEmitHelpers extends EmitHelper {
readonly scoped: false; // Indicates whether the helper MUST be emitted in the current scope.
readonly text: string; // ES3-compatible raw script text, or a function yielding such a string
}
/* @internal */
export type UniqueNameHandler = (baseName: string, checkFn?: (name: string) => boolean, optimistic?: boolean) => string;
+5
View File
@@ -1741,6 +1741,7 @@ declare namespace ts {
fileName?: string;
text: string;
prologues: ReadonlyArray<UnparsedPrologue>;
helpers: ReadonlyArray<UnscopedEmitHelpers> | undefined;
sourceMapPath?: string;
sourceMapText?: string;
}
@@ -2756,6 +2757,10 @@ declare namespace ts {
readonly text: string | ((node: EmitHelperUniqueNameCallback) => string);
readonly priority?: number;
}
interface UnscopedEmitHelpers extends EmitHelper {
readonly scoped: false;
readonly text: string;
}
type EmitHelperUniqueNameCallback = (name: string) => string;
enum EmitHint {
SourceFile = 0,
+5
View File
@@ -1741,6 +1741,7 @@ declare namespace ts {
fileName?: string;
text: string;
prologues: ReadonlyArray<UnparsedPrologue>;
helpers: ReadonlyArray<UnscopedEmitHelpers> | undefined;
sourceMapPath?: string;
sourceMapText?: string;
}
@@ -2756,6 +2757,10 @@ declare namespace ts {
readonly text: string | ((node: EmitHelperUniqueNameCallback) => string);
readonly priority?: number;
}
interface UnscopedEmitHelpers extends EmitHelper {
readonly scoped: false;
readonly text: string;
}
type EmitHelperUniqueNameCallback = (name: string) => string;
enum EmitHint {
SourceFile = 0,
@@ -1521,19 +1521,6 @@ var __extends = (this && this.__extends) || (function () {
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var s = "Hello, world";
console.log(s);
console.log(f());
@@ -1553,19 +1540,6 @@ function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var N;
(function (N) {
function f() {
@@ -1611,7 +1585,7 @@ var third2 = (function (_super) {
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;ACIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AAEjB;IAAA;IAAe,CAAC;IAAD,aAAC;AAAD,CAAC,AAAhB,IAAgB;AAChB;IAAqB,0BAAM;IAA3B;;IAA8B,CAAC;IAAD,aAAC;AAAD,CAAC,AAA/B,CAAqB,MAAM,GAAI;ACH/B,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;;;;;;;;;;;;;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IAAA;IAAgB,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjB,IAAiB;AACjB;IAAsB,2BAAO;IAA7B;;IAAgC,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjC,CAAsB,OAAO,GAAI;ACbjC;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAEhB;IAAA;IAAe,CAAC;IAAD,aAAC;AAAD,CAAC,AAAhB,IAAgB;AAChB;IAAqB,0BAAM;IAA3B;;IAA8B,CAAC;IAAD,aAAC;AAAD,CAAC,AAA/B,CAAqB,MAAM,GAAI"}
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":";;;;;;;;;;;;;ACIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AAEjB;IAAA;IAAe,CAAC;IAAD,aAAC;AAAD,CAAC,AAAhB,IAAgB;AAChB;IAAqB,0BAAM;IAA3B;;IAA8B,CAAC;IAAD,aAAC;AAAD,CAAC,AAA/B,CAAqB,MAAM,GAAI;ACH/B,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IAAA;IAAgB,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjB,IAAiB;AACjB;IAAsB,2BAAO;IAA7B;;IAAgC,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjC,CAAsB,OAAO,GAAI;ACbjC;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAEhB;IAAA;IAAe,CAAC;IAAD,aAAC;AAAD,CAAC,AAAhB,IAAgB;AAChB;IAAqB,0BAAM;IAA3B;;IAA8B,CAAC;IAAD,aAAC;AAAD,CAAC,AAA/B,CAAqB,MAAM,GAAI"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
@@ -1637,19 +1611,6 @@ sourceFile:../../../first/first_PART1.ts
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>> };
>>>})();
>>>var __extends = (this && this.__extends) || (function () {
>>> var extendStatics = function (d, b) {
>>> extendStatics = Object.setPrototypeOf ||
>>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
>>> function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
>>> return extendStatics(d, b);
>>> };
>>> return function (d, b) {
>>> extendStatics(d, b);
>>> function __() { this.constructor = d; }
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>> };
>>>})();
>>>var s = "Hello, world";
1 >
2 >^^^^
@@ -1667,12 +1628,12 @@ sourceFile:../../../first/first_PART1.ts
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(27, 1) Source(5, 1) + SourceIndex(1)
2 >Emitted(27, 5) Source(5, 7) + SourceIndex(1)
3 >Emitted(27, 6) Source(5, 8) + SourceIndex(1)
4 >Emitted(27, 9) Source(5, 11) + SourceIndex(1)
5 >Emitted(27, 23) Source(5, 25) + SourceIndex(1)
6 >Emitted(27, 24) Source(5, 26) + SourceIndex(1)
1 >Emitted(14, 1) Source(5, 1) + SourceIndex(1)
2 >Emitted(14, 5) Source(5, 7) + SourceIndex(1)
3 >Emitted(14, 6) Source(5, 8) + SourceIndex(1)
4 >Emitted(14, 9) Source(5, 11) + SourceIndex(1)
5 >Emitted(14, 23) Source(5, 25) + SourceIndex(1)
6 >Emitted(14, 24) Source(5, 26) + SourceIndex(1)
---
>>>console.log(s);
1 >
@@ -1698,14 +1659,14 @@ sourceFile:../../../first/first_PART1.ts
6 > s
7 > )
8 > ;
1 >Emitted(28, 1) Source(11, 1) + SourceIndex(1)
2 >Emitted(28, 8) Source(11, 8) + SourceIndex(1)
3 >Emitted(28, 9) Source(11, 9) + SourceIndex(1)
4 >Emitted(28, 12) Source(11, 12) + SourceIndex(1)
5 >Emitted(28, 13) Source(11, 13) + SourceIndex(1)
6 >Emitted(28, 14) Source(11, 14) + SourceIndex(1)
7 >Emitted(28, 15) Source(11, 15) + SourceIndex(1)
8 >Emitted(28, 16) Source(11, 16) + SourceIndex(1)
1 >Emitted(15, 1) Source(11, 1) + SourceIndex(1)
2 >Emitted(15, 8) Source(11, 8) + SourceIndex(1)
3 >Emitted(15, 9) Source(11, 9) + SourceIndex(1)
4 >Emitted(15, 12) Source(11, 12) + SourceIndex(1)
5 >Emitted(15, 13) Source(11, 13) + SourceIndex(1)
6 >Emitted(15, 14) Source(11, 14) + SourceIndex(1)
7 >Emitted(15, 15) Source(11, 15) + SourceIndex(1)
8 >Emitted(15, 16) Source(11, 16) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -1731,15 +1692,15 @@ sourceFile:../../../first/first_part2.ts
7 > ()
8 > )
9 > ;
1->Emitted(29, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(29, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(29, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(29, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(29, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(29, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(29, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(29, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(29, 18) Source(1, 18) + SourceIndex(2)
1->Emitted(16, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(16, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(16, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(16, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(16, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(16, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(16, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(16, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(16, 18) Source(1, 18) + SourceIndex(2)
---
>>>var first1 = (function () {
1->
@@ -1747,13 +1708,13 @@ sourceFile:../../../first/first_part2.ts
1->
>
>
1->Emitted(30, 1) Source(3, 1) + SourceIndex(2)
1->Emitted(17, 1) Source(3, 1) + SourceIndex(2)
---
>>> function first1() {
1->^^^^
2 > ^^->
1->
1->Emitted(31, 5) Source(3, 1) + SourceIndex(2)
1->Emitted(18, 5) Source(3, 1) + SourceIndex(2)
---
>>> }
1->^^^^
@@ -1761,16 +1722,16 @@ sourceFile:../../../first/first_part2.ts
3 > ^^^^^^^^^^^^^^->
1->class first1 {
2 > }
1->Emitted(32, 5) Source(3, 16) + SourceIndex(2)
2 >Emitted(32, 6) Source(3, 17) + SourceIndex(2)
1->Emitted(19, 5) Source(3, 16) + SourceIndex(2)
2 >Emitted(19, 6) Source(3, 17) + SourceIndex(2)
---
>>> return first1;
1->^^^^
2 > ^^^^^^^^^^^^^
1->
2 > }
1->Emitted(33, 5) Source(3, 16) + SourceIndex(2)
2 >Emitted(33, 18) Source(3, 17) + SourceIndex(2)
1->Emitted(20, 5) Source(3, 16) + SourceIndex(2)
2 >Emitted(20, 18) Source(3, 17) + SourceIndex(2)
---
>>>}());
1 >
@@ -1782,31 +1743,31 @@ sourceFile:../../../first/first_part2.ts
2 >}
3 >
4 > class first1 { }
1 >Emitted(34, 1) Source(3, 16) + SourceIndex(2)
2 >Emitted(34, 2) Source(3, 17) + SourceIndex(2)
3 >Emitted(34, 2) Source(3, 1) + SourceIndex(2)
4 >Emitted(34, 6) Source(3, 17) + SourceIndex(2)
1 >Emitted(21, 1) Source(3, 16) + SourceIndex(2)
2 >Emitted(21, 2) Source(3, 17) + SourceIndex(2)
3 >Emitted(21, 2) Source(3, 1) + SourceIndex(2)
4 >Emitted(21, 6) Source(3, 17) + SourceIndex(2)
---
>>>var first2 = (function (_super) {
1->
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
1->Emitted(35, 1) Source(4, 1) + SourceIndex(2)
1->Emitted(22, 1) Source(4, 1) + SourceIndex(2)
---
>>> __extends(first2, _super);
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^
1->class first2 extends
2 > first1
1->Emitted(36, 5) Source(4, 22) + SourceIndex(2)
2 >Emitted(36, 31) Source(4, 28) + SourceIndex(2)
1->Emitted(23, 5) Source(4, 22) + SourceIndex(2)
2 >Emitted(23, 31) Source(4, 28) + SourceIndex(2)
---
>>> function first2() {
1 >^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
1 >Emitted(37, 5) Source(4, 1) + SourceIndex(2)
1 >Emitted(24, 5) Source(4, 1) + SourceIndex(2)
---
>>> return _super !== null && _super.apply(this, arguments) || this;
>>> }
@@ -1815,16 +1776,16 @@ sourceFile:../../../first/first_part2.ts
3 > ^^^^^^^^^^^^^^->
1->class first2 extends first1 {
2 > }
1->Emitted(39, 5) Source(4, 31) + SourceIndex(2)
2 >Emitted(39, 6) Source(4, 32) + SourceIndex(2)
1->Emitted(26, 5) Source(4, 31) + SourceIndex(2)
2 >Emitted(26, 6) Source(4, 32) + SourceIndex(2)
---
>>> return first2;
1->^^^^
2 > ^^^^^^^^^^^^^
1->
2 > }
1->Emitted(40, 5) Source(4, 31) + SourceIndex(2)
2 >Emitted(40, 18) Source(4, 32) + SourceIndex(2)
1->Emitted(27, 5) Source(4, 31) + SourceIndex(2)
2 >Emitted(27, 18) Source(4, 32) + SourceIndex(2)
---
>>>}(first1));
1 >
@@ -1840,12 +1801,12 @@ sourceFile:../../../first/first_part2.ts
4 > class first2 extends
5 > first1
6 > { }
1 >Emitted(41, 1) Source(4, 31) + SourceIndex(2)
2 >Emitted(41, 2) Source(4, 32) + SourceIndex(2)
3 >Emitted(41, 2) Source(4, 1) + SourceIndex(2)
4 >Emitted(41, 3) Source(4, 22) + SourceIndex(2)
5 >Emitted(41, 9) Source(4, 28) + SourceIndex(2)
6 >Emitted(41, 12) Source(4, 32) + SourceIndex(2)
1 >Emitted(28, 1) Source(4, 31) + SourceIndex(2)
2 >Emitted(28, 2) Source(4, 32) + SourceIndex(2)
3 >Emitted(28, 2) Source(4, 1) + SourceIndex(2)
4 >Emitted(28, 3) Source(4, 22) + SourceIndex(2)
5 >Emitted(28, 9) Source(4, 28) + SourceIndex(2)
6 >Emitted(28, 12) Source(4, 32) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -1859,9 +1820,9 @@ sourceFile:../../../first/first_part3.ts
1->
2 >function
3 > f
1->Emitted(42, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(42, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(42, 11) Source(1, 11) + SourceIndex(3)
1->Emitted(29, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(29, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(29, 11) Source(1, 11) + SourceIndex(3)
---
>>> return "JS does hoists";
1->^^^^
@@ -1873,10 +1834,10 @@ sourceFile:../../../first/first_part3.ts
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(43, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(43, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(43, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(43, 29) Source(2, 29) + SourceIndex(3)
1->Emitted(30, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(30, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(30, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(30, 29) Source(2, 29) + SourceIndex(3)
---
>>>}
1 >
@@ -1885,27 +1846,14 @@ sourceFile:../../../first/first_part3.ts
1 >
>
2 >}
1 >Emitted(44, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(44, 2) Source(3, 2) + SourceIndex(3)
1 >Emitted(31, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(31, 2) Source(3, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var __extends = (this && this.__extends) || (function () {
>>> var extendStatics = function (d, b) {
>>> extendStatics = Object.setPrototypeOf ||
>>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
>>> function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
>>> return extendStatics(d, b);
>>> };
>>> return function (d, b) {
>>> extendStatics(d, b);
>>> function __() { this.constructor = d; }
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>> };
>>>})();
>>>var N;
1->
2 >^^^^
@@ -1926,10 +1874,10 @@ sourceFile:../../../second/second_part1.ts
>
> f();
> }
1->Emitted(59, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(59, 5) Source(5, 11) + SourceIndex(4)
3 >Emitted(59, 6) Source(5, 12) + SourceIndex(4)
4 >Emitted(59, 7) Source(11, 2) + SourceIndex(4)
1->Emitted(33, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(33, 5) Source(5, 11) + SourceIndex(4)
3 >Emitted(33, 6) Source(5, 12) + SourceIndex(4)
4 >Emitted(33, 7) Source(11, 2) + SourceIndex(4)
---
>>>(function (N) {
1->
@@ -1939,9 +1887,9 @@ sourceFile:../../../second/second_part1.ts
1->
2 >namespace
3 > N
1->Emitted(60, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(60, 12) Source(5, 11) + SourceIndex(4)
3 >Emitted(60, 13) Source(5, 12) + SourceIndex(4)
1->Emitted(34, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(34, 12) Source(5, 11) + SourceIndex(4)
3 >Emitted(34, 13) Source(5, 12) + SourceIndex(4)
---
>>> function f() {
1->^^^^
@@ -1952,9 +1900,9 @@ sourceFile:../../../second/second_part1.ts
>
2 > function
3 > f
1->Emitted(61, 5) Source(6, 5) + SourceIndex(4)
2 >Emitted(61, 14) Source(6, 14) + SourceIndex(4)
3 >Emitted(61, 15) Source(6, 15) + SourceIndex(4)
1->Emitted(35, 5) Source(6, 5) + SourceIndex(4)
2 >Emitted(35, 14) Source(6, 14) + SourceIndex(4)
3 >Emitted(35, 15) Source(6, 15) + SourceIndex(4)
---
>>> console.log('testing');
1->^^^^^^^^
@@ -1974,14 +1922,14 @@ sourceFile:../../../second/second_part1.ts
6 > 'testing'
7 > )
8 > ;
1->Emitted(62, 9) Source(7, 9) + SourceIndex(4)
2 >Emitted(62, 16) Source(7, 16) + SourceIndex(4)
3 >Emitted(62, 17) Source(7, 17) + SourceIndex(4)
4 >Emitted(62, 20) Source(7, 20) + SourceIndex(4)
5 >Emitted(62, 21) Source(7, 21) + SourceIndex(4)
6 >Emitted(62, 30) Source(7, 30) + SourceIndex(4)
7 >Emitted(62, 31) Source(7, 31) + SourceIndex(4)
8 >Emitted(62, 32) Source(7, 32) + SourceIndex(4)
1->Emitted(36, 9) Source(7, 9) + SourceIndex(4)
2 >Emitted(36, 16) Source(7, 16) + SourceIndex(4)
3 >Emitted(36, 17) Source(7, 17) + SourceIndex(4)
4 >Emitted(36, 20) Source(7, 20) + SourceIndex(4)
5 >Emitted(36, 21) Source(7, 21) + SourceIndex(4)
6 >Emitted(36, 30) Source(7, 30) + SourceIndex(4)
7 >Emitted(36, 31) Source(7, 31) + SourceIndex(4)
8 >Emitted(36, 32) Source(7, 32) + SourceIndex(4)
---
>>> }
1 >^^^^
@@ -1990,8 +1938,8 @@ sourceFile:../../../second/second_part1.ts
1 >
>
2 > }
1 >Emitted(63, 5) Source(8, 5) + SourceIndex(4)
2 >Emitted(63, 6) Source(8, 6) + SourceIndex(4)
1 >Emitted(37, 5) Source(8, 5) + SourceIndex(4)
2 >Emitted(37, 6) Source(8, 6) + SourceIndex(4)
---
>>> f();
1->^^^^
@@ -2005,10 +1953,10 @@ sourceFile:../../../second/second_part1.ts
2 > f
3 > ()
4 > ;
1->Emitted(64, 5) Source(10, 5) + SourceIndex(4)
2 >Emitted(64, 6) Source(10, 6) + SourceIndex(4)
3 >Emitted(64, 8) Source(10, 8) + SourceIndex(4)
4 >Emitted(64, 9) Source(10, 9) + SourceIndex(4)
1->Emitted(38, 5) Source(10, 5) + SourceIndex(4)
2 >Emitted(38, 6) Source(10, 6) + SourceIndex(4)
3 >Emitted(38, 8) Source(10, 8) + SourceIndex(4)
4 >Emitted(38, 9) Source(10, 9) + SourceIndex(4)
---
>>>})(N || (N = {}));
1->
@@ -2033,13 +1981,13 @@ sourceFile:../../../second/second_part1.ts
>
> f();
> }
1->Emitted(65, 1) Source(11, 1) + SourceIndex(4)
2 >Emitted(65, 2) Source(11, 2) + SourceIndex(4)
3 >Emitted(65, 4) Source(5, 11) + SourceIndex(4)
4 >Emitted(65, 5) Source(5, 12) + SourceIndex(4)
5 >Emitted(65, 10) Source(5, 11) + SourceIndex(4)
6 >Emitted(65, 11) Source(5, 12) + SourceIndex(4)
7 >Emitted(65, 19) Source(11, 2) + SourceIndex(4)
1->Emitted(39, 1) Source(11, 1) + SourceIndex(4)
2 >Emitted(39, 2) Source(11, 2) + SourceIndex(4)
3 >Emitted(39, 4) Source(5, 11) + SourceIndex(4)
4 >Emitted(39, 5) Source(5, 12) + SourceIndex(4)
5 >Emitted(39, 10) Source(5, 11) + SourceIndex(4)
6 >Emitted(39, 11) Source(5, 12) + SourceIndex(4)
7 >Emitted(39, 19) Source(11, 2) + SourceIndex(4)
---
>>>var second1 = (function () {
1->
@@ -2047,13 +1995,13 @@ sourceFile:../../../second/second_part1.ts
1->
>
>
1->Emitted(66, 1) Source(13, 1) + SourceIndex(4)
1->Emitted(40, 1) Source(13, 1) + SourceIndex(4)
---
>>> function second1() {
1->^^^^
2 > ^^->
1->
1->Emitted(67, 5) Source(13, 1) + SourceIndex(4)
1->Emitted(41, 5) Source(13, 1) + SourceIndex(4)
---
>>> }
1->^^^^
@@ -2061,16 +2009,16 @@ sourceFile:../../../second/second_part1.ts
3 > ^^^^^^^^^^^^^^^->
1->class second1 {
2 > }
1->Emitted(68, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(68, 6) Source(13, 18) + SourceIndex(4)
1->Emitted(42, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(42, 6) Source(13, 18) + SourceIndex(4)
---
>>> return second1;
1->^^^^
2 > ^^^^^^^^^^^^^^
1->
2 > }
1->Emitted(69, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(69, 19) Source(13, 18) + SourceIndex(4)
1->Emitted(43, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(43, 19) Source(13, 18) + SourceIndex(4)
---
>>>}());
1 >
@@ -2082,31 +2030,31 @@ sourceFile:../../../second/second_part1.ts
2 >}
3 >
4 > class second1 { }
1 >Emitted(70, 1) Source(13, 17) + SourceIndex(4)
2 >Emitted(70, 2) Source(13, 18) + SourceIndex(4)
3 >Emitted(70, 2) Source(13, 1) + SourceIndex(4)
4 >Emitted(70, 6) Source(13, 18) + SourceIndex(4)
1 >Emitted(44, 1) Source(13, 17) + SourceIndex(4)
2 >Emitted(44, 2) Source(13, 18) + SourceIndex(4)
3 >Emitted(44, 2) Source(13, 1) + SourceIndex(4)
4 >Emitted(44, 6) Source(13, 18) + SourceIndex(4)
---
>>>var second2 = (function (_super) {
1->
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
1->Emitted(71, 1) Source(14, 1) + SourceIndex(4)
1->Emitted(45, 1) Source(14, 1) + SourceIndex(4)
---
>>> __extends(second2, _super);
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1->class second2 extends
2 > second1
1->Emitted(72, 5) Source(14, 23) + SourceIndex(4)
2 >Emitted(72, 32) Source(14, 30) + SourceIndex(4)
1->Emitted(46, 5) Source(14, 23) + SourceIndex(4)
2 >Emitted(46, 32) Source(14, 30) + SourceIndex(4)
---
>>> function second2() {
1 >^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
1 >Emitted(73, 5) Source(14, 1) + SourceIndex(4)
1 >Emitted(47, 5) Source(14, 1) + SourceIndex(4)
---
>>> return _super !== null && _super.apply(this, arguments) || this;
>>> }
@@ -2115,16 +2063,16 @@ sourceFile:../../../second/second_part1.ts
3 > ^^^^^^^^^^^^^^^->
1->class second2 extends second1 {
2 > }
1->Emitted(75, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(75, 6) Source(14, 34) + SourceIndex(4)
1->Emitted(49, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(49, 6) Source(14, 34) + SourceIndex(4)
---
>>> return second2;
1->^^^^
2 > ^^^^^^^^^^^^^^
1->
2 > }
1->Emitted(76, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(76, 19) Source(14, 34) + SourceIndex(4)
1->Emitted(50, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(50, 19) Source(14, 34) + SourceIndex(4)
---
>>>}(second1));
1 >
@@ -2140,12 +2088,12 @@ sourceFile:../../../second/second_part1.ts
4 > class second2 extends
5 > second1
6 > { }
1 >Emitted(77, 1) Source(14, 33) + SourceIndex(4)
2 >Emitted(77, 2) Source(14, 34) + SourceIndex(4)
3 >Emitted(77, 2) Source(14, 1) + SourceIndex(4)
4 >Emitted(77, 3) Source(14, 23) + SourceIndex(4)
5 >Emitted(77, 10) Source(14, 30) + SourceIndex(4)
6 >Emitted(77, 13) Source(14, 34) + SourceIndex(4)
1 >Emitted(51, 1) Source(14, 33) + SourceIndex(4)
2 >Emitted(51, 2) Source(14, 34) + SourceIndex(4)
3 >Emitted(51, 2) Source(14, 1) + SourceIndex(4)
4 >Emitted(51, 3) Source(14, 23) + SourceIndex(4)
5 >Emitted(51, 10) Source(14, 30) + SourceIndex(4)
6 >Emitted(51, 13) Source(14, 34) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -2155,13 +2103,13 @@ sourceFile:../../../second/second_part2.ts
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(78, 1) Source(1, 1) + SourceIndex(5)
1->Emitted(52, 1) Source(1, 1) + SourceIndex(5)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(79, 5) Source(1, 1) + SourceIndex(5)
1->Emitted(53, 5) Source(1, 1) + SourceIndex(5)
---
>>> }
1->^^^^
@@ -2173,8 +2121,8 @@ sourceFile:../../../second/second_part2.ts
> }
>
2 > }
1->Emitted(80, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(80, 6) Source(5, 2) + SourceIndex(5)
1->Emitted(54, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(54, 6) Source(5, 2) + SourceIndex(5)
---
>>> C.prototype.doSomething = function () {
1->^^^^
@@ -2184,9 +2132,9 @@ sourceFile:../../../second/second_part2.ts
1->
2 > doSomething
3 >
1->Emitted(81, 5) Source(2, 5) + SourceIndex(5)
2 >Emitted(81, 28) Source(2, 16) + SourceIndex(5)
3 >Emitted(81, 31) Source(2, 5) + SourceIndex(5)
1->Emitted(55, 5) Source(2, 5) + SourceIndex(5)
2 >Emitted(55, 28) Source(2, 16) + SourceIndex(5)
3 >Emitted(55, 31) Source(2, 5) + SourceIndex(5)
---
>>> console.log("something got done");
1->^^^^^^^^
@@ -2206,14 +2154,14 @@ sourceFile:../../../second/second_part2.ts
6 > "something got done"
7 > )
8 > ;
1->Emitted(82, 9) Source(3, 9) + SourceIndex(5)
2 >Emitted(82, 16) Source(3, 16) + SourceIndex(5)
3 >Emitted(82, 17) Source(3, 17) + SourceIndex(5)
4 >Emitted(82, 20) Source(3, 20) + SourceIndex(5)
5 >Emitted(82, 21) Source(3, 21) + SourceIndex(5)
6 >Emitted(82, 41) Source(3, 41) + SourceIndex(5)
7 >Emitted(82, 42) Source(3, 42) + SourceIndex(5)
8 >Emitted(82, 43) Source(3, 43) + SourceIndex(5)
1->Emitted(56, 9) Source(3, 9) + SourceIndex(5)
2 >Emitted(56, 16) Source(3, 16) + SourceIndex(5)
3 >Emitted(56, 17) Source(3, 17) + SourceIndex(5)
4 >Emitted(56, 20) Source(3, 20) + SourceIndex(5)
5 >Emitted(56, 21) Source(3, 21) + SourceIndex(5)
6 >Emitted(56, 41) Source(3, 41) + SourceIndex(5)
7 >Emitted(56, 42) Source(3, 42) + SourceIndex(5)
8 >Emitted(56, 43) Source(3, 43) + SourceIndex(5)
---
>>> };
1 >^^^^
@@ -2222,8 +2170,8 @@ sourceFile:../../../second/second_part2.ts
1 >
>
2 > }
1 >Emitted(83, 5) Source(4, 5) + SourceIndex(5)
2 >Emitted(83, 6) Source(4, 6) + SourceIndex(5)
1 >Emitted(57, 5) Source(4, 5) + SourceIndex(5)
2 >Emitted(57, 6) Source(4, 6) + SourceIndex(5)
---
>>> return C;
1->^^^^
@@ -2231,8 +2179,8 @@ sourceFile:../../../second/second_part2.ts
1->
>
2 > }
1->Emitted(84, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(84, 13) Source(5, 2) + SourceIndex(5)
1->Emitted(58, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(58, 13) Source(5, 2) + SourceIndex(5)
---
>>>}());
1 >
@@ -2248,10 +2196,10 @@ sourceFile:../../../second/second_part2.ts
> console.log("something got done");
> }
> }
1 >Emitted(85, 1) Source(5, 1) + SourceIndex(5)
2 >Emitted(85, 2) Source(5, 2) + SourceIndex(5)
3 >Emitted(85, 2) Source(1, 1) + SourceIndex(5)
4 >Emitted(85, 6) Source(5, 2) + SourceIndex(5)
1 >Emitted(59, 1) Source(5, 1) + SourceIndex(5)
2 >Emitted(59, 2) Source(5, 2) + SourceIndex(5)
3 >Emitted(59, 2) Source(1, 1) + SourceIndex(5)
4 >Emitted(59, 6) Source(5, 2) + SourceIndex(5)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -2276,14 +2224,14 @@ sourceFile:../../third_part1.ts
6 > C
7 > ()
8 > ;
1->Emitted(87, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(87, 5) Source(1, 5) + SourceIndex(0)
3 >Emitted(87, 6) Source(1, 6) + SourceIndex(0)
4 >Emitted(87, 9) Source(1, 9) + SourceIndex(0)
5 >Emitted(87, 13) Source(1, 13) + SourceIndex(0)
6 >Emitted(87, 14) Source(1, 14) + SourceIndex(0)
7 >Emitted(87, 16) Source(1, 16) + SourceIndex(0)
8 >Emitted(87, 17) Source(1, 17) + SourceIndex(0)
1->Emitted(61, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(61, 5) Source(1, 5) + SourceIndex(0)
3 >Emitted(61, 6) Source(1, 6) + SourceIndex(0)
4 >Emitted(61, 9) Source(1, 9) + SourceIndex(0)
5 >Emitted(61, 13) Source(1, 13) + SourceIndex(0)
6 >Emitted(61, 14) Source(1, 14) + SourceIndex(0)
7 >Emitted(61, 16) Source(1, 16) + SourceIndex(0)
8 >Emitted(61, 17) Source(1, 17) + SourceIndex(0)
---
>>>c.doSomething();
1->
@@ -2300,12 +2248,12 @@ sourceFile:../../third_part1.ts
4 > doSomething
5 > ()
6 > ;
1->Emitted(88, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(88, 2) Source(2, 2) + SourceIndex(0)
3 >Emitted(88, 3) Source(2, 3) + SourceIndex(0)
4 >Emitted(88, 14) Source(2, 14) + SourceIndex(0)
5 >Emitted(88, 16) Source(2, 16) + SourceIndex(0)
6 >Emitted(88, 17) Source(2, 17) + SourceIndex(0)
1->Emitted(62, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(62, 2) Source(2, 2) + SourceIndex(0)
3 >Emitted(62, 3) Source(2, 3) + SourceIndex(0)
4 >Emitted(62, 14) Source(2, 14) + SourceIndex(0)
5 >Emitted(62, 16) Source(2, 16) + SourceIndex(0)
6 >Emitted(62, 17) Source(2, 17) + SourceIndex(0)
---
>>>var third1 = (function () {
1->
@@ -2313,13 +2261,13 @@ sourceFile:../../third_part1.ts
1->
>
>
1->Emitted(89, 1) Source(4, 1) + SourceIndex(0)
1->Emitted(63, 1) Source(4, 1) + SourceIndex(0)
---
>>> function third1() {
1->^^^^
2 > ^^->
1->
1->Emitted(90, 5) Source(4, 1) + SourceIndex(0)
1->Emitted(64, 5) Source(4, 1) + SourceIndex(0)
---
>>> }
1->^^^^
@@ -2327,16 +2275,16 @@ sourceFile:../../third_part1.ts
3 > ^^^^^^^^^^^^^^->
1->class third1 {
2 > }
1->Emitted(91, 5) Source(4, 16) + SourceIndex(0)
2 >Emitted(91, 6) Source(4, 17) + SourceIndex(0)
1->Emitted(65, 5) Source(4, 16) + SourceIndex(0)
2 >Emitted(65, 6) Source(4, 17) + SourceIndex(0)
---
>>> return third1;
1->^^^^
2 > ^^^^^^^^^^^^^
1->
2 > }
1->Emitted(92, 5) Source(4, 16) + SourceIndex(0)
2 >Emitted(92, 18) Source(4, 17) + SourceIndex(0)
1->Emitted(66, 5) Source(4, 16) + SourceIndex(0)
2 >Emitted(66, 18) Source(4, 17) + SourceIndex(0)
---
>>>}());
1 >
@@ -2348,31 +2296,31 @@ sourceFile:../../third_part1.ts
2 >}
3 >
4 > class third1 { }
1 >Emitted(93, 1) Source(4, 16) + SourceIndex(0)
2 >Emitted(93, 2) Source(4, 17) + SourceIndex(0)
3 >Emitted(93, 2) Source(4, 1) + SourceIndex(0)
4 >Emitted(93, 6) Source(4, 17) + SourceIndex(0)
1 >Emitted(67, 1) Source(4, 16) + SourceIndex(0)
2 >Emitted(67, 2) Source(4, 17) + SourceIndex(0)
3 >Emitted(67, 2) Source(4, 1) + SourceIndex(0)
4 >Emitted(67, 6) Source(4, 17) + SourceIndex(0)
---
>>>var third2 = (function (_super) {
1->
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
1->Emitted(94, 1) Source(5, 1) + SourceIndex(0)
1->Emitted(68, 1) Source(5, 1) + SourceIndex(0)
---
>>> __extends(third2, _super);
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^
1->class third2 extends
2 > third1
1->Emitted(95, 5) Source(5, 22) + SourceIndex(0)
2 >Emitted(95, 31) Source(5, 28) + SourceIndex(0)
1->Emitted(69, 5) Source(5, 22) + SourceIndex(0)
2 >Emitted(69, 31) Source(5, 28) + SourceIndex(0)
---
>>> function third2() {
1 >^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
1 >Emitted(96, 5) Source(5, 1) + SourceIndex(0)
1 >Emitted(70, 5) Source(5, 1) + SourceIndex(0)
---
>>> return _super !== null && _super.apply(this, arguments) || this;
>>> }
@@ -2381,16 +2329,16 @@ sourceFile:../../third_part1.ts
3 > ^^^^^^^^^^^^^^->
1->class third2 extends third1 {
2 > }
1->Emitted(98, 5) Source(5, 31) + SourceIndex(0)
2 >Emitted(98, 6) Source(5, 32) + SourceIndex(0)
1->Emitted(72, 5) Source(5, 31) + SourceIndex(0)
2 >Emitted(72, 6) Source(5, 32) + SourceIndex(0)
---
>>> return third2;
1->^^^^
2 > ^^^^^^^^^^^^^
1->
2 > }
1->Emitted(99, 5) Source(5, 31) + SourceIndex(0)
2 >Emitted(99, 18) Source(5, 32) + SourceIndex(0)
1->Emitted(73, 5) Source(5, 31) + SourceIndex(0)
2 >Emitted(73, 18) Source(5, 32) + SourceIndex(0)
---
>>>}(third1));
1 >
@@ -2406,12 +2354,12 @@ sourceFile:../../third_part1.ts
4 > class third2 extends
5 > third1
6 > { }
1 >Emitted(100, 1) Source(5, 31) + SourceIndex(0)
2 >Emitted(100, 2) Source(5, 32) + SourceIndex(0)
3 >Emitted(100, 2) Source(5, 1) + SourceIndex(0)
4 >Emitted(100, 3) Source(5, 22) + SourceIndex(0)
5 >Emitted(100, 9) Source(5, 28) + SourceIndex(0)
6 >Emitted(100, 12) Source(5, 32) + SourceIndex(0)
1 >Emitted(74, 1) Source(5, 31) + SourceIndex(0)
2 >Emitted(74, 2) Source(5, 32) + SourceIndex(0)
3 >Emitted(74, 2) Source(5, 1) + SourceIndex(0)
4 >Emitted(74, 3) Source(5, 22) + SourceIndex(0)
5 >Emitted(74, 9) Source(5, 28) + SourceIndex(0)
6 >Emitted(74, 12) Source(5, 32) + SourceIndex(0)
---
>>>//# sourceMappingURL=third-output.js.map
@@ -1207,13 +1207,6 @@ sourceFile:../../third_part1.ts
>>>//# sourceMappingURL=third-output.d.ts.map
//// [/src/third/thirdjs/output/third-output.js]
var s = "Hello, world";
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
@@ -1227,6 +1220,13 @@ var __extends = (this && this.__extends) || (function () {
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var s = "Hello, world";
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var N;
(function (N) {
function f() {
@@ -1260,7 +1260,7 @@ c.doSomething();
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":"ACIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;;;;;;;;;;;;;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IAAA;IAAgB,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjB,IAAiB;AACjB;IAAsB,2BAAO;IAA7B;;IAAgC,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjC,CAAsB,OAAO,GAAI;ACbjC;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":";;;;;;;;;;;;;ACIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IAAA;IAAgB,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjB,IAAiB;AACjB;IAAsB,2BAAO;IAA7B;;IAAgC,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjC,CAAsB,OAAO,GAAI;ACbjC;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
@@ -1273,6 +1273,19 @@ sources: ../../third_part1.ts,../../../first/first_PART1.ts,../../../first/first
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>var __extends = (this && this.__extends) || (function () {
>>> var extendStatics = function (d, b) {
>>> extendStatics = Object.setPrototypeOf ||
>>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
>>> function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
>>> return extendStatics(d, b);
>>> };
>>> return function (d, b) {
>>> extendStatics(d, b);
>>> function __() { this.constructor = d; }
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>> };
>>>})();
>>>var s = "Hello, world";
1 >
2 >^^^^
@@ -1290,12 +1303,12 @@ sourceFile:../../../first/first_PART1.ts
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(1)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(1)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(1)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(1)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(1)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(1)
1 >Emitted(14, 1) Source(5, 1) + SourceIndex(1)
2 >Emitted(14, 5) Source(5, 7) + SourceIndex(1)
3 >Emitted(14, 6) Source(5, 8) + SourceIndex(1)
4 >Emitted(14, 9) Source(5, 11) + SourceIndex(1)
5 >Emitted(14, 23) Source(5, 25) + SourceIndex(1)
6 >Emitted(14, 24) Source(5, 26) + SourceIndex(1)
---
>>>console.log(s);
1 >
@@ -1321,14 +1334,14 @@ sourceFile:../../../first/first_PART1.ts
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(1)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(1)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(1)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(1)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(1)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(1)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(1)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(1)
1 >Emitted(15, 1) Source(11, 1) + SourceIndex(1)
2 >Emitted(15, 8) Source(11, 8) + SourceIndex(1)
3 >Emitted(15, 9) Source(11, 9) + SourceIndex(1)
4 >Emitted(15, 12) Source(11, 12) + SourceIndex(1)
5 >Emitted(15, 13) Source(11, 13) + SourceIndex(1)
6 >Emitted(15, 14) Source(11, 14) + SourceIndex(1)
7 >Emitted(15, 15) Source(11, 15) + SourceIndex(1)
8 >Emitted(15, 16) Source(11, 16) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -1353,15 +1366,15 @@ sourceFile:../../../first/first_part2.ts
7 > ()
8 > )
9 > ;
1->Emitted(3, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(3, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(3, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(3, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(3, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(3, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(3, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(3, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(3, 18) Source(1, 18) + SourceIndex(2)
1->Emitted(16, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(16, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(16, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(16, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(16, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(16, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(16, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(16, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(16, 18) Source(1, 18) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -1375,9 +1388,9 @@ sourceFile:../../../first/first_part3.ts
1 >
2 >function
3 > f
1 >Emitted(4, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(4, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(4, 11) Source(1, 11) + SourceIndex(3)
1 >Emitted(17, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(17, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(17, 11) Source(1, 11) + SourceIndex(3)
---
>>> return "JS does hoists";
1->^^^^
@@ -1389,10 +1402,10 @@ sourceFile:../../../first/first_part3.ts
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(5, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(5, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(5, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(5, 29) Source(2, 29) + SourceIndex(3)
1->Emitted(18, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(18, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(18, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(18, 29) Source(2, 29) + SourceIndex(3)
---
>>>}
1 >
@@ -1401,27 +1414,14 @@ sourceFile:../../../first/first_part3.ts
1 >
>
2 >}
1 >Emitted(6, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(6, 2) Source(3, 2) + SourceIndex(3)
1 >Emitted(19, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(19, 2) Source(3, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var __extends = (this && this.__extends) || (function () {
>>> var extendStatics = function (d, b) {
>>> extendStatics = Object.setPrototypeOf ||
>>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
>>> function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
>>> return extendStatics(d, b);
>>> };
>>> return function (d, b) {
>>> extendStatics(d, b);
>>> function __() { this.constructor = d; }
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>> };
>>>})();
>>>var N;
1->
2 >^^^^
File diff suppressed because it is too large Load Diff
@@ -1494,26 +1494,19 @@ var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var s = "Hello, world";
console.log(s);
console.log(f());
@@ -1528,19 +1521,6 @@ function firstfirst_part3Spread() {
}
firstfirst_part3Spread.apply(void 0, __spread([10, 20, 30]));
//# sourceMappingURL=first-output.js.map
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var N;
(function (N) {
function f() {
@@ -1581,7 +1561,7 @@ thirdthird_part1Spread.apply(void 0, __spread([10, 20, 30]));
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,sBAAsB,wBAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE;;;;;;;;;;;;;;;ACAxC,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IAAA;IAAgB,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjB,IAAiB;AACjB;IAAsB,2BAAO;IAA7B;;IAAgC,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjC,CAAsB,OAAO,GAAI;ACbjC;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAEhB,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,sBAAsB,wBAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE"}
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,sBAAsB,wBAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE;;ACAxC,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IAAA;IAAgB,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjB,IAAiB;AACjB;IAAsB,2BAAO;IAA7B;;IAAgC,CAAC;IAAD,cAAC;AAAD,CAAC,AAAjC,CAAsB,OAAO,GAAI;ACbjC;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAEhB,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,sBAAsB,wBAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
@@ -1614,26 +1594,19 @@ sourceFile:../../../first/first_PART1.ts
>>> for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
>>> return ar;
>>>};
>>>var __read = (this && this.__read) || function (o, n) {
>>> var m = typeof Symbol === "function" && o[Symbol.iterator];
>>> if (!m) return o;
>>> var i = m.call(o), r, ar = [], e;
>>> try {
>>> while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
>>> }
>>> catch (error) { e = { error: error }; }
>>> finally {
>>> try {
>>> if (r && !r.done && (m = i["return"])) m.call(i);
>>> }
>>> finally { if (e) throw e.error; }
>>> }
>>> return ar;
>>>};
>>>var __spread = (this && this.__spread) || function () {
>>> for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
>>> return ar;
>>>};
>>>var __extends = (this && this.__extends) || (function () {
>>> var extendStatics = function (d, b) {
>>> extendStatics = Object.setPrototypeOf ||
>>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
>>> function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
>>> return extendStatics(d, b);
>>> };
>>> return function (d, b) {
>>> extendStatics(d, b);
>>> function __() { this.constructor = d; }
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>> };
>>>})();
>>>var s = "Hello, world";
1 >
2 >^^^^
@@ -1651,12 +1624,12 @@ sourceFile:../../../first/first_PART1.ts
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(41, 1) Source(5, 1) + SourceIndex(1)
2 >Emitted(41, 5) Source(5, 7) + SourceIndex(1)
3 >Emitted(41, 6) Source(5, 8) + SourceIndex(1)
4 >Emitted(41, 9) Source(5, 11) + SourceIndex(1)
5 >Emitted(41, 23) Source(5, 25) + SourceIndex(1)
6 >Emitted(41, 24) Source(5, 26) + SourceIndex(1)
1 >Emitted(34, 1) Source(5, 1) + SourceIndex(1)
2 >Emitted(34, 5) Source(5, 7) + SourceIndex(1)
3 >Emitted(34, 6) Source(5, 8) + SourceIndex(1)
4 >Emitted(34, 9) Source(5, 11) + SourceIndex(1)
5 >Emitted(34, 23) Source(5, 25) + SourceIndex(1)
6 >Emitted(34, 24) Source(5, 26) + SourceIndex(1)
---
>>>console.log(s);
1 >
@@ -1682,14 +1655,14 @@ sourceFile:../../../first/first_PART1.ts
6 > s
7 > )
8 > ;
1 >Emitted(42, 1) Source(11, 1) + SourceIndex(1)
2 >Emitted(42, 8) Source(11, 8) + SourceIndex(1)
3 >Emitted(42, 9) Source(11, 9) + SourceIndex(1)
4 >Emitted(42, 12) Source(11, 12) + SourceIndex(1)
5 >Emitted(42, 13) Source(11, 13) + SourceIndex(1)
6 >Emitted(42, 14) Source(11, 14) + SourceIndex(1)
7 >Emitted(42, 15) Source(11, 15) + SourceIndex(1)
8 >Emitted(42, 16) Source(11, 16) + SourceIndex(1)
1 >Emitted(35, 1) Source(11, 1) + SourceIndex(1)
2 >Emitted(35, 8) Source(11, 8) + SourceIndex(1)
3 >Emitted(35, 9) Source(11, 9) + SourceIndex(1)
4 >Emitted(35, 12) Source(11, 12) + SourceIndex(1)
5 >Emitted(35, 13) Source(11, 13) + SourceIndex(1)
6 >Emitted(35, 14) Source(11, 14) + SourceIndex(1)
7 >Emitted(35, 15) Source(11, 15) + SourceIndex(1)
8 >Emitted(35, 16) Source(11, 16) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -1714,15 +1687,15 @@ sourceFile:../../../first/first_part2.ts
7 > ()
8 > )
9 > ;
1->Emitted(43, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(43, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(43, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(43, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(43, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(43, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(43, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(43, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(43, 18) Source(1, 18) + SourceIndex(2)
1->Emitted(36, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(36, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(36, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(36, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(36, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(36, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(36, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(36, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(36, 18) Source(1, 18) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -1736,9 +1709,9 @@ sourceFile:../../../first/first_part3.ts
1 >
2 >function
3 > f
1 >Emitted(44, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(44, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(44, 11) Source(1, 11) + SourceIndex(3)
1 >Emitted(37, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(37, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(37, 11) Source(1, 11) + SourceIndex(3)
---
>>> return "JS does hoists";
1->^^^^
@@ -1750,10 +1723,10 @@ sourceFile:../../../first/first_part3.ts
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(45, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(45, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(45, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(45, 29) Source(2, 29) + SourceIndex(3)
1->Emitted(38, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(38, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(38, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(38, 29) Source(2, 29) + SourceIndex(3)
---
>>>}
1 >
@@ -1762,8 +1735,8 @@ sourceFile:../../../first/first_part3.ts
1 >
>
2 >}
1 >Emitted(46, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(46, 2) Source(3, 2) + SourceIndex(3)
1 >Emitted(39, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(39, 2) Source(3, 2) + SourceIndex(3)
---
>>>function firstfirst_part3Spread() {
1->
@@ -1773,9 +1746,9 @@ sourceFile:../../../first/first_part3.ts
>
2 >function
3 > firstfirst_part3Spread
1->Emitted(47, 1) Source(4, 1) + SourceIndex(3)
2 >Emitted(47, 10) Source(4, 10) + SourceIndex(3)
3 >Emitted(47, 32) Source(4, 32) + SourceIndex(3)
1->Emitted(40, 1) Source(4, 1) + SourceIndex(3)
2 >Emitted(40, 10) Source(4, 10) + SourceIndex(3)
3 >Emitted(40, 32) Source(4, 32) + SourceIndex(3)
---
>>> var b = [];
1 >^^^^
@@ -1783,8 +1756,8 @@ sourceFile:../../../first/first_part3.ts
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >(
2 > ...b: number[]
1 >Emitted(48, 5) Source(4, 33) + SourceIndex(3)
2 >Emitted(48, 16) Source(4, 47) + SourceIndex(3)
1 >Emitted(41, 5) Source(4, 33) + SourceIndex(3)
2 >Emitted(41, 16) Source(4, 47) + SourceIndex(3)
---
>>> for (var _i = 0; _i < arguments.length; _i++) {
1->^^^^^^^^^
@@ -1799,20 +1772,20 @@ sourceFile:../../../first/first_part3.ts
4 > ...b: number[]
5 >
6 > ...b: number[]
1->Emitted(49, 10) Source(4, 33) + SourceIndex(3)
2 >Emitted(49, 20) Source(4, 47) + SourceIndex(3)
3 >Emitted(49, 22) Source(4, 33) + SourceIndex(3)
4 >Emitted(49, 43) Source(4, 47) + SourceIndex(3)
5 >Emitted(49, 45) Source(4, 33) + SourceIndex(3)
6 >Emitted(49, 49) Source(4, 47) + SourceIndex(3)
1->Emitted(42, 10) Source(4, 33) + SourceIndex(3)
2 >Emitted(42, 20) Source(4, 47) + SourceIndex(3)
3 >Emitted(42, 22) Source(4, 33) + SourceIndex(3)
4 >Emitted(42, 43) Source(4, 47) + SourceIndex(3)
5 >Emitted(42, 45) Source(4, 33) + SourceIndex(3)
6 >Emitted(42, 49) Source(4, 47) + SourceIndex(3)
---
>>> b[_i] = arguments[_i];
1 >^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^
1 >
2 > ...b: number[]
1 >Emitted(50, 9) Source(4, 33) + SourceIndex(3)
2 >Emitted(50, 31) Source(4, 47) + SourceIndex(3)
1 >Emitted(43, 9) Source(4, 33) + SourceIndex(3)
2 >Emitted(43, 31) Source(4, 47) + SourceIndex(3)
---
>>> }
>>>}
@@ -1821,8 +1794,8 @@ sourceFile:../../../first/first_part3.ts
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >) {
2 >}
1 >Emitted(52, 1) Source(4, 51) + SourceIndex(3)
2 >Emitted(52, 2) Source(4, 52) + SourceIndex(3)
1 >Emitted(45, 1) Source(4, 51) + SourceIndex(3)
2 >Emitted(45, 2) Source(4, 52) + SourceIndex(3)
---
>>>firstfirst_part3Spread.apply(void 0, __spread([10, 20, 30]));
1->
@@ -1848,36 +1821,23 @@ sourceFile:../../../first/first_part3.ts
9 > 30
10> ]
11> );
1->Emitted(53, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(53, 23) Source(5, 23) + SourceIndex(3)
3 >Emitted(53, 47) Source(5, 27) + SourceIndex(3)
4 >Emitted(53, 48) Source(5, 28) + SourceIndex(3)
5 >Emitted(53, 50) Source(5, 30) + SourceIndex(3)
6 >Emitted(53, 52) Source(5, 32) + SourceIndex(3)
7 >Emitted(53, 54) Source(5, 34) + SourceIndex(3)
8 >Emitted(53, 56) Source(5, 36) + SourceIndex(3)
9 >Emitted(53, 58) Source(5, 38) + SourceIndex(3)
10>Emitted(53, 59) Source(5, 39) + SourceIndex(3)
11>Emitted(53, 62) Source(5, 41) + SourceIndex(3)
1->Emitted(46, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(46, 23) Source(5, 23) + SourceIndex(3)
3 >Emitted(46, 47) Source(5, 27) + SourceIndex(3)
4 >Emitted(46, 48) Source(5, 28) + SourceIndex(3)
5 >Emitted(46, 50) Source(5, 30) + SourceIndex(3)
6 >Emitted(46, 52) Source(5, 32) + SourceIndex(3)
7 >Emitted(46, 54) Source(5, 34) + SourceIndex(3)
8 >Emitted(46, 56) Source(5, 36) + SourceIndex(3)
9 >Emitted(46, 58) Source(5, 38) + SourceIndex(3)
10>Emitted(46, 59) Source(5, 39) + SourceIndex(3)
11>Emitted(46, 62) Source(5, 41) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var __extends = (this && this.__extends) || (function () {
>>> var extendStatics = function (d, b) {
>>> extendStatics = Object.setPrototypeOf ||
>>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
>>> function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
>>> return extendStatics(d, b);
>>> };
>>> return function (d, b) {
>>> extendStatics(d, b);
>>> function __() { this.constructor = d; }
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>> };
>>>})();
>>>var N;
1 >
2 >^^^^
@@ -1898,10 +1858,10 @@ sourceFile:../../../second/second_part1.ts
>
> f();
> }
1 >Emitted(68, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(68, 5) Source(5, 11) + SourceIndex(4)
3 >Emitted(68, 6) Source(5, 12) + SourceIndex(4)
4 >Emitted(68, 7) Source(11, 2) + SourceIndex(4)
1 >Emitted(48, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(48, 5) Source(5, 11) + SourceIndex(4)
3 >Emitted(48, 6) Source(5, 12) + SourceIndex(4)
4 >Emitted(48, 7) Source(11, 2) + SourceIndex(4)
---
>>>(function (N) {
1->
@@ -1911,9 +1871,9 @@ sourceFile:../../../second/second_part1.ts
1->
2 >namespace
3 > N
1->Emitted(69, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(69, 12) Source(5, 11) + SourceIndex(4)
3 >Emitted(69, 13) Source(5, 12) + SourceIndex(4)
1->Emitted(49, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(49, 12) Source(5, 11) + SourceIndex(4)
3 >Emitted(49, 13) Source(5, 12) + SourceIndex(4)
---
>>> function f() {
1->^^^^
@@ -1924,9 +1884,9 @@ sourceFile:../../../second/second_part1.ts
>
2 > function
3 > f
1->Emitted(70, 5) Source(6, 5) + SourceIndex(4)
2 >Emitted(70, 14) Source(6, 14) + SourceIndex(4)
3 >Emitted(70, 15) Source(6, 15) + SourceIndex(4)
1->Emitted(50, 5) Source(6, 5) + SourceIndex(4)
2 >Emitted(50, 14) Source(6, 14) + SourceIndex(4)
3 >Emitted(50, 15) Source(6, 15) + SourceIndex(4)
---
>>> console.log('testing');
1->^^^^^^^^
@@ -1946,14 +1906,14 @@ sourceFile:../../../second/second_part1.ts
6 > 'testing'
7 > )
8 > ;
1->Emitted(71, 9) Source(7, 9) + SourceIndex(4)
2 >Emitted(71, 16) Source(7, 16) + SourceIndex(4)
3 >Emitted(71, 17) Source(7, 17) + SourceIndex(4)
4 >Emitted(71, 20) Source(7, 20) + SourceIndex(4)
5 >Emitted(71, 21) Source(7, 21) + SourceIndex(4)
6 >Emitted(71, 30) Source(7, 30) + SourceIndex(4)
7 >Emitted(71, 31) Source(7, 31) + SourceIndex(4)
8 >Emitted(71, 32) Source(7, 32) + SourceIndex(4)
1->Emitted(51, 9) Source(7, 9) + SourceIndex(4)
2 >Emitted(51, 16) Source(7, 16) + SourceIndex(4)
3 >Emitted(51, 17) Source(7, 17) + SourceIndex(4)
4 >Emitted(51, 20) Source(7, 20) + SourceIndex(4)
5 >Emitted(51, 21) Source(7, 21) + SourceIndex(4)
6 >Emitted(51, 30) Source(7, 30) + SourceIndex(4)
7 >Emitted(51, 31) Source(7, 31) + SourceIndex(4)
8 >Emitted(51, 32) Source(7, 32) + SourceIndex(4)
---
>>> }
1 >^^^^
@@ -1962,8 +1922,8 @@ sourceFile:../../../second/second_part1.ts
1 >
>
2 > }
1 >Emitted(72, 5) Source(8, 5) + SourceIndex(4)
2 >Emitted(72, 6) Source(8, 6) + SourceIndex(4)
1 >Emitted(52, 5) Source(8, 5) + SourceIndex(4)
2 >Emitted(52, 6) Source(8, 6) + SourceIndex(4)
---
>>> f();
1->^^^^
@@ -1977,10 +1937,10 @@ sourceFile:../../../second/second_part1.ts
2 > f
3 > ()
4 > ;
1->Emitted(73, 5) Source(10, 5) + SourceIndex(4)
2 >Emitted(73, 6) Source(10, 6) + SourceIndex(4)
3 >Emitted(73, 8) Source(10, 8) + SourceIndex(4)
4 >Emitted(73, 9) Source(10, 9) + SourceIndex(4)
1->Emitted(53, 5) Source(10, 5) + SourceIndex(4)
2 >Emitted(53, 6) Source(10, 6) + SourceIndex(4)
3 >Emitted(53, 8) Source(10, 8) + SourceIndex(4)
4 >Emitted(53, 9) Source(10, 9) + SourceIndex(4)
---
>>>})(N || (N = {}));
1->
@@ -2005,13 +1965,13 @@ sourceFile:../../../second/second_part1.ts
>
> f();
> }
1->Emitted(74, 1) Source(11, 1) + SourceIndex(4)
2 >Emitted(74, 2) Source(11, 2) + SourceIndex(4)
3 >Emitted(74, 4) Source(5, 11) + SourceIndex(4)
4 >Emitted(74, 5) Source(5, 12) + SourceIndex(4)
5 >Emitted(74, 10) Source(5, 11) + SourceIndex(4)
6 >Emitted(74, 11) Source(5, 12) + SourceIndex(4)
7 >Emitted(74, 19) Source(11, 2) + SourceIndex(4)
1->Emitted(54, 1) Source(11, 1) + SourceIndex(4)
2 >Emitted(54, 2) Source(11, 2) + SourceIndex(4)
3 >Emitted(54, 4) Source(5, 11) + SourceIndex(4)
4 >Emitted(54, 5) Source(5, 12) + SourceIndex(4)
5 >Emitted(54, 10) Source(5, 11) + SourceIndex(4)
6 >Emitted(54, 11) Source(5, 12) + SourceIndex(4)
7 >Emitted(54, 19) Source(11, 2) + SourceIndex(4)
---
>>>var second1 = (function () {
1->
@@ -2019,13 +1979,13 @@ sourceFile:../../../second/second_part1.ts
1->
>
>
1->Emitted(75, 1) Source(13, 1) + SourceIndex(4)
1->Emitted(55, 1) Source(13, 1) + SourceIndex(4)
---
>>> function second1() {
1->^^^^
2 > ^^->
1->
1->Emitted(76, 5) Source(13, 1) + SourceIndex(4)
1->Emitted(56, 5) Source(13, 1) + SourceIndex(4)
---
>>> }
1->^^^^
@@ -2033,16 +1993,16 @@ sourceFile:../../../second/second_part1.ts
3 > ^^^^^^^^^^^^^^^->
1->class second1 {
2 > }
1->Emitted(77, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(77, 6) Source(13, 18) + SourceIndex(4)
1->Emitted(57, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(57, 6) Source(13, 18) + SourceIndex(4)
---
>>> return second1;
1->^^^^
2 > ^^^^^^^^^^^^^^
1->
2 > }
1->Emitted(78, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(78, 19) Source(13, 18) + SourceIndex(4)
1->Emitted(58, 5) Source(13, 17) + SourceIndex(4)
2 >Emitted(58, 19) Source(13, 18) + SourceIndex(4)
---
>>>}());
1 >
@@ -2054,31 +2014,31 @@ sourceFile:../../../second/second_part1.ts
2 >}
3 >
4 > class second1 { }
1 >Emitted(79, 1) Source(13, 17) + SourceIndex(4)
2 >Emitted(79, 2) Source(13, 18) + SourceIndex(4)
3 >Emitted(79, 2) Source(13, 1) + SourceIndex(4)
4 >Emitted(79, 6) Source(13, 18) + SourceIndex(4)
1 >Emitted(59, 1) Source(13, 17) + SourceIndex(4)
2 >Emitted(59, 2) Source(13, 18) + SourceIndex(4)
3 >Emitted(59, 2) Source(13, 1) + SourceIndex(4)
4 >Emitted(59, 6) Source(13, 18) + SourceIndex(4)
---
>>>var second2 = (function (_super) {
1->
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
1->Emitted(80, 1) Source(14, 1) + SourceIndex(4)
1->Emitted(60, 1) Source(14, 1) + SourceIndex(4)
---
>>> __extends(second2, _super);
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1->class second2 extends
2 > second1
1->Emitted(81, 5) Source(14, 23) + SourceIndex(4)
2 >Emitted(81, 32) Source(14, 30) + SourceIndex(4)
1->Emitted(61, 5) Source(14, 23) + SourceIndex(4)
2 >Emitted(61, 32) Source(14, 30) + SourceIndex(4)
---
>>> function second2() {
1 >^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
1 >Emitted(82, 5) Source(14, 1) + SourceIndex(4)
1 >Emitted(62, 5) Source(14, 1) + SourceIndex(4)
---
>>> return _super !== null && _super.apply(this, arguments) || this;
>>> }
@@ -2087,16 +2047,16 @@ sourceFile:../../../second/second_part1.ts
3 > ^^^^^^^^^^^^^^^->
1->class second2 extends second1 {
2 > }
1->Emitted(84, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(84, 6) Source(14, 34) + SourceIndex(4)
1->Emitted(64, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(64, 6) Source(14, 34) + SourceIndex(4)
---
>>> return second2;
1->^^^^
2 > ^^^^^^^^^^^^^^
1->
2 > }
1->Emitted(85, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(85, 19) Source(14, 34) + SourceIndex(4)
1->Emitted(65, 5) Source(14, 33) + SourceIndex(4)
2 >Emitted(65, 19) Source(14, 34) + SourceIndex(4)
---
>>>}(second1));
1 >
@@ -2112,12 +2072,12 @@ sourceFile:../../../second/second_part1.ts
4 > class second2 extends
5 > second1
6 > { }
1 >Emitted(86, 1) Source(14, 33) + SourceIndex(4)
2 >Emitted(86, 2) Source(14, 34) + SourceIndex(4)
3 >Emitted(86, 2) Source(14, 1) + SourceIndex(4)
4 >Emitted(86, 3) Source(14, 23) + SourceIndex(4)
5 >Emitted(86, 10) Source(14, 30) + SourceIndex(4)
6 >Emitted(86, 13) Source(14, 34) + SourceIndex(4)
1 >Emitted(66, 1) Source(14, 33) + SourceIndex(4)
2 >Emitted(66, 2) Source(14, 34) + SourceIndex(4)
3 >Emitted(66, 2) Source(14, 1) + SourceIndex(4)
4 >Emitted(66, 3) Source(14, 23) + SourceIndex(4)
5 >Emitted(66, 10) Source(14, 30) + SourceIndex(4)
6 >Emitted(66, 13) Source(14, 34) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -2127,13 +2087,13 @@ sourceFile:../../../second/second_part2.ts
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(87, 1) Source(1, 1) + SourceIndex(5)
1->Emitted(67, 1) Source(1, 1) + SourceIndex(5)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(88, 5) Source(1, 1) + SourceIndex(5)
1->Emitted(68, 5) Source(1, 1) + SourceIndex(5)
---
>>> }
1->^^^^
@@ -2145,8 +2105,8 @@ sourceFile:../../../second/second_part2.ts
> }
>
2 > }
1->Emitted(89, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(89, 6) Source(5, 2) + SourceIndex(5)
1->Emitted(69, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(69, 6) Source(5, 2) + SourceIndex(5)
---
>>> C.prototype.doSomething = function () {
1->^^^^
@@ -2156,9 +2116,9 @@ sourceFile:../../../second/second_part2.ts
1->
2 > doSomething
3 >
1->Emitted(90, 5) Source(2, 5) + SourceIndex(5)
2 >Emitted(90, 28) Source(2, 16) + SourceIndex(5)
3 >Emitted(90, 31) Source(2, 5) + SourceIndex(5)
1->Emitted(70, 5) Source(2, 5) + SourceIndex(5)
2 >Emitted(70, 28) Source(2, 16) + SourceIndex(5)
3 >Emitted(70, 31) Source(2, 5) + SourceIndex(5)
---
>>> console.log("something got done");
1->^^^^^^^^
@@ -2178,14 +2138,14 @@ sourceFile:../../../second/second_part2.ts
6 > "something got done"
7 > )
8 > ;
1->Emitted(91, 9) Source(3, 9) + SourceIndex(5)
2 >Emitted(91, 16) Source(3, 16) + SourceIndex(5)
3 >Emitted(91, 17) Source(3, 17) + SourceIndex(5)
4 >Emitted(91, 20) Source(3, 20) + SourceIndex(5)
5 >Emitted(91, 21) Source(3, 21) + SourceIndex(5)
6 >Emitted(91, 41) Source(3, 41) + SourceIndex(5)
7 >Emitted(91, 42) Source(3, 42) + SourceIndex(5)
8 >Emitted(91, 43) Source(3, 43) + SourceIndex(5)
1->Emitted(71, 9) Source(3, 9) + SourceIndex(5)
2 >Emitted(71, 16) Source(3, 16) + SourceIndex(5)
3 >Emitted(71, 17) Source(3, 17) + SourceIndex(5)
4 >Emitted(71, 20) Source(3, 20) + SourceIndex(5)
5 >Emitted(71, 21) Source(3, 21) + SourceIndex(5)
6 >Emitted(71, 41) Source(3, 41) + SourceIndex(5)
7 >Emitted(71, 42) Source(3, 42) + SourceIndex(5)
8 >Emitted(71, 43) Source(3, 43) + SourceIndex(5)
---
>>> };
1 >^^^^
@@ -2194,8 +2154,8 @@ sourceFile:../../../second/second_part2.ts
1 >
>
2 > }
1 >Emitted(92, 5) Source(4, 5) + SourceIndex(5)
2 >Emitted(92, 6) Source(4, 6) + SourceIndex(5)
1 >Emitted(72, 5) Source(4, 5) + SourceIndex(5)
2 >Emitted(72, 6) Source(4, 6) + SourceIndex(5)
---
>>> return C;
1->^^^^
@@ -2203,8 +2163,8 @@ sourceFile:../../../second/second_part2.ts
1->
>
2 > }
1->Emitted(93, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(93, 13) Source(5, 2) + SourceIndex(5)
1->Emitted(73, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(73, 13) Source(5, 2) + SourceIndex(5)
---
>>>}());
1 >
@@ -2220,10 +2180,10 @@ sourceFile:../../../second/second_part2.ts
> console.log("something got done");
> }
> }
1 >Emitted(94, 1) Source(5, 1) + SourceIndex(5)
2 >Emitted(94, 2) Source(5, 2) + SourceIndex(5)
3 >Emitted(94, 2) Source(1, 1) + SourceIndex(5)
4 >Emitted(94, 6) Source(5, 2) + SourceIndex(5)
1 >Emitted(74, 1) Source(5, 1) + SourceIndex(5)
2 >Emitted(74, 2) Source(5, 2) + SourceIndex(5)
3 >Emitted(74, 2) Source(1, 1) + SourceIndex(5)
4 >Emitted(74, 6) Source(5, 2) + SourceIndex(5)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
@@ -2248,14 +2208,14 @@ sourceFile:../../third_part1.ts
6 > C
7 > ()
8 > ;
1->Emitted(96, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(96, 5) Source(1, 5) + SourceIndex(0)
3 >Emitted(96, 6) Source(1, 6) + SourceIndex(0)
4 >Emitted(96, 9) Source(1, 9) + SourceIndex(0)
5 >Emitted(96, 13) Source(1, 13) + SourceIndex(0)
6 >Emitted(96, 14) Source(1, 14) + SourceIndex(0)
7 >Emitted(96, 16) Source(1, 16) + SourceIndex(0)
8 >Emitted(96, 17) Source(1, 17) + SourceIndex(0)
1->Emitted(76, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(76, 5) Source(1, 5) + SourceIndex(0)
3 >Emitted(76, 6) Source(1, 6) + SourceIndex(0)
4 >Emitted(76, 9) Source(1, 9) + SourceIndex(0)
5 >Emitted(76, 13) Source(1, 13) + SourceIndex(0)
6 >Emitted(76, 14) Source(1, 14) + SourceIndex(0)
7 >Emitted(76, 16) Source(1, 16) + SourceIndex(0)
8 >Emitted(76, 17) Source(1, 17) + SourceIndex(0)
---
>>>c.doSomething();
1->
@@ -2272,12 +2232,12 @@ sourceFile:../../third_part1.ts
4 > doSomething
5 > ()
6 > ;
1->Emitted(97, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(97, 2) Source(2, 2) + SourceIndex(0)
3 >Emitted(97, 3) Source(2, 3) + SourceIndex(0)
4 >Emitted(97, 14) Source(2, 14) + SourceIndex(0)
5 >Emitted(97, 16) Source(2, 16) + SourceIndex(0)
6 >Emitted(97, 17) Source(2, 17) + SourceIndex(0)
1->Emitted(77, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(77, 2) Source(2, 2) + SourceIndex(0)
3 >Emitted(77, 3) Source(2, 3) + SourceIndex(0)
4 >Emitted(77, 14) Source(2, 14) + SourceIndex(0)
5 >Emitted(77, 16) Source(2, 16) + SourceIndex(0)
6 >Emitted(77, 17) Source(2, 17) + SourceIndex(0)
---
>>>function thirdthird_part1Spread() {
1->
@@ -2288,9 +2248,9 @@ sourceFile:../../third_part1.ts
>
2 >function
3 > thirdthird_part1Spread
1->Emitted(98, 1) Source(4, 1) + SourceIndex(0)
2 >Emitted(98, 10) Source(4, 10) + SourceIndex(0)
3 >Emitted(98, 32) Source(4, 32) + SourceIndex(0)
1->Emitted(78, 1) Source(4, 1) + SourceIndex(0)
2 >Emitted(78, 10) Source(4, 10) + SourceIndex(0)
3 >Emitted(78, 32) Source(4, 32) + SourceIndex(0)
---
>>> var b = [];
1 >^^^^
@@ -2298,8 +2258,8 @@ sourceFile:../../third_part1.ts
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >(
2 > ...b: number[]
1 >Emitted(99, 5) Source(4, 33) + SourceIndex(0)
2 >Emitted(99, 16) Source(4, 47) + SourceIndex(0)
1 >Emitted(79, 5) Source(4, 33) + SourceIndex(0)
2 >Emitted(79, 16) Source(4, 47) + SourceIndex(0)
---
>>> for (var _i = 0; _i < arguments.length; _i++) {
1->^^^^^^^^^
@@ -2314,20 +2274,20 @@ sourceFile:../../third_part1.ts
4 > ...b: number[]
5 >
6 > ...b: number[]
1->Emitted(100, 10) Source(4, 33) + SourceIndex(0)
2 >Emitted(100, 20) Source(4, 47) + SourceIndex(0)
3 >Emitted(100, 22) Source(4, 33) + SourceIndex(0)
4 >Emitted(100, 43) Source(4, 47) + SourceIndex(0)
5 >Emitted(100, 45) Source(4, 33) + SourceIndex(0)
6 >Emitted(100, 49) Source(4, 47) + SourceIndex(0)
1->Emitted(80, 10) Source(4, 33) + SourceIndex(0)
2 >Emitted(80, 20) Source(4, 47) + SourceIndex(0)
3 >Emitted(80, 22) Source(4, 33) + SourceIndex(0)
4 >Emitted(80, 43) Source(4, 47) + SourceIndex(0)
5 >Emitted(80, 45) Source(4, 33) + SourceIndex(0)
6 >Emitted(80, 49) Source(4, 47) + SourceIndex(0)
---
>>> b[_i] = arguments[_i];
1 >^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^
1 >
2 > ...b: number[]
1 >Emitted(101, 9) Source(4, 33) + SourceIndex(0)
2 >Emitted(101, 31) Source(4, 47) + SourceIndex(0)
1 >Emitted(81, 9) Source(4, 33) + SourceIndex(0)
2 >Emitted(81, 31) Source(4, 47) + SourceIndex(0)
---
>>> }
>>>}
@@ -2336,8 +2296,8 @@ sourceFile:../../third_part1.ts
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >) {
2 >}
1 >Emitted(103, 1) Source(4, 51) + SourceIndex(0)
2 >Emitted(103, 2) Source(4, 52) + SourceIndex(0)
1 >Emitted(83, 1) Source(4, 51) + SourceIndex(0)
2 >Emitted(83, 2) Source(4, 52) + SourceIndex(0)
---
>>>thirdthird_part1Spread.apply(void 0, __spread([10, 20, 30]));
1->
@@ -2363,17 +2323,17 @@ sourceFile:../../third_part1.ts
9 > 30
10> ]
11> );
1->Emitted(104, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(104, 23) Source(5, 23) + SourceIndex(0)
3 >Emitted(104, 47) Source(5, 27) + SourceIndex(0)
4 >Emitted(104, 48) Source(5, 28) + SourceIndex(0)
5 >Emitted(104, 50) Source(5, 30) + SourceIndex(0)
6 >Emitted(104, 52) Source(5, 32) + SourceIndex(0)
7 >Emitted(104, 54) Source(5, 34) + SourceIndex(0)
8 >Emitted(104, 56) Source(5, 36) + SourceIndex(0)
9 >Emitted(104, 58) Source(5, 38) + SourceIndex(0)
10>Emitted(104, 59) Source(5, 39) + SourceIndex(0)
11>Emitted(104, 62) Source(5, 41) + SourceIndex(0)
1->Emitted(84, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(84, 23) Source(5, 23) + SourceIndex(0)
3 >Emitted(84, 47) Source(5, 27) + SourceIndex(0)
4 >Emitted(84, 48) Source(5, 28) + SourceIndex(0)
5 >Emitted(84, 50) Source(5, 30) + SourceIndex(0)
6 >Emitted(84, 52) Source(5, 32) + SourceIndex(0)
7 >Emitted(84, 54) Source(5, 34) + SourceIndex(0)
8 >Emitted(84, 56) Source(5, 36) + SourceIndex(0)
9 >Emitted(84, 58) Source(5, 38) + SourceIndex(0)
10>Emitted(84, 59) Source(5, 39) + SourceIndex(0)
11>Emitted(84, 62) Source(5, 41) + SourceIndex(0)
---
>>>//# sourceMappingURL=third-output.js.map