diff --git a/src/testRunner/unittests/tsbuild/outFile.ts b/src/testRunner/unittests/tsbuild/outFile.ts index fd89ce14c60..67541e5c109 100644 --- a/src/testRunner/unittests/tsbuild/outFile.ts +++ b/src/testRunner/unittests/tsbuild/outFile.ts @@ -523,5 +523,78 @@ const ${file}Const = new ${project}${file}(); getTripleSlashRef("second") ] }); + + function disableRemoveComments(fs: vfs.FileSystem, file: string) { + replaceText(fs, file, `"removeComments": true`, `"removeComments": false`); + } + + function diableRemoveCommentsInAll(fs: vfs.FileSystem) { + disableRemoveComments(fs, sources[project.first][source.config]); + disableRemoveComments(fs, sources[project.second][source.config]); + disableRemoveComments(fs, sources[project.third][source.config]); + } + + function stripInternalOfThird(fs: vfs.FileSystem) { + replaceText(fs, sources[project.third][source.config], `"declaration": true,`, `"declaration": true, +"stripInternal": true`); + } + + function stripInternalScenario(fs: vfs.FileSystem, removeCommentsDisabled?: boolean, jsDocStyle?: boolean) { + const internal = jsDocStyle ? `/**@internal*/` : `/*@internal*/`; + if (removeCommentsDisabled) { + diableRemoveCommentsInAll(fs); + } + stripInternalOfThird(fs); + replaceText(fs, sources[project.first][source.ts][part.one], "interface", `${internal} interface`); + appendText(fs, sources[project.second][source.ts][part.one], ` +class normalC { + ${internal} constructor() { } + ${internal} prop: string; + ${internal} method() { } + ${internal} get c() { return 10; } + ${internal} set c(val: number) { } +} +namespace normalN { + ${internal} export class C { } + ${internal} export function foo() {} + ${internal} export namespace someNamespace { export class C {} } + ${internal} export namespace someOther.something { export class someClass {} } + ${internal} export import someImport = someNamespace.C; + ${internal} export type internalType = internalC; + ${internal} export const internalConst = 10; + ${internal} export enum internalEnum { a, b, c } +} +${internal} class internalC {} +${internal} function internalfoo() {} +${internal} namespace internalNamespace { export class someClass {} } +${internal} namespace internalOther.something { export class someClass {} } +${internal} import internalImport = internalNamespace.someClass; +${internal} type internalType = internalC; +${internal} const internalConst = 10; +${internal} enum internalEnum { a, b, c }`); + } + + verifyOutFileScenario({ + scenario: "stripInternal", + modifyFs: fs => stripInternalScenario(fs), + modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/*@internal*/ interface`, "interface") + }); + + verifyOutFileScenario({ + scenario: "stripInternal with comments emit enabled", + modifyFs: fs => stripInternalScenario(fs, /*removeCommentsDisabled*/ true), + modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/*@internal*/ interface`, "interface") + }); + + verifyOutFileScenario({ + scenario: "stripInternal jsdoc style comment", + modifyFs: fs => stripInternalScenario(fs, /*removeCommentsDisabled*/ false, /*jsDocStyle*/ true), + modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/**@internal*/ interface`, "interface") + }); + + verifyOutFileScenario({ + scenario: "stripInternal jsdoc style with comments emit enabled", + modifyFs: fs => stripInternalScenario(fs, /*removeCommentsDisabled*/ true, /*jsDocStyle*/ true), + }); }); } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..6081df6be2f --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,3275 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 109, + "kind": "text" + }, + { + "pos": 109, + "end": 149, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 156, + "kind": "text" + }, + { + "pos": 156, + "end": 198, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-109) +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (109-149) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-156) +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (156-198) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 149, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 151, + "end": 3244, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3246, + "end": 3282, + "kind": "text" + }, + { + "pos": 3282, + "end": 3322, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 198, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 200, + "end": 1288, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1290, + "end": 1309, + "kind": "text" + }, + { + "pos": 1309, + "end": 1351, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-149):: /src/first/bin/first-output.js +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (151-3244):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3246-3282) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3282-3322) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-198):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (200-1288):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1290-1309) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1309-1351) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 20) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 24) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 26) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 32) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 33) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 20) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 26) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 24) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 25) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 31) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 20) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 33) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 20) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 36) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 39) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 44) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 20) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 37) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 50) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 20) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 37) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 46) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 47) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 56) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 20) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 26) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 34) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 44) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 47) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 60) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 61) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 62) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 63) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 20) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 32) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 44) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 47) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 56) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 57) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 27) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 33) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 46) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 51) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 52) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 20) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 32) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 16) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 22) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 16) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 25) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 36) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 41) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 16) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 26) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 43) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 16) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 26) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 39) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 40) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 49) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 16) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 23) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 37) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 40) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 57) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 58) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 67) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 68) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 16) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 21) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 33) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 36) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 45) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 46) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 16) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 16) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 22) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 35) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 40) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 41) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 16) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 21) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(16, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(29, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(67, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js new file mode 100644 index 00000000000..619bd1e44b1 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -0,0 +1,3511 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 109, + "kind": "text" + }, + { + "pos": 109, + "end": 149, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 171, + "kind": "text" + }, + { + "pos": 171, + "end": 213, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-109) +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (109-149) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-171) +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (171-213) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 149, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 151, + "end": 3626, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3628, + "end": 3664, + "kind": "text" + }, + { + "pos": 3664, + "end": 3704, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 213, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 215, + "end": 1618, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1620, + "end": 1639, + "kind": "text" + }, + { + "pos": 1639, + "end": 1681, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-149):: /src/first/bin/first-output.js +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (151-3626):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3628-3664) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3664-3704) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-213):: /src/first/bin/first-output.d.ts +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (215-1618):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1620-1639) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1639-1681) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,gBAAK,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^-> +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> /**@internal*/ constructor(); +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^-> +1-> { + > +2 > /**@internal*/ +1->Emitted(15, 5) Source(14, 5) + SourceIndex(2) +2 >Emitted(15, 19) Source(14, 19) + SourceIndex(2) +--- +>>> /**@internal*/ prop: string; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^ +6 > ^^^^^^ +7 > ^ +8 > ^^^-> +1-> constructor() { } + > +2 > /**@internal*/ +3 > +4 > prop +5 > : +6 > string +7 > ; +1->Emitted(16, 5) Source(15, 5) + SourceIndex(2) +2 >Emitted(16, 19) Source(15, 19) + SourceIndex(2) +3 >Emitted(16, 20) Source(15, 20) + SourceIndex(2) +4 >Emitted(16, 24) Source(15, 24) + SourceIndex(2) +5 >Emitted(16, 26) Source(15, 26) + SourceIndex(2) +6 >Emitted(16, 32) Source(15, 32) + SourceIndex(2) +7 >Emitted(16, 33) Source(15, 33) + SourceIndex(2) +--- +>>> /**@internal*/ method(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > method +1->Emitted(17, 5) Source(16, 5) + SourceIndex(2) +2 >Emitted(17, 19) Source(16, 19) + SourceIndex(2) +3 >Emitted(17, 20) Source(16, 20) + SourceIndex(2) +4 >Emitted(17, 26) Source(16, 26) + SourceIndex(2) +--- +>>> /**@internal*/ /**@internal*/ c: number; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^ +6 > ^^^^^^ +1->() { } + > +2 > /**@internal*/ +3 > get +4 > c +5 > () { return 10; } + > /**@internal*/ set c(val: +6 > number +1->Emitted(18, 5) Source(17, 5) + SourceIndex(2) +2 >Emitted(18, 19) Source(17, 19) + SourceIndex(2) +3 >Emitted(18, 35) Source(17, 24) + SourceIndex(2) +4 >Emitted(18, 36) Source(17, 25) + SourceIndex(2) +5 >Emitted(18, 38) Source(18, 31) + SourceIndex(2) +6 >Emitted(18, 44) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^-> +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> /**@internal*/ class C { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +1->{ + > +2 > /**@internal*/ +3 > +4 > export class +5 > C +1->Emitted(21, 5) Source(21, 5) + SourceIndex(2) +2 >Emitted(21, 19) Source(21, 19) + SourceIndex(2) +3 >Emitted(21, 20) Source(21, 20) + SourceIndex(2) +4 >Emitted(21, 26) Source(21, 33) + SourceIndex(2) +5 >Emitted(21, 27) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> /**@internal*/ function foo(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^ +7 > ^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () {} +1->Emitted(23, 5) Source(22, 5) + SourceIndex(2) +2 >Emitted(23, 19) Source(22, 19) + SourceIndex(2) +3 >Emitted(23, 20) Source(22, 20) + SourceIndex(2) +4 >Emitted(23, 29) Source(22, 36) + SourceIndex(2) +5 >Emitted(23, 32) Source(22, 39) + SourceIndex(2) +6 >Emitted(23, 41) Source(22, 44) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > +1->Emitted(24, 5) Source(23, 5) + SourceIndex(2) +2 >Emitted(24, 19) Source(23, 19) + SourceIndex(2) +3 >Emitted(24, 20) Source(23, 20) + SourceIndex(2) +4 >Emitted(24, 30) Source(23, 37) + SourceIndex(2) +5 >Emitted(24, 43) Source(23, 50) + SourceIndex(2) +6 >Emitted(24, 44) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > . +7 > something +8 > +1->Emitted(28, 5) Source(24, 5) + SourceIndex(2) +2 >Emitted(28, 19) Source(24, 19) + SourceIndex(2) +3 >Emitted(28, 20) Source(24, 20) + SourceIndex(2) +4 >Emitted(28, 30) Source(24, 37) + SourceIndex(2) +5 >Emitted(28, 39) Source(24, 46) + SourceIndex(2) +6 >Emitted(28, 40) Source(24, 47) + SourceIndex(2) +7 >Emitted(28, 49) Source(24, 56) + SourceIndex(2) +8 >Emitted(28, 50) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> /**@internal*/ export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^ +6 > ^^^^^^^^^^ +7 > ^^^ +8 > ^^^^^^^^^^^^^ +9 > ^ +10> ^ +11> ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export +5 > import +6 > someImport +7 > = +8 > someNamespace +9 > . +10> C +11> ; +1->Emitted(32, 5) Source(25, 5) + SourceIndex(2) +2 >Emitted(32, 19) Source(25, 19) + SourceIndex(2) +3 >Emitted(32, 20) Source(25, 20) + SourceIndex(2) +4 >Emitted(32, 26) Source(25, 26) + SourceIndex(2) +5 >Emitted(32, 34) Source(25, 34) + SourceIndex(2) +6 >Emitted(32, 44) Source(25, 44) + SourceIndex(2) +7 >Emitted(32, 47) Source(25, 47) + SourceIndex(2) +8 >Emitted(32, 60) Source(25, 60) + SourceIndex(2) +9 >Emitted(32, 61) Source(25, 61) + SourceIndex(2) +10>Emitted(32, 62) Source(25, 62) + SourceIndex(2) +11>Emitted(32, 63) Source(25, 63) + SourceIndex(2) +--- +>>> /**@internal*/ type internalType = internalC; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(33, 5) Source(26, 5) + SourceIndex(2) +2 >Emitted(33, 19) Source(26, 19) + SourceIndex(2) +3 >Emitted(33, 20) Source(26, 20) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 32) + SourceIndex(2) +5 >Emitted(33, 37) Source(26, 44) + SourceIndex(2) +6 >Emitted(33, 40) Source(26, 47) + SourceIndex(2) +7 >Emitted(33, 49) Source(26, 56) + SourceIndex(2) +8 >Emitted(33, 50) Source(26, 57) + SourceIndex(2) +--- +>>> /**@internal*/ const internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > export +4 > const +5 > internalConst +6 > = 10 +7 > ; +1 >Emitted(34, 5) Source(27, 5) + SourceIndex(2) +2 >Emitted(34, 19) Source(27, 19) + SourceIndex(2) +3 >Emitted(34, 20) Source(27, 27) + SourceIndex(2) +4 >Emitted(34, 26) Source(27, 33) + SourceIndex(2) +5 >Emitted(34, 39) Source(27, 46) + SourceIndex(2) +6 >Emitted(34, 44) Source(27, 51) + SourceIndex(2) +7 >Emitted(34, 45) Source(27, 52) + SourceIndex(2) +--- +>>> /**@internal*/ enum internalEnum { +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum +1 >Emitted(35, 5) Source(28, 5) + SourceIndex(2) +2 >Emitted(35, 19) Source(28, 19) + SourceIndex(2) +3 >Emitted(35, 20) Source(28, 20) + SourceIndex(2) +4 >Emitted(35, 25) Source(28, 32) + SourceIndex(2) +5 >Emitted(35, 37) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>/**@internal*/ declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^^^ +1-> + > +2 >/**@internal*/ +3 > +4 > class +5 > internalC +1->Emitted(41, 1) Source(30, 1) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 15) + SourceIndex(2) +3 >Emitted(41, 16) Source(30, 16) + SourceIndex(2) +4 >Emitted(41, 30) Source(30, 22) + SourceIndex(2) +5 >Emitted(41, 39) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>/**@internal*/ declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^^^^^ +7 > ^-> +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () {} +1->Emitted(43, 1) Source(31, 1) + SourceIndex(2) +2 >Emitted(43, 15) Source(31, 15) + SourceIndex(2) +3 >Emitted(43, 16) Source(31, 16) + SourceIndex(2) +4 >Emitted(43, 33) Source(31, 25) + SourceIndex(2) +5 >Emitted(43, 44) Source(31, 36) + SourceIndex(2) +6 >Emitted(43, 53) Source(31, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > +1->Emitted(44, 1) Source(32, 1) + SourceIndex(2) +2 >Emitted(44, 15) Source(32, 15) + SourceIndex(2) +3 >Emitted(44, 16) Source(32, 16) + SourceIndex(2) +4 >Emitted(44, 34) Source(32, 26) + SourceIndex(2) +5 >Emitted(44, 51) Source(32, 43) + SourceIndex(2) +6 >Emitted(44, 52) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > . +7 > something +8 > +1->Emitted(48, 1) Source(33, 1) + SourceIndex(2) +2 >Emitted(48, 15) Source(33, 15) + SourceIndex(2) +3 >Emitted(48, 16) Source(33, 16) + SourceIndex(2) +4 >Emitted(48, 34) Source(33, 26) + SourceIndex(2) +5 >Emitted(48, 47) Source(33, 39) + SourceIndex(2) +6 >Emitted(48, 48) Source(33, 40) + SourceIndex(2) +7 >Emitted(48, 57) Source(33, 49) + SourceIndex(2) +8 >Emitted(48, 58) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>/**@internal*/ import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(52, 1) Source(34, 1) + SourceIndex(2) +2 >Emitted(52, 15) Source(34, 15) + SourceIndex(2) +3 >Emitted(52, 16) Source(34, 16) + SourceIndex(2) +4 >Emitted(52, 23) Source(34, 23) + SourceIndex(2) +5 >Emitted(52, 37) Source(34, 37) + SourceIndex(2) +6 >Emitted(52, 40) Source(34, 40) + SourceIndex(2) +7 >Emitted(52, 57) Source(34, 57) + SourceIndex(2) +8 >Emitted(52, 58) Source(34, 58) + SourceIndex(2) +9 >Emitted(52, 67) Source(34, 67) + SourceIndex(2) +10>Emitted(52, 68) Source(34, 68) + SourceIndex(2) +--- +>>>/**@internal*/ declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(53, 1) Source(35, 1) + SourceIndex(2) +2 >Emitted(53, 15) Source(35, 15) + SourceIndex(2) +3 >Emitted(53, 16) Source(35, 16) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 21) + SourceIndex(2) +5 >Emitted(53, 41) Source(35, 33) + SourceIndex(2) +6 >Emitted(53, 44) Source(35, 36) + SourceIndex(2) +7 >Emitted(53, 53) Source(35, 45) + SourceIndex(2) +8 >Emitted(53, 54) Source(35, 46) + SourceIndex(2) +--- +>>>/**@internal*/ declare const internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > +5 > const +6 > internalConst +7 > = 10 +8 > ; +1 >Emitted(54, 1) Source(36, 1) + SourceIndex(2) +2 >Emitted(54, 15) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 16) Source(36, 16) + SourceIndex(2) +4 >Emitted(54, 24) Source(36, 16) + SourceIndex(2) +5 >Emitted(54, 30) Source(36, 22) + SourceIndex(2) +6 >Emitted(54, 43) Source(36, 35) + SourceIndex(2) +7 >Emitted(54, 48) Source(36, 40) + SourceIndex(2) +8 >Emitted(54, 49) Source(36, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum +1 >Emitted(55, 1) Source(37, 1) + SourceIndex(2) +2 >Emitted(55, 15) Source(37, 15) + SourceIndex(2) +3 >Emitted(55, 16) Source(37, 16) + SourceIndex(2) +4 >Emitted(55, 29) Source(37, 21) + SourceIndex(2) +5 >Emitted(55, 41) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +3 >Emitted(16, 20) Source(14, 20) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +3 >Emitted(18, 20) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 44) Source(16, 26) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 20) + SourceIndex(3) +6 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +7 >Emitted(18, 62) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 23) Source(17, 19) + SourceIndex(3) +3 >Emitted(20, 29) Source(17, 20) + SourceIndex(3) +4 >Emitted(20, 43) Source(17, 30) + SourceIndex(3) +5 >Emitted(20, 50) Source(17, 37) + SourceIndex(3) +6 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +7 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +8 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +9 >Emitted(20, 55) Source(17, 42) + SourceIndex(3) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 23) Source(18, 19) + SourceIndex(3) +3 >Emitted(21, 29) Source(18, 20) + SourceIndex(3) +4 >Emitted(21, 39) Source(18, 26) + SourceIndex(3) +5 >Emitted(21, 42) Source(18, 37) + SourceIndex(3) +6 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +7 >Emitted(21, 47) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +3 >Emitted(29, 20) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +3 >Emitted(35, 20) Source(22, 20) + SourceIndex(3) +4 >Emitted(35, 29) Source(22, 36) + SourceIndex(3) +5 >Emitted(35, 32) Source(22, 39) + SourceIndex(3) +6 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +7 >Emitted(35, 38) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +3 >Emitted(37, 20) Source(23, 20) + SourceIndex(3) +4 >Emitted(37, 24) Source(23, 37) + SourceIndex(3) +5 >Emitted(37, 37) Source(23, 50) + SourceIndex(3) +6 >Emitted(37, 38) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +3 >Emitted(46, 20) Source(24, 20) + SourceIndex(3) +4 >Emitted(46, 24) Source(24, 37) + SourceIndex(3) +5 >Emitted(46, 33) Source(24, 46) + SourceIndex(3) +6 >Emitted(46, 34) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 19) Source(25, 19) + SourceIndex(3) +3 >Emitted(58, 20) Source(25, 34) + SourceIndex(3) +4 >Emitted(58, 38) Source(25, 44) + SourceIndex(3) +5 >Emitted(58, 41) Source(25, 47) + SourceIndex(3) +6 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +7 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +8 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +9 >Emitted(58, 57) Source(25, 63) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 19) Source(27, 19) + SourceIndex(3) +3 >Emitted(59, 20) Source(27, 33) + SourceIndex(3) +4 >Emitted(59, 41) Source(27, 46) + SourceIndex(3) +5 >Emitted(59, 44) Source(27, 49) + SourceIndex(3) +6 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +7 >Emitted(59, 47) Source(27, 52) + SourceIndex(3) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +3 >Emitted(60, 20) Source(28, 20) + SourceIndex(3) +4 >Emitted(60, 24) Source(28, 32) + SourceIndex(3) +5 >Emitted(60, 36) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +3 >Emitted(67, 16) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +3 >Emitted(72, 16) Source(31, 16) + SourceIndex(3) +4 >Emitted(72, 25) Source(31, 25) + SourceIndex(3) +5 >Emitted(72, 36) Source(31, 36) + SourceIndex(3) +6 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +7 >Emitted(72, 42) Source(31, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +3 >Emitted(73, 16) Source(32, 16) + SourceIndex(3) +4 >Emitted(73, 20) Source(32, 26) + SourceIndex(3) +5 >Emitted(73, 37) Source(32, 43) + SourceIndex(3) +6 >Emitted(73, 38) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +3 >Emitted(82, 16) Source(33, 16) + SourceIndex(3) +4 >Emitted(82, 20) Source(33, 26) + SourceIndex(3) +5 >Emitted(82, 33) Source(33, 39) + SourceIndex(3) +6 >Emitted(82, 34) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +3 >Emitted(94, 16) Source(34, 16) + SourceIndex(3) +4 >Emitted(94, 20) Source(34, 23) + SourceIndex(3) +5 >Emitted(94, 34) Source(34, 37) + SourceIndex(3) +6 >Emitted(94, 37) Source(34, 40) + SourceIndex(3) +7 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +8 >Emitted(94, 55) Source(34, 58) + SourceIndex(3) +9 >Emitted(94, 64) Source(34, 67) + SourceIndex(3) +10>Emitted(94, 65) Source(34, 68) + SourceIndex(3) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +3 >Emitted(95, 16) Source(36, 16) + SourceIndex(3) +4 >Emitted(95, 20) Source(36, 22) + SourceIndex(3) +5 >Emitted(95, 33) Source(36, 35) + SourceIndex(3) +6 >Emitted(95, 36) Source(36, 38) + SourceIndex(3) +7 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +8 >Emitted(95, 39) Source(36, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +3 >Emitted(96, 16) Source(37, 16) + SourceIndex(3) +4 >Emitted(96, 20) Source(37, 21) + SourceIndex(3) +5 >Emitted(96, 32) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..9f9ba407c6f --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,3375 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 109, + "kind": "text" + }, + { + "pos": 109, + "end": 149, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 156, + "kind": "text" + }, + { + "pos": 156, + "end": 198, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-109) +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (109-149) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-156) +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (156-198) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 149, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 151, + "end": 3608, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3610, + "end": 3646, + "kind": "text" + }, + { + "pos": 3646, + "end": 3686, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 198, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 200, + "end": 1302, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1304, + "end": 1323, + "kind": "text" + }, + { + "pos": 1323, + "end": 1365, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-149):: /src/first/bin/first-output.js +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (151-3608):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3610-3646) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3646-3686) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-198):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (200-1302):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1304-1323) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1323-1365) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 19) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 20) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 22) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 28) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(18, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(18, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(20, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(20, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(20, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(20, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(21, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(21, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(21, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(35, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(35, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(35, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(37, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(37, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(46, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(46, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(46, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(58, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(58, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(58, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(59, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(59, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(59, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(60, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(60, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(72, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(72, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(72, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(73, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(73, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(82, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(82, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(94, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(94, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(94, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(94, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(94, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(94, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(95, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(95, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(95, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(96, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal.js new file mode 100644 index 00000000000..f3e74a59b84 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/buildInfo/stripInternal.js @@ -0,0 +1,3275 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 109, + "kind": "text" + }, + { + "pos": 109, + "end": 149, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 156, + "kind": "text" + }, + { + "pos": 156, + "end": 198, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-109) +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (109-149) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-156) +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (156-198) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 149, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 151, + "end": 3244, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3246, + "end": 3282, + "kind": "text" + }, + { + "pos": 3282, + "end": 3322, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 198, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 200, + "end": 1288, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1290, + "end": 1309, + "kind": "text" + }, + { + "pos": 1309, + "end": 1351, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-149):: /src/first/bin/first-output.js +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (151-3244):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3246-3282) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3282-3322) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-198):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (200-1288):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1290-1309) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1309-1351) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(16, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(29, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(67, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..78842a21b19 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,2943 @@ +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 20) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 24) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 26) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 32) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 33) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 20) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 26) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 24) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 25) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 31) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 20) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 33) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 20) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 36) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 39) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 44) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 20) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 37) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 50) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 20) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 37) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 46) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 47) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 56) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 20) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 26) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 34) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 44) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 47) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 60) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 61) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 62) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 63) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 20) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 32) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 44) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 47) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 56) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 57) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 27) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 33) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 46) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 51) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 52) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 20) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 32) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 16) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 22) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 16) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 25) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 36) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 41) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 16) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 26) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 43) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 16) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 26) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 39) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 40) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 49) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 16) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 23) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 37) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 40) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 57) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 58) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 67) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 68) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 16) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 21) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 33) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 36) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 45) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 46) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 16) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 16) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 22) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 35) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 40) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 41) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 16) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 21) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(16, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(29, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(67, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js new file mode 100644 index 00000000000..013b2f530cf --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -0,0 +1,3179 @@ +//// [/src/first/bin/first-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,gBAAK,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^-> +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> /**@internal*/ constructor(); +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^-> +1-> { + > +2 > /**@internal*/ +1->Emitted(15, 5) Source(14, 5) + SourceIndex(2) +2 >Emitted(15, 19) Source(14, 19) + SourceIndex(2) +--- +>>> /**@internal*/ prop: string; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^ +6 > ^^^^^^ +7 > ^ +8 > ^^^-> +1-> constructor() { } + > +2 > /**@internal*/ +3 > +4 > prop +5 > : +6 > string +7 > ; +1->Emitted(16, 5) Source(15, 5) + SourceIndex(2) +2 >Emitted(16, 19) Source(15, 19) + SourceIndex(2) +3 >Emitted(16, 20) Source(15, 20) + SourceIndex(2) +4 >Emitted(16, 24) Source(15, 24) + SourceIndex(2) +5 >Emitted(16, 26) Source(15, 26) + SourceIndex(2) +6 >Emitted(16, 32) Source(15, 32) + SourceIndex(2) +7 >Emitted(16, 33) Source(15, 33) + SourceIndex(2) +--- +>>> /**@internal*/ method(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > method +1->Emitted(17, 5) Source(16, 5) + SourceIndex(2) +2 >Emitted(17, 19) Source(16, 19) + SourceIndex(2) +3 >Emitted(17, 20) Source(16, 20) + SourceIndex(2) +4 >Emitted(17, 26) Source(16, 26) + SourceIndex(2) +--- +>>> /**@internal*/ /**@internal*/ c: number; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^ +6 > ^^^^^^ +1->() { } + > +2 > /**@internal*/ +3 > get +4 > c +5 > () { return 10; } + > /**@internal*/ set c(val: +6 > number +1->Emitted(18, 5) Source(17, 5) + SourceIndex(2) +2 >Emitted(18, 19) Source(17, 19) + SourceIndex(2) +3 >Emitted(18, 35) Source(17, 24) + SourceIndex(2) +4 >Emitted(18, 36) Source(17, 25) + SourceIndex(2) +5 >Emitted(18, 38) Source(18, 31) + SourceIndex(2) +6 >Emitted(18, 44) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^-> +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> /**@internal*/ class C { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +1->{ + > +2 > /**@internal*/ +3 > +4 > export class +5 > C +1->Emitted(21, 5) Source(21, 5) + SourceIndex(2) +2 >Emitted(21, 19) Source(21, 19) + SourceIndex(2) +3 >Emitted(21, 20) Source(21, 20) + SourceIndex(2) +4 >Emitted(21, 26) Source(21, 33) + SourceIndex(2) +5 >Emitted(21, 27) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> /**@internal*/ function foo(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^ +7 > ^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () {} +1->Emitted(23, 5) Source(22, 5) + SourceIndex(2) +2 >Emitted(23, 19) Source(22, 19) + SourceIndex(2) +3 >Emitted(23, 20) Source(22, 20) + SourceIndex(2) +4 >Emitted(23, 29) Source(22, 36) + SourceIndex(2) +5 >Emitted(23, 32) Source(22, 39) + SourceIndex(2) +6 >Emitted(23, 41) Source(22, 44) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > +1->Emitted(24, 5) Source(23, 5) + SourceIndex(2) +2 >Emitted(24, 19) Source(23, 19) + SourceIndex(2) +3 >Emitted(24, 20) Source(23, 20) + SourceIndex(2) +4 >Emitted(24, 30) Source(23, 37) + SourceIndex(2) +5 >Emitted(24, 43) Source(23, 50) + SourceIndex(2) +6 >Emitted(24, 44) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > . +7 > something +8 > +1->Emitted(28, 5) Source(24, 5) + SourceIndex(2) +2 >Emitted(28, 19) Source(24, 19) + SourceIndex(2) +3 >Emitted(28, 20) Source(24, 20) + SourceIndex(2) +4 >Emitted(28, 30) Source(24, 37) + SourceIndex(2) +5 >Emitted(28, 39) Source(24, 46) + SourceIndex(2) +6 >Emitted(28, 40) Source(24, 47) + SourceIndex(2) +7 >Emitted(28, 49) Source(24, 56) + SourceIndex(2) +8 >Emitted(28, 50) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> /**@internal*/ export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^ +6 > ^^^^^^^^^^ +7 > ^^^ +8 > ^^^^^^^^^^^^^ +9 > ^ +10> ^ +11> ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export +5 > import +6 > someImport +7 > = +8 > someNamespace +9 > . +10> C +11> ; +1->Emitted(32, 5) Source(25, 5) + SourceIndex(2) +2 >Emitted(32, 19) Source(25, 19) + SourceIndex(2) +3 >Emitted(32, 20) Source(25, 20) + SourceIndex(2) +4 >Emitted(32, 26) Source(25, 26) + SourceIndex(2) +5 >Emitted(32, 34) Source(25, 34) + SourceIndex(2) +6 >Emitted(32, 44) Source(25, 44) + SourceIndex(2) +7 >Emitted(32, 47) Source(25, 47) + SourceIndex(2) +8 >Emitted(32, 60) Source(25, 60) + SourceIndex(2) +9 >Emitted(32, 61) Source(25, 61) + SourceIndex(2) +10>Emitted(32, 62) Source(25, 62) + SourceIndex(2) +11>Emitted(32, 63) Source(25, 63) + SourceIndex(2) +--- +>>> /**@internal*/ type internalType = internalC; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(33, 5) Source(26, 5) + SourceIndex(2) +2 >Emitted(33, 19) Source(26, 19) + SourceIndex(2) +3 >Emitted(33, 20) Source(26, 20) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 32) + SourceIndex(2) +5 >Emitted(33, 37) Source(26, 44) + SourceIndex(2) +6 >Emitted(33, 40) Source(26, 47) + SourceIndex(2) +7 >Emitted(33, 49) Source(26, 56) + SourceIndex(2) +8 >Emitted(33, 50) Source(26, 57) + SourceIndex(2) +--- +>>> /**@internal*/ const internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > export +4 > const +5 > internalConst +6 > = 10 +7 > ; +1 >Emitted(34, 5) Source(27, 5) + SourceIndex(2) +2 >Emitted(34, 19) Source(27, 19) + SourceIndex(2) +3 >Emitted(34, 20) Source(27, 27) + SourceIndex(2) +4 >Emitted(34, 26) Source(27, 33) + SourceIndex(2) +5 >Emitted(34, 39) Source(27, 46) + SourceIndex(2) +6 >Emitted(34, 44) Source(27, 51) + SourceIndex(2) +7 >Emitted(34, 45) Source(27, 52) + SourceIndex(2) +--- +>>> /**@internal*/ enum internalEnum { +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum +1 >Emitted(35, 5) Source(28, 5) + SourceIndex(2) +2 >Emitted(35, 19) Source(28, 19) + SourceIndex(2) +3 >Emitted(35, 20) Source(28, 20) + SourceIndex(2) +4 >Emitted(35, 25) Source(28, 32) + SourceIndex(2) +5 >Emitted(35, 37) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>/**@internal*/ declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^^^ +1-> + > +2 >/**@internal*/ +3 > +4 > class +5 > internalC +1->Emitted(41, 1) Source(30, 1) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 15) + SourceIndex(2) +3 >Emitted(41, 16) Source(30, 16) + SourceIndex(2) +4 >Emitted(41, 30) Source(30, 22) + SourceIndex(2) +5 >Emitted(41, 39) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>/**@internal*/ declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^^^^^ +7 > ^-> +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () {} +1->Emitted(43, 1) Source(31, 1) + SourceIndex(2) +2 >Emitted(43, 15) Source(31, 15) + SourceIndex(2) +3 >Emitted(43, 16) Source(31, 16) + SourceIndex(2) +4 >Emitted(43, 33) Source(31, 25) + SourceIndex(2) +5 >Emitted(43, 44) Source(31, 36) + SourceIndex(2) +6 >Emitted(43, 53) Source(31, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > +1->Emitted(44, 1) Source(32, 1) + SourceIndex(2) +2 >Emitted(44, 15) Source(32, 15) + SourceIndex(2) +3 >Emitted(44, 16) Source(32, 16) + SourceIndex(2) +4 >Emitted(44, 34) Source(32, 26) + SourceIndex(2) +5 >Emitted(44, 51) Source(32, 43) + SourceIndex(2) +6 >Emitted(44, 52) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > . +7 > something +8 > +1->Emitted(48, 1) Source(33, 1) + SourceIndex(2) +2 >Emitted(48, 15) Source(33, 15) + SourceIndex(2) +3 >Emitted(48, 16) Source(33, 16) + SourceIndex(2) +4 >Emitted(48, 34) Source(33, 26) + SourceIndex(2) +5 >Emitted(48, 47) Source(33, 39) + SourceIndex(2) +6 >Emitted(48, 48) Source(33, 40) + SourceIndex(2) +7 >Emitted(48, 57) Source(33, 49) + SourceIndex(2) +8 >Emitted(48, 58) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>/**@internal*/ import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(52, 1) Source(34, 1) + SourceIndex(2) +2 >Emitted(52, 15) Source(34, 15) + SourceIndex(2) +3 >Emitted(52, 16) Source(34, 16) + SourceIndex(2) +4 >Emitted(52, 23) Source(34, 23) + SourceIndex(2) +5 >Emitted(52, 37) Source(34, 37) + SourceIndex(2) +6 >Emitted(52, 40) Source(34, 40) + SourceIndex(2) +7 >Emitted(52, 57) Source(34, 57) + SourceIndex(2) +8 >Emitted(52, 58) Source(34, 58) + SourceIndex(2) +9 >Emitted(52, 67) Source(34, 67) + SourceIndex(2) +10>Emitted(52, 68) Source(34, 68) + SourceIndex(2) +--- +>>>/**@internal*/ declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(53, 1) Source(35, 1) + SourceIndex(2) +2 >Emitted(53, 15) Source(35, 15) + SourceIndex(2) +3 >Emitted(53, 16) Source(35, 16) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 21) + SourceIndex(2) +5 >Emitted(53, 41) Source(35, 33) + SourceIndex(2) +6 >Emitted(53, 44) Source(35, 36) + SourceIndex(2) +7 >Emitted(53, 53) Source(35, 45) + SourceIndex(2) +8 >Emitted(53, 54) Source(35, 46) + SourceIndex(2) +--- +>>>/**@internal*/ declare const internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > +5 > const +6 > internalConst +7 > = 10 +8 > ; +1 >Emitted(54, 1) Source(36, 1) + SourceIndex(2) +2 >Emitted(54, 15) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 16) Source(36, 16) + SourceIndex(2) +4 >Emitted(54, 24) Source(36, 16) + SourceIndex(2) +5 >Emitted(54, 30) Source(36, 22) + SourceIndex(2) +6 >Emitted(54, 43) Source(36, 35) + SourceIndex(2) +7 >Emitted(54, 48) Source(36, 40) + SourceIndex(2) +8 >Emitted(54, 49) Source(36, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum +1 >Emitted(55, 1) Source(37, 1) + SourceIndex(2) +2 >Emitted(55, 15) Source(37, 15) + SourceIndex(2) +3 >Emitted(55, 16) Source(37, 16) + SourceIndex(2) +4 >Emitted(55, 29) Source(37, 21) + SourceIndex(2) +5 >Emitted(55, 41) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +3 >Emitted(16, 20) Source(14, 20) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +3 >Emitted(18, 20) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 44) Source(16, 26) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 20) + SourceIndex(3) +6 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +7 >Emitted(18, 62) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 23) Source(17, 19) + SourceIndex(3) +3 >Emitted(20, 29) Source(17, 20) + SourceIndex(3) +4 >Emitted(20, 43) Source(17, 30) + SourceIndex(3) +5 >Emitted(20, 50) Source(17, 37) + SourceIndex(3) +6 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +7 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +8 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +9 >Emitted(20, 55) Source(17, 42) + SourceIndex(3) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 23) Source(18, 19) + SourceIndex(3) +3 >Emitted(21, 29) Source(18, 20) + SourceIndex(3) +4 >Emitted(21, 39) Source(18, 26) + SourceIndex(3) +5 >Emitted(21, 42) Source(18, 37) + SourceIndex(3) +6 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +7 >Emitted(21, 47) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +3 >Emitted(29, 20) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +3 >Emitted(35, 20) Source(22, 20) + SourceIndex(3) +4 >Emitted(35, 29) Source(22, 36) + SourceIndex(3) +5 >Emitted(35, 32) Source(22, 39) + SourceIndex(3) +6 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +7 >Emitted(35, 38) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +3 >Emitted(37, 20) Source(23, 20) + SourceIndex(3) +4 >Emitted(37, 24) Source(23, 37) + SourceIndex(3) +5 >Emitted(37, 37) Source(23, 50) + SourceIndex(3) +6 >Emitted(37, 38) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +3 >Emitted(46, 20) Source(24, 20) + SourceIndex(3) +4 >Emitted(46, 24) Source(24, 37) + SourceIndex(3) +5 >Emitted(46, 33) Source(24, 46) + SourceIndex(3) +6 >Emitted(46, 34) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 19) Source(25, 19) + SourceIndex(3) +3 >Emitted(58, 20) Source(25, 34) + SourceIndex(3) +4 >Emitted(58, 38) Source(25, 44) + SourceIndex(3) +5 >Emitted(58, 41) Source(25, 47) + SourceIndex(3) +6 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +7 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +8 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +9 >Emitted(58, 57) Source(25, 63) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 19) Source(27, 19) + SourceIndex(3) +3 >Emitted(59, 20) Source(27, 33) + SourceIndex(3) +4 >Emitted(59, 41) Source(27, 46) + SourceIndex(3) +5 >Emitted(59, 44) Source(27, 49) + SourceIndex(3) +6 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +7 >Emitted(59, 47) Source(27, 52) + SourceIndex(3) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +3 >Emitted(60, 20) Source(28, 20) + SourceIndex(3) +4 >Emitted(60, 24) Source(28, 32) + SourceIndex(3) +5 >Emitted(60, 36) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +3 >Emitted(67, 16) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +3 >Emitted(72, 16) Source(31, 16) + SourceIndex(3) +4 >Emitted(72, 25) Source(31, 25) + SourceIndex(3) +5 >Emitted(72, 36) Source(31, 36) + SourceIndex(3) +6 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +7 >Emitted(72, 42) Source(31, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +3 >Emitted(73, 16) Source(32, 16) + SourceIndex(3) +4 >Emitted(73, 20) Source(32, 26) + SourceIndex(3) +5 >Emitted(73, 37) Source(32, 43) + SourceIndex(3) +6 >Emitted(73, 38) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +3 >Emitted(82, 16) Source(33, 16) + SourceIndex(3) +4 >Emitted(82, 20) Source(33, 26) + SourceIndex(3) +5 >Emitted(82, 33) Source(33, 39) + SourceIndex(3) +6 >Emitted(82, 34) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +3 >Emitted(94, 16) Source(34, 16) + SourceIndex(3) +4 >Emitted(94, 20) Source(34, 23) + SourceIndex(3) +5 >Emitted(94, 34) Source(34, 37) + SourceIndex(3) +6 >Emitted(94, 37) Source(34, 40) + SourceIndex(3) +7 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +8 >Emitted(94, 55) Source(34, 58) + SourceIndex(3) +9 >Emitted(94, 64) Source(34, 67) + SourceIndex(3) +10>Emitted(94, 65) Source(34, 68) + SourceIndex(3) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +3 >Emitted(95, 16) Source(36, 16) + SourceIndex(3) +4 >Emitted(95, 20) Source(36, 22) + SourceIndex(3) +5 >Emitted(95, 33) Source(36, 35) + SourceIndex(3) +6 >Emitted(95, 36) Source(36, 38) + SourceIndex(3) +7 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +8 >Emitted(95, 39) Source(36, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +3 >Emitted(96, 16) Source(37, 16) + SourceIndex(3) +4 >Emitted(96, 20) Source(37, 21) + SourceIndex(3) +5 >Emitted(96, 32) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..52220ee38f4 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,3043 @@ +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 19) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 20) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 22) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 28) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(18, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(18, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(20, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(20, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(20, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(20, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(21, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(21, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(21, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(35, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(35, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(35, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(37, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(37, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(46, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(46, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(46, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(58, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(58, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(58, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(59, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(59, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(59, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(60, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(60, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(72, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(72, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(72, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(73, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(73, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(82, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(82, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(94, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(94, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(94, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(94, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(94, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(94, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(95, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(95, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(95, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(96, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal.js new file mode 100644 index 00000000000..1fd691caa47 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/no-buildInfo/stripInternal.js @@ -0,0 +1,2943 @@ +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hola, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hola, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hola, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hola, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0) +6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hola, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hola, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hola, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0) +6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(16, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(29, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(67, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..e588e3f1c0f --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,2316 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 127, + "kind": "text" + }, + { + "pos": 127, + "end": 167, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + }, + { + "pos": 157, + "end": 199, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-127) +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (127-167) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (157-199) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 167, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 169, + "end": 3262, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3264, + "end": 3300, + "kind": "text" + }, + { + "pos": 3300, + "end": 3340, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 199, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 201, + "end": 1289, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1291, + "end": 1310, + "kind": "text" + }, + { + "pos": 1310, + "end": 1352, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-167):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (169-3262):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3264-3300) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3300-3340) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-199):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (201-1289):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1291-1310) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1310-1352) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(17, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(18, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(19, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(19, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(19, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(19, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(19, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(20, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(21, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(21, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(21, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(21, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(21, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(21, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(21, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(22, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(22, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(22, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(22, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(22, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(30, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(36, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(36, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(36, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(37, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(38, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(39, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(47, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(48, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(59, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(59, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(59, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(59, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(59, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(59, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(59, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(60, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(60, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(60, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(60, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(60, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(62, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(68, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(73, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(73, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(73, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(73, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(73, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(74, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(75, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(83, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(84, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(95, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(95, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(95, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(95, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(95, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(95, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(95, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(96, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(96, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(96, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(96, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(96, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(98, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js new file mode 100644 index 00000000000..18a24aff845 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -0,0 +1,2416 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 127, + "kind": "text" + }, + { + "pos": 127, + "end": 167, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 172, + "kind": "text" + }, + { + "pos": 172, + "end": 214, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-127) +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (127-167) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-172) +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (172-214) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 167, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 169, + "end": 3644, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3646, + "end": 3682, + "kind": "text" + }, + { + "pos": 3682, + "end": 3722, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 214, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 216, + "end": 1619, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1621, + "end": 1640, + "kind": "text" + }, + { + "pos": 1640, + "end": 1682, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-167):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (169-3644):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3646-3682) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3682-3722) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-214):: /src/first/bin/first-output.d.ts +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (216-1619):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1621-1640) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1640-1682) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(17, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(17, 19) Source(14, 19) + SourceIndex(3) +3 >Emitted(17, 20) Source(14, 20) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(18, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 37) + SourceIndex(3) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(19, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(19, 19) Source(16, 19) + SourceIndex(3) +3 >Emitted(19, 20) Source(16, 20) + SourceIndex(3) +4 >Emitted(19, 44) Source(16, 26) + SourceIndex(3) +5 >Emitted(19, 47) Source(16, 20) + SourceIndex(3) +6 >Emitted(19, 61) Source(16, 31) + SourceIndex(3) +7 >Emitted(19, 62) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(20, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 25) + SourceIndex(3) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(21, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(21, 23) Source(17, 19) + SourceIndex(3) +3 >Emitted(21, 29) Source(17, 20) + SourceIndex(3) +4 >Emitted(21, 43) Source(17, 30) + SourceIndex(3) +5 >Emitted(21, 50) Source(17, 37) + SourceIndex(3) +6 >Emitted(21, 52) Source(17, 39) + SourceIndex(3) +7 >Emitted(21, 53) Source(17, 40) + SourceIndex(3) +8 >Emitted(21, 54) Source(17, 41) + SourceIndex(3) +9 >Emitted(21, 55) Source(17, 42) + SourceIndex(3) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(22, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(22, 23) Source(18, 19) + SourceIndex(3) +3 >Emitted(22, 29) Source(18, 20) + SourceIndex(3) +4 >Emitted(22, 39) Source(18, 26) + SourceIndex(3) +5 >Emitted(22, 42) Source(18, 37) + SourceIndex(3) +6 >Emitted(22, 46) Source(18, 41) + SourceIndex(3) +7 >Emitted(22, 47) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(30, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(30, 19) Source(21, 19) + SourceIndex(3) +3 >Emitted(30, 20) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 38) + SourceIndex(3) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(36, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(36, 19) Source(22, 19) + SourceIndex(3) +3 >Emitted(36, 20) Source(22, 20) + SourceIndex(3) +4 >Emitted(36, 29) Source(22, 36) + SourceIndex(3) +5 >Emitted(36, 32) Source(22, 39) + SourceIndex(3) +6 >Emitted(36, 37) Source(22, 43) + SourceIndex(3) +7 >Emitted(36, 38) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(37, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 44) + SourceIndex(3) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(38, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(38, 19) Source(23, 19) + SourceIndex(3) +3 >Emitted(38, 20) Source(23, 20) + SourceIndex(3) +4 >Emitted(38, 24) Source(23, 37) + SourceIndex(3) +5 >Emitted(38, 37) Source(23, 50) + SourceIndex(3) +6 >Emitted(38, 38) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(39, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 72) + SourceIndex(3) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(47, 19) Source(24, 19) + SourceIndex(3) +3 >Emitted(47, 20) Source(24, 20) + SourceIndex(3) +4 >Emitted(47, 24) Source(24, 37) + SourceIndex(3) +5 >Emitted(47, 33) Source(24, 46) + SourceIndex(3) +6 >Emitted(47, 34) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(48, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 86) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(59, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(59, 19) Source(25, 19) + SourceIndex(3) +3 >Emitted(59, 20) Source(25, 34) + SourceIndex(3) +4 >Emitted(59, 38) Source(25, 44) + SourceIndex(3) +5 >Emitted(59, 41) Source(25, 47) + SourceIndex(3) +6 >Emitted(59, 54) Source(25, 60) + SourceIndex(3) +7 >Emitted(59, 55) Source(25, 61) + SourceIndex(3) +8 >Emitted(59, 56) Source(25, 62) + SourceIndex(3) +9 >Emitted(59, 57) Source(25, 63) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(60, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(60, 19) Source(27, 19) + SourceIndex(3) +3 >Emitted(60, 20) Source(27, 33) + SourceIndex(3) +4 >Emitted(60, 41) Source(27, 46) + SourceIndex(3) +5 >Emitted(60, 44) Source(27, 49) + SourceIndex(3) +6 >Emitted(60, 46) Source(27, 51) + SourceIndex(3) +7 >Emitted(60, 47) Source(27, 52) + SourceIndex(3) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(61, 19) Source(28, 19) + SourceIndex(3) +3 >Emitted(61, 20) Source(28, 20) + SourceIndex(3) +4 >Emitted(61, 24) Source(28, 32) + SourceIndex(3) +5 >Emitted(61, 36) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(62, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(68, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(68, 15) Source(30, 15) + SourceIndex(3) +3 >Emitted(68, 16) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 34) + SourceIndex(3) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(73, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(73, 15) Source(31, 15) + SourceIndex(3) +3 >Emitted(73, 16) Source(31, 16) + SourceIndex(3) +4 >Emitted(73, 25) Source(31, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(31, 36) + SourceIndex(3) +6 >Emitted(73, 41) Source(31, 40) + SourceIndex(3) +7 >Emitted(73, 42) Source(31, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(74, 15) Source(32, 15) + SourceIndex(3) +3 >Emitted(74, 16) Source(32, 16) + SourceIndex(3) +4 >Emitted(74, 20) Source(32, 26) + SourceIndex(3) +5 >Emitted(74, 37) Source(32, 43) + SourceIndex(3) +6 >Emitted(74, 38) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(75, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 73) + SourceIndex(3) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(83, 15) Source(33, 15) + SourceIndex(3) +3 >Emitted(83, 16) Source(33, 16) + SourceIndex(3) +4 >Emitted(83, 20) Source(33, 26) + SourceIndex(3) +5 >Emitted(83, 33) Source(33, 39) + SourceIndex(3) +6 >Emitted(83, 34) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(84, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 79) + SourceIndex(3) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(95, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(95, 15) Source(34, 15) + SourceIndex(3) +3 >Emitted(95, 16) Source(34, 16) + SourceIndex(3) +4 >Emitted(95, 20) Source(34, 23) + SourceIndex(3) +5 >Emitted(95, 34) Source(34, 37) + SourceIndex(3) +6 >Emitted(95, 37) Source(34, 40) + SourceIndex(3) +7 >Emitted(95, 54) Source(34, 57) + SourceIndex(3) +8 >Emitted(95, 55) Source(34, 58) + SourceIndex(3) +9 >Emitted(95, 64) Source(34, 67) + SourceIndex(3) +10>Emitted(95, 65) Source(34, 68) + SourceIndex(3) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(96, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(96, 15) Source(36, 15) + SourceIndex(3) +3 >Emitted(96, 16) Source(36, 16) + SourceIndex(3) +4 >Emitted(96, 20) Source(36, 22) + SourceIndex(3) +5 >Emitted(96, 33) Source(36, 35) + SourceIndex(3) +6 >Emitted(96, 36) Source(36, 38) + SourceIndex(3) +7 >Emitted(96, 38) Source(36, 40) + SourceIndex(3) +8 >Emitted(96, 39) Source(36, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(97, 15) Source(37, 15) + SourceIndex(3) +3 >Emitted(97, 16) Source(37, 16) + SourceIndex(3) +4 >Emitted(97, 20) Source(37, 21) + SourceIndex(3) +5 >Emitted(97, 32) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(98, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..f8789311f44 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,2416 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 127, + "kind": "text" + }, + { + "pos": 127, + "end": 167, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + }, + { + "pos": 157, + "end": 199, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-127) +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (127-167) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (157-199) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 167, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 169, + "end": 3626, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3628, + "end": 3664, + "kind": "text" + }, + { + "pos": 3664, + "end": 3704, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 199, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 201, + "end": 1303, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1305, + "end": 1324, + "kind": "text" + }, + { + "pos": 1324, + "end": 1366, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-167):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (169-3626):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3628-3664) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3664-3704) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-199):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (201-1303):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1305-1324) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1324-1366) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(17, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(17, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(17, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(18, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(19, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(19, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(19, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(19, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(19, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(19, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(19, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(20, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(21, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(21, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(21, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(21, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(21, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(21, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(21, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(22, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(22, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(22, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(22, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(22, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(22, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(22, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(30, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(30, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(30, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(36, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(36, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(36, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(36, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(36, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(36, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(36, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(37, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(38, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(38, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(38, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(38, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(38, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(38, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(39, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(47, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(47, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(47, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(47, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(47, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(48, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(59, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(59, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(59, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(59, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(59, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(59, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(59, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(60, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(60, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(60, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(60, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(60, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(61, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(61, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(61, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(61, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(62, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(68, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(68, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(68, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(73, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(73, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(73, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(73, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(73, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(74, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(74, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(74, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(74, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(74, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(75, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(83, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(83, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(83, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(83, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(83, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(84, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(95, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(95, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(95, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(95, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(95, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(95, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(95, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(96, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(96, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(96, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(96, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(96, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(97, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(97, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(97, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(97, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(98, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal.js new file mode 100644 index 00000000000..5fe40b6d8d2 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/buildInfo/stripInternal.js @@ -0,0 +1,2316 @@ +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 127, + "kind": "text" + }, + { + "pos": 127, + "end": 167, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + }, + { + "pos": 157, + "end": 199, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-127) +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (127-167) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (157-199) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 167, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 169, + "end": 3262, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3264, + "end": 3300, + "kind": "text" + }, + { + "pos": 3300, + "end": 3340, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 199, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 201, + "end": 1289, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1291, + "end": 1310, + "kind": "text" + }, + { + "pos": 1310, + "end": 1352, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-167):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (169-3262):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3264-3300) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3300-3340) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-199):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (201-1289):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1291-1310) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1310-1352) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(17, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(18, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(19, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(19, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(19, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(19, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(19, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(20, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(21, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(21, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(21, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(21, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(21, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(21, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(21, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(22, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(22, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(22, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(22, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(22, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(30, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(36, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(36, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(36, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(36, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(37, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(38, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(39, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(47, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(48, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(59, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(59, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(59, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(59, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(59, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(59, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(59, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(60, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(60, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(60, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(60, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(60, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(62, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(68, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(73, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(73, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(73, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(73, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(73, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(74, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(75, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(83, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(84, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(95, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(95, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(95, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(95, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(95, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(95, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(95, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(96, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(96, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(96, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(96, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(96, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(98, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..419756e6a00 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,1982 @@ +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(17, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(18, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(19, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(19, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(19, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(19, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(19, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(20, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(21, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(21, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(21, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(21, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(21, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(21, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(21, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(22, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(22, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(22, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(22, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(22, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(30, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(36, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(36, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(36, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(37, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(38, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(39, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(47, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(48, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(59, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(59, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(59, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(59, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(59, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(59, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(59, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(60, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(60, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(60, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(60, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(60, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(62, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(68, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(73, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(73, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(73, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(73, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(73, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(74, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(75, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(83, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(84, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(95, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(95, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(95, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(95, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(95, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(95, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(95, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(96, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(96, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(96, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(96, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(96, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(98, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js new file mode 100644 index 00000000000..6b1b95bb8a7 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -0,0 +1,2082 @@ +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(17, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(17, 19) Source(14, 19) + SourceIndex(3) +3 >Emitted(17, 20) Source(14, 20) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(18, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 37) + SourceIndex(3) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(19, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(19, 19) Source(16, 19) + SourceIndex(3) +3 >Emitted(19, 20) Source(16, 20) + SourceIndex(3) +4 >Emitted(19, 44) Source(16, 26) + SourceIndex(3) +5 >Emitted(19, 47) Source(16, 20) + SourceIndex(3) +6 >Emitted(19, 61) Source(16, 31) + SourceIndex(3) +7 >Emitted(19, 62) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(20, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 25) + SourceIndex(3) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(21, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(21, 23) Source(17, 19) + SourceIndex(3) +3 >Emitted(21, 29) Source(17, 20) + SourceIndex(3) +4 >Emitted(21, 43) Source(17, 30) + SourceIndex(3) +5 >Emitted(21, 50) Source(17, 37) + SourceIndex(3) +6 >Emitted(21, 52) Source(17, 39) + SourceIndex(3) +7 >Emitted(21, 53) Source(17, 40) + SourceIndex(3) +8 >Emitted(21, 54) Source(17, 41) + SourceIndex(3) +9 >Emitted(21, 55) Source(17, 42) + SourceIndex(3) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(22, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(22, 23) Source(18, 19) + SourceIndex(3) +3 >Emitted(22, 29) Source(18, 20) + SourceIndex(3) +4 >Emitted(22, 39) Source(18, 26) + SourceIndex(3) +5 >Emitted(22, 42) Source(18, 37) + SourceIndex(3) +6 >Emitted(22, 46) Source(18, 41) + SourceIndex(3) +7 >Emitted(22, 47) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(30, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(30, 19) Source(21, 19) + SourceIndex(3) +3 >Emitted(30, 20) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 38) + SourceIndex(3) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(36, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(36, 19) Source(22, 19) + SourceIndex(3) +3 >Emitted(36, 20) Source(22, 20) + SourceIndex(3) +4 >Emitted(36, 29) Source(22, 36) + SourceIndex(3) +5 >Emitted(36, 32) Source(22, 39) + SourceIndex(3) +6 >Emitted(36, 37) Source(22, 43) + SourceIndex(3) +7 >Emitted(36, 38) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(37, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 44) + SourceIndex(3) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(38, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(38, 19) Source(23, 19) + SourceIndex(3) +3 >Emitted(38, 20) Source(23, 20) + SourceIndex(3) +4 >Emitted(38, 24) Source(23, 37) + SourceIndex(3) +5 >Emitted(38, 37) Source(23, 50) + SourceIndex(3) +6 >Emitted(38, 38) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(39, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 72) + SourceIndex(3) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(47, 19) Source(24, 19) + SourceIndex(3) +3 >Emitted(47, 20) Source(24, 20) + SourceIndex(3) +4 >Emitted(47, 24) Source(24, 37) + SourceIndex(3) +5 >Emitted(47, 33) Source(24, 46) + SourceIndex(3) +6 >Emitted(47, 34) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(48, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 86) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(59, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(59, 19) Source(25, 19) + SourceIndex(3) +3 >Emitted(59, 20) Source(25, 34) + SourceIndex(3) +4 >Emitted(59, 38) Source(25, 44) + SourceIndex(3) +5 >Emitted(59, 41) Source(25, 47) + SourceIndex(3) +6 >Emitted(59, 54) Source(25, 60) + SourceIndex(3) +7 >Emitted(59, 55) Source(25, 61) + SourceIndex(3) +8 >Emitted(59, 56) Source(25, 62) + SourceIndex(3) +9 >Emitted(59, 57) Source(25, 63) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(60, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(60, 19) Source(27, 19) + SourceIndex(3) +3 >Emitted(60, 20) Source(27, 33) + SourceIndex(3) +4 >Emitted(60, 41) Source(27, 46) + SourceIndex(3) +5 >Emitted(60, 44) Source(27, 49) + SourceIndex(3) +6 >Emitted(60, 46) Source(27, 51) + SourceIndex(3) +7 >Emitted(60, 47) Source(27, 52) + SourceIndex(3) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(61, 19) Source(28, 19) + SourceIndex(3) +3 >Emitted(61, 20) Source(28, 20) + SourceIndex(3) +4 >Emitted(61, 24) Source(28, 32) + SourceIndex(3) +5 >Emitted(61, 36) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(62, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(68, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(68, 15) Source(30, 15) + SourceIndex(3) +3 >Emitted(68, 16) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 34) + SourceIndex(3) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(73, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(73, 15) Source(31, 15) + SourceIndex(3) +3 >Emitted(73, 16) Source(31, 16) + SourceIndex(3) +4 >Emitted(73, 25) Source(31, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(31, 36) + SourceIndex(3) +6 >Emitted(73, 41) Source(31, 40) + SourceIndex(3) +7 >Emitted(73, 42) Source(31, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(74, 15) Source(32, 15) + SourceIndex(3) +3 >Emitted(74, 16) Source(32, 16) + SourceIndex(3) +4 >Emitted(74, 20) Source(32, 26) + SourceIndex(3) +5 >Emitted(74, 37) Source(32, 43) + SourceIndex(3) +6 >Emitted(74, 38) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(75, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 73) + SourceIndex(3) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(83, 15) Source(33, 15) + SourceIndex(3) +3 >Emitted(83, 16) Source(33, 16) + SourceIndex(3) +4 >Emitted(83, 20) Source(33, 26) + SourceIndex(3) +5 >Emitted(83, 33) Source(33, 39) + SourceIndex(3) +6 >Emitted(83, 34) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(84, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 79) + SourceIndex(3) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(95, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(95, 15) Source(34, 15) + SourceIndex(3) +3 >Emitted(95, 16) Source(34, 16) + SourceIndex(3) +4 >Emitted(95, 20) Source(34, 23) + SourceIndex(3) +5 >Emitted(95, 34) Source(34, 37) + SourceIndex(3) +6 >Emitted(95, 37) Source(34, 40) + SourceIndex(3) +7 >Emitted(95, 54) Source(34, 57) + SourceIndex(3) +8 >Emitted(95, 55) Source(34, 58) + SourceIndex(3) +9 >Emitted(95, 64) Source(34, 67) + SourceIndex(3) +10>Emitted(95, 65) Source(34, 68) + SourceIndex(3) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(96, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(96, 15) Source(36, 15) + SourceIndex(3) +3 >Emitted(96, 16) Source(36, 16) + SourceIndex(3) +4 >Emitted(96, 20) Source(36, 22) + SourceIndex(3) +5 >Emitted(96, 33) Source(36, 35) + SourceIndex(3) +6 >Emitted(96, 36) Source(36, 38) + SourceIndex(3) +7 >Emitted(96, 38) Source(36, 40) + SourceIndex(3) +8 >Emitted(96, 39) Source(36, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(97, 15) Source(37, 15) + SourceIndex(3) +3 >Emitted(97, 16) Source(37, 16) + SourceIndex(3) +4 >Emitted(97, 20) Source(37, 21) + SourceIndex(3) +5 >Emitted(97, 32) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(98, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..83f12012832 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,2082 @@ +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(17, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(17, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(17, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(18, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(19, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(19, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(19, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(19, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(19, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(19, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(19, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(20, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(21, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(21, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(21, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(21, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(21, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(21, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(21, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(22, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(22, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(22, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(22, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(22, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(22, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(22, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(30, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(30, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(30, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(36, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(36, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(36, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(36, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(36, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(36, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(36, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(37, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(38, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(38, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(38, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(38, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(38, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(38, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(39, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(47, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(47, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(47, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(47, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(47, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(48, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(59, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(59, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(59, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(59, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(59, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(59, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(59, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(60, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(60, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(60, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(60, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(60, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(61, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(61, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(61, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(61, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(62, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(68, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(68, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(68, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(73, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(73, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(73, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(73, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(73, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(74, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(74, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(74, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(74, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(74, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(75, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(83, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(83, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(83, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(83, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(83, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(84, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(95, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(95, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(95, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(95, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(95, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(95, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(95, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(96, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(96, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(96, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(96, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(96, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(97, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(97, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(97, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(97, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(98, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal.js new file mode 100644 index 00000000000..4a7b20946c0 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/no-buildInfo/stripInternal.js @@ -0,0 +1,1982 @@ +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); +console.log(s); + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +>>>console.log(s); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1-> + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(6, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(10, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(11, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(12, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(14, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(15, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(16, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(17, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(18, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(18, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(19, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(19, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(19, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(19, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(19, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(20, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(20, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(21, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(21, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(21, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(21, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(21, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(21, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(21, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(22, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(22, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(22, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(22, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(22, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(25, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(26, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(27, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(27, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(28, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(29, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(29, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(29, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(30, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(31, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(33, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(34, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(34, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(34, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(34, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(35, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(35, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(35, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(35, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(36, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(36, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(36, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(36, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(37, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(37, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(37, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(37, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(38, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(39, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(39, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(39, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(40, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(41, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(43, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(44, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(44, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(44, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(44, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(45, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(45, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(45, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(45, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(46, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(46, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(46, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(46, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(46, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(46, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(46, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(46, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(46, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(47, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(48, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(48, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(48, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(49, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(50, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(50, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(50, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(51, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(52, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(54, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(55, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(55, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(55, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(55, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(56, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(56, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(56, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(56, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(57, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(57, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(57, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(57, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(57, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(57, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(57, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(58, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(58, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(58, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(58, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(58, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(58, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(58, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(58, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(58, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(59, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(59, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(59, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(59, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(59, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(59, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(59, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(60, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(60, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(60, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(60, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(60, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(62, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(62, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(62, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(63, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(64, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(65, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(65, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(65, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(66, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(66, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(66, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(66, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(66, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(66, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(66, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(66, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(66, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(67, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(67, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(67, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(67, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(67, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(67, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(67, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(68, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(69, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(72, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(72, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(72, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(72, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(73, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(73, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(73, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(73, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(73, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(74, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(75, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(75, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(75, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(76, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(77, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(79, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(80, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(80, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(80, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(80, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(81, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(81, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(81, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(81, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(82, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(82, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(82, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(82, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(82, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(82, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(82, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(83, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(84, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(84, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(84, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(85, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(86, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(86, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(86, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(87, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(88, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(90, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(91, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(91, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(91, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(91, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(92, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(92, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(92, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(92, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(93, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(93, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(93, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(93, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(93, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(93, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(94, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(94, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(94, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(94, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(94, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(94, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(94, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(95, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(95, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(95, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(95, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(95, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(95, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(95, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(96, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(96, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(96, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(96, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(96, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(98, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(98, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(98, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(99, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(100, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(101, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(101, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(101, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(102, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(102, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(102, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(102, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(102, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(102, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(102, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(103, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(104, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(105, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(105, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(106, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(106, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(106, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(107, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(107, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(107, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(107, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(107, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(107, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(107, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(107, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(108, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(108, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(109, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(110, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(110, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(110, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(110, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(112, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(112, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(112, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(112, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(112, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(112, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(112, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(112, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(113, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(113, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(113, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(113, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(113, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(113, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..8aea40550aa --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,2735 @@ +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 20) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 24) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 26) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 32) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 33) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 20) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 26) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 24) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 25) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 31) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 20) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 33) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 20) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 36) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 39) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 44) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 20) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 37) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 50) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 20) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 37) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 46) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 47) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 56) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 20) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 26) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 34) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 44) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 47) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 60) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 61) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 62) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 63) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 20) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 32) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 44) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 47) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 56) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 57) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 27) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 33) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 46) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 51) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 52) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 20) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 32) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 16) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 22) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 16) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 25) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 36) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 41) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 16) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 26) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 43) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 16) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 26) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 39) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 40) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 49) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 16) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 23) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 37) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 40) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 57) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 58) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 67) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 68) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 16) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 21) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 33) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 36) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 45) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 46) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 16) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 16) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 22) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 35) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 40) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 41) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 16) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 21) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(16, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(29, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(67, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..200f41eb6ff --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,2835 @@ +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 19) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 20) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 22) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 28) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(18, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(18, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(20, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(20, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(20, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(20, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(21, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(21, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(21, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(35, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(35, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(35, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(37, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(37, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(46, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(46, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(46, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(58, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(58, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(58, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(59, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(59, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(59, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(60, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(60, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(72, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(72, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(72, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(73, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(73, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(82, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(82, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(94, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(94, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(94, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(94, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(94, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(94, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(95, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(95, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(95, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(96, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal.js new file mode 100644 index 00000000000..a132eb3fe8b --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/buildInfo/stripInternal.js @@ -0,0 +1,2735 @@ +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(16, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(29, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(67, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..8aea40550aa --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,2735 @@ +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 20) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 24) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 26) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 32) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 33) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 20) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 26) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 24) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 25) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 31) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 20) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 33) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 20) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 36) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 39) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 44) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 20) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 37) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 50) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 20) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 37) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 46) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 47) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 56) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 20) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 26) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 34) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 44) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 47) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 60) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 61) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 62) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 63) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 20) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 32) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 44) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 47) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 56) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 57) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 27) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 33) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 46) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 51) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 52) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 20) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 32) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 16) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 22) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 16) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 25) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 36) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 41) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 16) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 26) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 43) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 16) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 26) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 39) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 40) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 49) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 16) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 23) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 37) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 40) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 57) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 58) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 67) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 68) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 16) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 21) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 33) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 36) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 45) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 46) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 16) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 16) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 22) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 35) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 40) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 41) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 16) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 21) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(16, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(29, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(67, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..200f41eb6ff --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,2835 @@ +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 19) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 20) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 22) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 28) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(18, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(18, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(20, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(20, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(20, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(20, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(21, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(21, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(21, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(35, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(35, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(35, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(37, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(37, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(46, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(46, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(46, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(58, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(58, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(58, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(59, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(59, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(59, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(60, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(60, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(72, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(72, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(72, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(73, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(73, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(82, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(82, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(94, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(94, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(94, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(94, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(94, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(94, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(95, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(95, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(95, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(96, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal.js new file mode 100644 index 00000000000..a132eb3fe8b --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change/no-buildInfo/stripInternal.js @@ -0,0 +1,2735 @@ +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 > +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(16, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(29, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(67, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..410a7cbee60 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,5818 @@ +//// [/src/2/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/second/", + "js": { + "sections": [ + { + "pos": 0, + "end": 3052, + "kind": "text" + }, + { + "pos": 3052, + "end": 3093, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 1045, + "kind": "text" + }, + { + "pos": 1045, + "end": 1088, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/2/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-3052) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +sourceMapUrl: (3052-3093) +//# sourceMappingURL=second-output.js.map +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-1045) +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +sourceMapUrl: (1045-1088) +//# sourceMappingURL=second-output.d.ts.map +====================================================================== + +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(7, 5) Source(15, 20) + SourceIndex(0) +2 >Emitted(7, 9) Source(15, 24) + SourceIndex(0) +3 >Emitted(7, 11) Source(15, 26) + SourceIndex(0) +4 >Emitted(7, 17) Source(15, 32) + SourceIndex(0) +5 >Emitted(7, 18) Source(15, 33) + SourceIndex(0) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(8, 5) Source(16, 20) + SourceIndex(0) +2 >Emitted(8, 11) Source(16, 26) + SourceIndex(0) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(9, 5) Source(17, 24) + SourceIndex(0) +2 >Emitted(9, 6) Source(17, 25) + SourceIndex(0) +3 >Emitted(9, 8) Source(18, 31) + SourceIndex(0) +4 >Emitted(9, 14) Source(18, 37) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(12, 5) Source(21, 20) + SourceIndex(0) +2 >Emitted(12, 11) Source(21, 33) + SourceIndex(0) +3 >Emitted(12, 12) Source(21, 34) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 38) + SourceIndex(0) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(14, 5) Source(22, 20) + SourceIndex(0) +2 >Emitted(14, 14) Source(22, 36) + SourceIndex(0) +3 >Emitted(14, 17) Source(22, 39) + SourceIndex(0) +4 >Emitted(14, 26) Source(22, 44) + SourceIndex(0) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(15, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(15, 15) Source(23, 37) + SourceIndex(0) +3 >Emitted(15, 28) Source(23, 50) + SourceIndex(0) +4 >Emitted(15, 29) Source(23, 51) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 53) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 66) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 70) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 72) + SourceIndex(0) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(19, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(19, 15) Source(24, 37) + SourceIndex(0) +3 >Emitted(19, 24) Source(24, 46) + SourceIndex(0) +4 >Emitted(19, 25) Source(24, 47) + SourceIndex(0) +5 >Emitted(19, 34) Source(24, 56) + SourceIndex(0) +6 >Emitted(19, 35) Source(24, 57) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 59) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 72) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 81) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 84) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 86) + SourceIndex(0) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(23, 5) Source(25, 20) + SourceIndex(0) +2 >Emitted(23, 11) Source(25, 26) + SourceIndex(0) +3 >Emitted(23, 19) Source(25, 34) + SourceIndex(0) +4 >Emitted(23, 29) Source(25, 44) + SourceIndex(0) +5 >Emitted(23, 32) Source(25, 47) + SourceIndex(0) +6 >Emitted(23, 45) Source(25, 60) + SourceIndex(0) +7 >Emitted(23, 46) Source(25, 61) + SourceIndex(0) +8 >Emitted(23, 47) Source(25, 62) + SourceIndex(0) +9 >Emitted(23, 48) Source(25, 63) + SourceIndex(0) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(24, 5) Source(26, 20) + SourceIndex(0) +2 >Emitted(24, 10) Source(26, 32) + SourceIndex(0) +3 >Emitted(24, 22) Source(26, 44) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 47) + SourceIndex(0) +5 >Emitted(24, 34) Source(26, 56) + SourceIndex(0) +6 >Emitted(24, 35) Source(26, 57) + SourceIndex(0) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(25, 5) Source(27, 27) + SourceIndex(0) +2 >Emitted(25, 11) Source(27, 33) + SourceIndex(0) +3 >Emitted(25, 24) Source(27, 46) + SourceIndex(0) +4 >Emitted(25, 29) Source(27, 51) + SourceIndex(0) +5 >Emitted(25, 30) Source(27, 52) + SourceIndex(0) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(26, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(26, 10) Source(28, 32) + SourceIndex(0) +3 >Emitted(26, 22) Source(28, 44) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 48) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 48) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 51) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 51) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 54) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 54) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 56) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(32, 1) Source(30, 16) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 22) + SourceIndex(0) +3 >Emitted(32, 24) Source(30, 31) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 34) + SourceIndex(0) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(34, 1) Source(31, 16) + SourceIndex(0) +2 >Emitted(34, 18) Source(31, 25) + SourceIndex(0) +3 >Emitted(34, 29) Source(31, 36) + SourceIndex(0) +4 >Emitted(34, 38) Source(31, 41) + SourceIndex(0) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(35, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(35, 19) Source(32, 26) + SourceIndex(0) +3 >Emitted(35, 36) Source(32, 43) + SourceIndex(0) +4 >Emitted(35, 37) Source(32, 44) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 46) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 59) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 68) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 71) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 73) + SourceIndex(0) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(39, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(39, 19) Source(33, 26) + SourceIndex(0) +3 >Emitted(39, 32) Source(33, 39) + SourceIndex(0) +4 >Emitted(39, 33) Source(33, 40) + SourceIndex(0) +5 >Emitted(39, 42) Source(33, 49) + SourceIndex(0) +6 >Emitted(39, 43) Source(33, 50) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 52) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 65) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 74) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 77) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 79) + SourceIndex(0) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(43, 1) Source(34, 16) + SourceIndex(0) +2 >Emitted(43, 8) Source(34, 23) + SourceIndex(0) +3 >Emitted(43, 22) Source(34, 37) + SourceIndex(0) +4 >Emitted(43, 25) Source(34, 40) + SourceIndex(0) +5 >Emitted(43, 42) Source(34, 57) + SourceIndex(0) +6 >Emitted(43, 43) Source(34, 58) + SourceIndex(0) +7 >Emitted(43, 52) Source(34, 67) + SourceIndex(0) +8 >Emitted(43, 53) Source(34, 68) + SourceIndex(0) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(44, 1) Source(35, 16) + SourceIndex(0) +2 >Emitted(44, 14) Source(35, 21) + SourceIndex(0) +3 >Emitted(44, 26) Source(35, 33) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 36) + SourceIndex(0) +5 >Emitted(44, 38) Source(35, 45) + SourceIndex(0) +6 >Emitted(44, 39) Source(35, 46) + SourceIndex(0) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(45, 1) Source(36, 16) + SourceIndex(0) +2 >Emitted(45, 9) Source(36, 16) + SourceIndex(0) +3 >Emitted(45, 15) Source(36, 22) + SourceIndex(0) +4 >Emitted(45, 28) Source(36, 35) + SourceIndex(0) +5 >Emitted(45, 33) Source(36, 40) + SourceIndex(0) +6 >Emitted(45, 34) Source(36, 41) + SourceIndex(0) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(46, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(46, 14) Source(37, 21) + SourceIndex(0) +3 >Emitted(46, 26) Source(37, 33) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 37) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 37) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 40) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 40) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 43) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 43) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(9, 5) Source(14, 20) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(10, 5) Source(14, 36) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 37) + SourceIndex(0) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(11, 5) Source(16, 20) + SourceIndex(0) +2 >Emitted(11, 29) Source(16, 26) + SourceIndex(0) +3 >Emitted(11, 32) Source(16, 20) + SourceIndex(0) +4 >Emitted(11, 46) Source(16, 31) + SourceIndex(0) +5 >Emitted(11, 47) Source(16, 32) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(12, 5) Source(17, 20) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 24) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 25) + SourceIndex(0) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(13, 14) Source(17, 20) + SourceIndex(0) +2 >Emitted(13, 28) Source(17, 30) + SourceIndex(0) +3 >Emitted(13, 35) Source(17, 37) + SourceIndex(0) +4 >Emitted(13, 37) Source(17, 39) + SourceIndex(0) +5 >Emitted(13, 38) Source(17, 40) + SourceIndex(0) +6 >Emitted(13, 39) Source(17, 41) + SourceIndex(0) +7 >Emitted(13, 40) Source(17, 42) + SourceIndex(0) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(14, 14) Source(18, 20) + SourceIndex(0) +2 >Emitted(14, 24) Source(18, 26) + SourceIndex(0) +3 >Emitted(14, 27) Source(18, 37) + SourceIndex(0) +4 >Emitted(14, 31) Source(18, 41) + SourceIndex(0) +5 >Emitted(14, 32) Source(18, 42) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 42) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(22, 5) Source(21, 20) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 20) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 38) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 38) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 37) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 38) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 20) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 38) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 33) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 34) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 38) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 38) + SourceIndex(0) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(28, 5) Source(22, 20) + SourceIndex(0) +2 >Emitted(28, 14) Source(22, 36) + SourceIndex(0) +3 >Emitted(28, 17) Source(22, 39) + SourceIndex(0) +4 >Emitted(28, 22) Source(22, 43) + SourceIndex(0) +5 >Emitted(28, 23) Source(22, 44) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(29, 5) Source(22, 36) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 39) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 44) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 44) + SourceIndex(0) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(30, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(30, 9) Source(23, 37) + SourceIndex(0) +3 >Emitted(30, 22) Source(23, 50) + SourceIndex(0) +4 >Emitted(30, 23) Source(23, 72) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(31, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 37) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 50) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 53) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 53) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 70) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 69) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 70) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 53) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 70) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 66) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 67) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 70) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 70) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 71) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 72) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 37) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 50) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 37) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 50) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 37) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 50) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 72) + SourceIndex(0) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(39, 9) Source(24, 37) + SourceIndex(0) +3 >Emitted(39, 18) Source(24, 46) + SourceIndex(0) +4 >Emitted(39, 19) Source(24, 86) + SourceIndex(0) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(40, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 37) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 46) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 47) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 56) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 86) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 47) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 56) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 59) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 59) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 84) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 84) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 83) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 84) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 59) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 84) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 72) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 81) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 84) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 84) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 85) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 86) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 47) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 56) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 47) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 56) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 47) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 56) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 86) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 85) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 86) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 37) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 46) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 37) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 46) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 37) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 46) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 86) + SourceIndex(0) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(51, 5) Source(25, 34) + SourceIndex(0) +2 >Emitted(51, 23) Source(25, 44) + SourceIndex(0) +3 >Emitted(51, 26) Source(25, 47) + SourceIndex(0) +4 >Emitted(51, 39) Source(25, 60) + SourceIndex(0) +5 >Emitted(51, 40) Source(25, 61) + SourceIndex(0) +6 >Emitted(51, 41) Source(25, 62) + SourceIndex(0) +7 >Emitted(51, 42) Source(25, 63) + SourceIndex(0) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(52, 5) Source(27, 33) + SourceIndex(0) +2 >Emitted(52, 26) Source(27, 46) + SourceIndex(0) +3 >Emitted(52, 29) Source(27, 49) + SourceIndex(0) +4 >Emitted(52, 31) Source(27, 51) + SourceIndex(0) +5 >Emitted(52, 32) Source(27, 52) + SourceIndex(0) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(53, 9) Source(28, 32) + SourceIndex(0) +3 >Emitted(53, 21) Source(28, 56) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(54, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 32) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 44) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 48) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 48) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 51) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 51) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 54) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 54) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 55) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 56) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 32) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 44) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 32) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 44) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 32) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 44) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 56) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(60, 1) Source(30, 16) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 16) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 34) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 34) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 33) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 34) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 16) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 34) + SourceIndex(0) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(65, 1) Source(31, 16) + SourceIndex(0) +2 >Emitted(65, 10) Source(31, 25) + SourceIndex(0) +3 >Emitted(65, 21) Source(31, 36) + SourceIndex(0) +4 >Emitted(65, 26) Source(31, 40) + SourceIndex(0) +5 >Emitted(65, 27) Source(31, 41) + SourceIndex(0) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(66, 5) Source(32, 26) + SourceIndex(0) +3 >Emitted(66, 22) Source(32, 43) + SourceIndex(0) +4 >Emitted(66, 23) Source(32, 73) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(67, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 26) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 43) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 46) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 46) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 71) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 71) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 70) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 71) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 46) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 71) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 59) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 68) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 71) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 71) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 72) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 73) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 26) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 43) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 26) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 43) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 73) + SourceIndex(0) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(75, 5) Source(33, 26) + SourceIndex(0) +3 >Emitted(75, 18) Source(33, 39) + SourceIndex(0) +4 >Emitted(75, 19) Source(33, 79) + SourceIndex(0) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(76, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 26) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 39) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 40) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 49) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 79) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 40) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 49) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 52) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 77) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 77) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 76) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 77) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 52) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 77) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 65) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 74) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 77) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 77) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 78) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 79) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 40) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 49) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 40) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 49) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 40) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 49) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 79) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 78) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 79) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 26) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 39) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 26) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 39) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 79) + SourceIndex(0) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(87, 1) Source(34, 16) + SourceIndex(0) +2 >Emitted(87, 5) Source(34, 23) + SourceIndex(0) +3 >Emitted(87, 19) Source(34, 37) + SourceIndex(0) +4 >Emitted(87, 22) Source(34, 40) + SourceIndex(0) +5 >Emitted(87, 39) Source(34, 57) + SourceIndex(0) +6 >Emitted(87, 40) Source(34, 58) + SourceIndex(0) +7 >Emitted(87, 49) Source(34, 67) + SourceIndex(0) +8 >Emitted(87, 50) Source(34, 68) + SourceIndex(0) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(88, 1) Source(36, 16) + SourceIndex(0) +2 >Emitted(88, 5) Source(36, 22) + SourceIndex(0) +3 >Emitted(88, 18) Source(36, 35) + SourceIndex(0) +4 >Emitted(88, 21) Source(36, 38) + SourceIndex(0) +5 >Emitted(88, 23) Source(36, 40) + SourceIndex(0) +6 >Emitted(88, 24) Source(36, 41) + SourceIndex(0) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(89, 5) Source(37, 21) + SourceIndex(0) +3 >Emitted(89, 17) Source(37, 45) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(90, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 21) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 33) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 37) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 37) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 40) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 40) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 43) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 43) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 44) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 45) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 21) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 33) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 21) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 33) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + }, + { + "pos": 110, + "end": 150, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + }, + { + "pos": 157, + "end": 199, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (110-150) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (157-199) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /**@internal*/ constructor() { } + /**@internal*/ prop: string; + /**@internal*/ method() { } + /**@internal*/ get c() { return 10; } + /**@internal*/ set c(val: number) { } +} +namespace normalN { + /**@internal*/ export class C { } + /**@internal*/ export function foo() {} + /**@internal*/ export namespace someNamespace { export class C {} } + /**@internal*/ export namespace someOther.something { export class someClass {} } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ export type internalType = internalC; + /**@internal*/ export const internalConst = 10; + /**@internal*/ export enum internalEnum { a, b, c } +} +/**@internal*/ class internalC {} +/**@internal*/ function internalfoo() {} +/**@internal*/ namespace internalNamespace { export class someClass {} } +/**@internal*/ namespace internalOther.something { export class someClass {} } +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ type internalType = internalC; +/**@internal*/ const internalConst = 10; +/**@internal*/ enum internalEnum { a, b, c } + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 150, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 152, + "end": 3245, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3247, + "end": 3283, + "kind": "text" + }, + { + "pos": 3283, + "end": 3323, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 199, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 201, + "end": 1289, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1291, + "end": 1310, + "kind": "text" + }, + { + "pos": 1310, + "end": 1352, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-150):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (152-3245):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3247-3283) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3283-3323) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-199):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (201-1289):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1291-1310) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1310-1352) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 20) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 24) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 26) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 32) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 33) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 20) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 26) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 24) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 25) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 31) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 20) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 33) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 20) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 36) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 39) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 44) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 20) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 37) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 50) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 20) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 37) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 46) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 47) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 56) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 20) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 26) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 34) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 44) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 47) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 60) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 61) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 62) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 63) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 20) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 32) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 44) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 47) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 56) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 57) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 27) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 33) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 46) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 51) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 52) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 20) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 32) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 16) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 22) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 16) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 25) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 36) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 41) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 16) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 26) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 43) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 16) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 26) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 39) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 40) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 49) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 16) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 23) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 37) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 40) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 57) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 58) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 67) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 68) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 16) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 21) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 33) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 36) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 45) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 46) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 16) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 16) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 22) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 35) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 40) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 41) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 16) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 21) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(16, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(29, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(67, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js new file mode 100644 index 00000000000..7ce03c2cf2f --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -0,0 +1,6318 @@ +//// [/src/2/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/second/", + "js": { + "sections": [ + { + "pos": 0, + "end": 3434, + "kind": "text" + }, + { + "pos": 3434, + "end": 3475, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 1360, + "kind": "text" + }, + { + "pos": 1360, + "end": 1403, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/2/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-3434) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +sourceMapUrl: (3434-3475) +//# sourceMappingURL=second-output.js.map +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-1360) +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +sourceMapUrl: (1360-1403) +//# sourceMappingURL=second-output.d.ts.map +====================================================================== + +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,gBAAK,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^-> +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> /**@internal*/ constructor(); +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^-> +1-> { + > +2 > /**@internal*/ +1->Emitted(6, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(6, 19) Source(14, 19) + SourceIndex(0) +--- +>>> /**@internal*/ prop: string; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^ +6 > ^^^^^^ +7 > ^ +8 > ^^^-> +1-> constructor() { } + > +2 > /**@internal*/ +3 > +4 > prop +5 > : +6 > string +7 > ; +1->Emitted(7, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(7, 19) Source(15, 19) + SourceIndex(0) +3 >Emitted(7, 20) Source(15, 20) + SourceIndex(0) +4 >Emitted(7, 24) Source(15, 24) + SourceIndex(0) +5 >Emitted(7, 26) Source(15, 26) + SourceIndex(0) +6 >Emitted(7, 32) Source(15, 32) + SourceIndex(0) +7 >Emitted(7, 33) Source(15, 33) + SourceIndex(0) +--- +>>> /**@internal*/ method(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > method +1->Emitted(8, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(8, 19) Source(16, 19) + SourceIndex(0) +3 >Emitted(8, 20) Source(16, 20) + SourceIndex(0) +4 >Emitted(8, 26) Source(16, 26) + SourceIndex(0) +--- +>>> /**@internal*/ /**@internal*/ c: number; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^ +6 > ^^^^^^ +1->() { } + > +2 > /**@internal*/ +3 > get +4 > c +5 > () { return 10; } + > /**@internal*/ set c(val: +6 > number +1->Emitted(9, 5) Source(17, 5) + SourceIndex(0) +2 >Emitted(9, 19) Source(17, 19) + SourceIndex(0) +3 >Emitted(9, 35) Source(17, 24) + SourceIndex(0) +4 >Emitted(9, 36) Source(17, 25) + SourceIndex(0) +5 >Emitted(9, 38) Source(18, 31) + SourceIndex(0) +6 >Emitted(9, 44) Source(18, 37) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^-> +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> /**@internal*/ class C { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +1->{ + > +2 > /**@internal*/ +3 > +4 > export class +5 > C +1->Emitted(12, 5) Source(21, 5) + SourceIndex(0) +2 >Emitted(12, 19) Source(21, 19) + SourceIndex(0) +3 >Emitted(12, 20) Source(21, 20) + SourceIndex(0) +4 >Emitted(12, 26) Source(21, 33) + SourceIndex(0) +5 >Emitted(12, 27) Source(21, 34) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 38) + SourceIndex(0) +--- +>>> /**@internal*/ function foo(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^ +7 > ^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () {} +1->Emitted(14, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(14, 19) Source(22, 19) + SourceIndex(0) +3 >Emitted(14, 20) Source(22, 20) + SourceIndex(0) +4 >Emitted(14, 29) Source(22, 36) + SourceIndex(0) +5 >Emitted(14, 32) Source(22, 39) + SourceIndex(0) +6 >Emitted(14, 41) Source(22, 44) + SourceIndex(0) +--- +>>> /**@internal*/ namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > +1->Emitted(15, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(15, 19) Source(23, 19) + SourceIndex(0) +3 >Emitted(15, 20) Source(23, 20) + SourceIndex(0) +4 >Emitted(15, 30) Source(23, 37) + SourceIndex(0) +5 >Emitted(15, 43) Source(23, 50) + SourceIndex(0) +6 >Emitted(15, 44) Source(23, 51) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 53) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 66) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 70) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 72) + SourceIndex(0) +--- +>>> /**@internal*/ namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > . +7 > something +8 > +1->Emitted(19, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(19, 19) Source(24, 19) + SourceIndex(0) +3 >Emitted(19, 20) Source(24, 20) + SourceIndex(0) +4 >Emitted(19, 30) Source(24, 37) + SourceIndex(0) +5 >Emitted(19, 39) Source(24, 46) + SourceIndex(0) +6 >Emitted(19, 40) Source(24, 47) + SourceIndex(0) +7 >Emitted(19, 49) Source(24, 56) + SourceIndex(0) +8 >Emitted(19, 50) Source(24, 57) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 59) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 72) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 81) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 84) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 86) + SourceIndex(0) +--- +>>> /**@internal*/ export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^ +6 > ^^^^^^^^^^ +7 > ^^^ +8 > ^^^^^^^^^^^^^ +9 > ^ +10> ^ +11> ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export +5 > import +6 > someImport +7 > = +8 > someNamespace +9 > . +10> C +11> ; +1->Emitted(23, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(23, 19) Source(25, 19) + SourceIndex(0) +3 >Emitted(23, 20) Source(25, 20) + SourceIndex(0) +4 >Emitted(23, 26) Source(25, 26) + SourceIndex(0) +5 >Emitted(23, 34) Source(25, 34) + SourceIndex(0) +6 >Emitted(23, 44) Source(25, 44) + SourceIndex(0) +7 >Emitted(23, 47) Source(25, 47) + SourceIndex(0) +8 >Emitted(23, 60) Source(25, 60) + SourceIndex(0) +9 >Emitted(23, 61) Source(25, 61) + SourceIndex(0) +10>Emitted(23, 62) Source(25, 62) + SourceIndex(0) +11>Emitted(23, 63) Source(25, 63) + SourceIndex(0) +--- +>>> /**@internal*/ type internalType = internalC; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(24, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(24, 19) Source(26, 19) + SourceIndex(0) +3 >Emitted(24, 20) Source(26, 20) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 32) + SourceIndex(0) +5 >Emitted(24, 37) Source(26, 44) + SourceIndex(0) +6 >Emitted(24, 40) Source(26, 47) + SourceIndex(0) +7 >Emitted(24, 49) Source(26, 56) + SourceIndex(0) +8 >Emitted(24, 50) Source(26, 57) + SourceIndex(0) +--- +>>> /**@internal*/ const internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > export +4 > const +5 > internalConst +6 > = 10 +7 > ; +1 >Emitted(25, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(25, 19) Source(27, 19) + SourceIndex(0) +3 >Emitted(25, 20) Source(27, 27) + SourceIndex(0) +4 >Emitted(25, 26) Source(27, 33) + SourceIndex(0) +5 >Emitted(25, 39) Source(27, 46) + SourceIndex(0) +6 >Emitted(25, 44) Source(27, 51) + SourceIndex(0) +7 >Emitted(25, 45) Source(27, 52) + SourceIndex(0) +--- +>>> /**@internal*/ enum internalEnum { +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum +1 >Emitted(26, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(26, 19) Source(28, 19) + SourceIndex(0) +3 >Emitted(26, 20) Source(28, 20) + SourceIndex(0) +4 >Emitted(26, 25) Source(28, 32) + SourceIndex(0) +5 >Emitted(26, 37) Source(28, 44) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 48) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 48) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 51) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 51) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 54) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 54) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 56) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>/**@internal*/ declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^^^ +1-> + > +2 >/**@internal*/ +3 > +4 > class +5 > internalC +1->Emitted(32, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 15) + SourceIndex(0) +3 >Emitted(32, 16) Source(30, 16) + SourceIndex(0) +4 >Emitted(32, 30) Source(30, 22) + SourceIndex(0) +5 >Emitted(32, 39) Source(30, 31) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 34) + SourceIndex(0) +--- +>>>/**@internal*/ declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^^^^^ +7 > ^-> +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () {} +1->Emitted(34, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(34, 15) Source(31, 15) + SourceIndex(0) +3 >Emitted(34, 16) Source(31, 16) + SourceIndex(0) +4 >Emitted(34, 33) Source(31, 25) + SourceIndex(0) +5 >Emitted(34, 44) Source(31, 36) + SourceIndex(0) +6 >Emitted(34, 53) Source(31, 41) + SourceIndex(0) +--- +>>>/**@internal*/ declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > +1->Emitted(35, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(35, 15) Source(32, 15) + SourceIndex(0) +3 >Emitted(35, 16) Source(32, 16) + SourceIndex(0) +4 >Emitted(35, 34) Source(32, 26) + SourceIndex(0) +5 >Emitted(35, 51) Source(32, 43) + SourceIndex(0) +6 >Emitted(35, 52) Source(32, 44) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 46) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 59) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 68) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 71) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 73) + SourceIndex(0) +--- +>>>/**@internal*/ declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > . +7 > something +8 > +1->Emitted(39, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(39, 15) Source(33, 15) + SourceIndex(0) +3 >Emitted(39, 16) Source(33, 16) + SourceIndex(0) +4 >Emitted(39, 34) Source(33, 26) + SourceIndex(0) +5 >Emitted(39, 47) Source(33, 39) + SourceIndex(0) +6 >Emitted(39, 48) Source(33, 40) + SourceIndex(0) +7 >Emitted(39, 57) Source(33, 49) + SourceIndex(0) +8 >Emitted(39, 58) Source(33, 50) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 52) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 65) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 74) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 77) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 79) + SourceIndex(0) +--- +>>>/**@internal*/ import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(43, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(43, 15) Source(34, 15) + SourceIndex(0) +3 >Emitted(43, 16) Source(34, 16) + SourceIndex(0) +4 >Emitted(43, 23) Source(34, 23) + SourceIndex(0) +5 >Emitted(43, 37) Source(34, 37) + SourceIndex(0) +6 >Emitted(43, 40) Source(34, 40) + SourceIndex(0) +7 >Emitted(43, 57) Source(34, 57) + SourceIndex(0) +8 >Emitted(43, 58) Source(34, 58) + SourceIndex(0) +9 >Emitted(43, 67) Source(34, 67) + SourceIndex(0) +10>Emitted(43, 68) Source(34, 68) + SourceIndex(0) +--- +>>>/**@internal*/ declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(44, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(44, 15) Source(35, 15) + SourceIndex(0) +3 >Emitted(44, 16) Source(35, 16) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 21) + SourceIndex(0) +5 >Emitted(44, 41) Source(35, 33) + SourceIndex(0) +6 >Emitted(44, 44) Source(35, 36) + SourceIndex(0) +7 >Emitted(44, 53) Source(35, 45) + SourceIndex(0) +8 >Emitted(44, 54) Source(35, 46) + SourceIndex(0) +--- +>>>/**@internal*/ declare const internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > +5 > const +6 > internalConst +7 > = 10 +8 > ; +1 >Emitted(45, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(45, 15) Source(36, 15) + SourceIndex(0) +3 >Emitted(45, 16) Source(36, 16) + SourceIndex(0) +4 >Emitted(45, 24) Source(36, 16) + SourceIndex(0) +5 >Emitted(45, 30) Source(36, 22) + SourceIndex(0) +6 >Emitted(45, 43) Source(36, 35) + SourceIndex(0) +7 >Emitted(45, 48) Source(36, 40) + SourceIndex(0) +8 >Emitted(45, 49) Source(36, 41) + SourceIndex(0) +--- +>>>/**@internal*/ declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum +1 >Emitted(46, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(46, 15) Source(37, 15) + SourceIndex(0) +3 >Emitted(46, 16) Source(37, 16) + SourceIndex(0) +4 >Emitted(46, 29) Source(37, 21) + SourceIndex(0) +5 >Emitted(46, 41) Source(37, 33) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 37) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 37) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 40) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 40) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 43) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 43) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(9, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(9, 19) Source(14, 19) + SourceIndex(0) +3 >Emitted(9, 20) Source(14, 20) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(10, 5) Source(14, 36) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 37) + SourceIndex(0) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(11, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(11, 19) Source(16, 19) + SourceIndex(0) +3 >Emitted(11, 20) Source(16, 20) + SourceIndex(0) +4 >Emitted(11, 44) Source(16, 26) + SourceIndex(0) +5 >Emitted(11, 47) Source(16, 20) + SourceIndex(0) +6 >Emitted(11, 61) Source(16, 31) + SourceIndex(0) +7 >Emitted(11, 62) Source(16, 32) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(12, 5) Source(17, 20) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 24) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 25) + SourceIndex(0) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(13, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(13, 23) Source(17, 19) + SourceIndex(0) +3 >Emitted(13, 29) Source(17, 20) + SourceIndex(0) +4 >Emitted(13, 43) Source(17, 30) + SourceIndex(0) +5 >Emitted(13, 50) Source(17, 37) + SourceIndex(0) +6 >Emitted(13, 52) Source(17, 39) + SourceIndex(0) +7 >Emitted(13, 53) Source(17, 40) + SourceIndex(0) +8 >Emitted(13, 54) Source(17, 41) + SourceIndex(0) +9 >Emitted(13, 55) Source(17, 42) + SourceIndex(0) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(14, 9) Source(18, 5) + SourceIndex(0) +2 >Emitted(14, 23) Source(18, 19) + SourceIndex(0) +3 >Emitted(14, 29) Source(18, 20) + SourceIndex(0) +4 >Emitted(14, 39) Source(18, 26) + SourceIndex(0) +5 >Emitted(14, 42) Source(18, 37) + SourceIndex(0) +6 >Emitted(14, 46) Source(18, 41) + SourceIndex(0) +7 >Emitted(14, 47) Source(18, 42) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 42) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(22, 5) Source(21, 5) + SourceIndex(0) +2 >Emitted(22, 19) Source(21, 19) + SourceIndex(0) +3 >Emitted(22, 20) Source(21, 20) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 20) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 38) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 38) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 37) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 38) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 20) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 38) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 33) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 34) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 38) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 38) + SourceIndex(0) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(28, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(28, 19) Source(22, 19) + SourceIndex(0) +3 >Emitted(28, 20) Source(22, 20) + SourceIndex(0) +4 >Emitted(28, 29) Source(22, 36) + SourceIndex(0) +5 >Emitted(28, 32) Source(22, 39) + SourceIndex(0) +6 >Emitted(28, 37) Source(22, 43) + SourceIndex(0) +7 >Emitted(28, 38) Source(22, 44) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(29, 5) Source(22, 36) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 39) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 44) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 44) + SourceIndex(0) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(30, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(30, 19) Source(23, 19) + SourceIndex(0) +3 >Emitted(30, 20) Source(23, 20) + SourceIndex(0) +4 >Emitted(30, 24) Source(23, 37) + SourceIndex(0) +5 >Emitted(30, 37) Source(23, 50) + SourceIndex(0) +6 >Emitted(30, 38) Source(23, 72) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(31, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 37) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 50) + SourceIndex(0) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 53) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 53) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 70) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 69) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 70) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 53) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 70) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 66) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 67) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 70) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 70) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 71) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 72) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 37) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 50) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 37) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 50) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 37) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 50) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 72) + SourceIndex(0) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(39, 19) Source(24, 19) + SourceIndex(0) +3 >Emitted(39, 20) Source(24, 20) + SourceIndex(0) +4 >Emitted(39, 24) Source(24, 37) + SourceIndex(0) +5 >Emitted(39, 33) Source(24, 46) + SourceIndex(0) +6 >Emitted(39, 34) Source(24, 86) + SourceIndex(0) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(40, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 37) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 46) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 47) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 56) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 86) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 47) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 56) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 59) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 59) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 84) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 84) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 83) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 84) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 59) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 84) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 72) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 81) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 84) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 84) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 85) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 86) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 47) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 56) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 47) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 56) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 47) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 56) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 86) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 85) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 86) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 37) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 46) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 37) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 46) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 37) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 46) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 86) + SourceIndex(0) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(51, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(51, 19) Source(25, 19) + SourceIndex(0) +3 >Emitted(51, 20) Source(25, 34) + SourceIndex(0) +4 >Emitted(51, 38) Source(25, 44) + SourceIndex(0) +5 >Emitted(51, 41) Source(25, 47) + SourceIndex(0) +6 >Emitted(51, 54) Source(25, 60) + SourceIndex(0) +7 >Emitted(51, 55) Source(25, 61) + SourceIndex(0) +8 >Emitted(51, 56) Source(25, 62) + SourceIndex(0) +9 >Emitted(51, 57) Source(25, 63) + SourceIndex(0) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(52, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(52, 19) Source(27, 19) + SourceIndex(0) +3 >Emitted(52, 20) Source(27, 33) + SourceIndex(0) +4 >Emitted(52, 41) Source(27, 46) + SourceIndex(0) +5 >Emitted(52, 44) Source(27, 49) + SourceIndex(0) +6 >Emitted(52, 46) Source(27, 51) + SourceIndex(0) +7 >Emitted(52, 47) Source(27, 52) + SourceIndex(0) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(53, 19) Source(28, 19) + SourceIndex(0) +3 >Emitted(53, 20) Source(28, 20) + SourceIndex(0) +4 >Emitted(53, 24) Source(28, 32) + SourceIndex(0) +5 >Emitted(53, 36) Source(28, 56) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(54, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 32) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 44) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 48) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 48) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 51) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 51) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 54) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 54) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 55) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 56) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 32) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 44) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 32) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 44) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 32) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 44) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 56) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(60, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(60, 15) Source(30, 15) + SourceIndex(0) +3 >Emitted(60, 16) Source(30, 16) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 16) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 34) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 34) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 33) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 34) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 16) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 34) + SourceIndex(0) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(65, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(65, 15) Source(31, 15) + SourceIndex(0) +3 >Emitted(65, 16) Source(31, 16) + SourceIndex(0) +4 >Emitted(65, 25) Source(31, 25) + SourceIndex(0) +5 >Emitted(65, 36) Source(31, 36) + SourceIndex(0) +6 >Emitted(65, 41) Source(31, 40) + SourceIndex(0) +7 >Emitted(65, 42) Source(31, 41) + SourceIndex(0) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(66, 15) Source(32, 15) + SourceIndex(0) +3 >Emitted(66, 16) Source(32, 16) + SourceIndex(0) +4 >Emitted(66, 20) Source(32, 26) + SourceIndex(0) +5 >Emitted(66, 37) Source(32, 43) + SourceIndex(0) +6 >Emitted(66, 38) Source(32, 73) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(67, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 26) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 43) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 46) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 46) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 71) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 71) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 70) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 71) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 46) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 71) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 59) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 68) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 71) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 71) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 72) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 73) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 26) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 43) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 26) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 43) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 73) + SourceIndex(0) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(75, 15) Source(33, 15) + SourceIndex(0) +3 >Emitted(75, 16) Source(33, 16) + SourceIndex(0) +4 >Emitted(75, 20) Source(33, 26) + SourceIndex(0) +5 >Emitted(75, 33) Source(33, 39) + SourceIndex(0) +6 >Emitted(75, 34) Source(33, 79) + SourceIndex(0) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(76, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 26) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 39) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 40) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 49) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 79) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 40) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 49) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 52) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 77) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 77) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 76) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 77) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 52) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 77) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 65) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 74) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 77) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 77) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 78) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 79) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 40) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 49) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 40) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 49) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 40) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 49) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 79) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 78) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 79) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 26) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 39) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 26) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 39) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 79) + SourceIndex(0) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(87, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(87, 15) Source(34, 15) + SourceIndex(0) +3 >Emitted(87, 16) Source(34, 16) + SourceIndex(0) +4 >Emitted(87, 20) Source(34, 23) + SourceIndex(0) +5 >Emitted(87, 34) Source(34, 37) + SourceIndex(0) +6 >Emitted(87, 37) Source(34, 40) + SourceIndex(0) +7 >Emitted(87, 54) Source(34, 57) + SourceIndex(0) +8 >Emitted(87, 55) Source(34, 58) + SourceIndex(0) +9 >Emitted(87, 64) Source(34, 67) + SourceIndex(0) +10>Emitted(87, 65) Source(34, 68) + SourceIndex(0) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(88, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(88, 15) Source(36, 15) + SourceIndex(0) +3 >Emitted(88, 16) Source(36, 16) + SourceIndex(0) +4 >Emitted(88, 20) Source(36, 22) + SourceIndex(0) +5 >Emitted(88, 33) Source(36, 35) + SourceIndex(0) +6 >Emitted(88, 36) Source(36, 38) + SourceIndex(0) +7 >Emitted(88, 38) Source(36, 40) + SourceIndex(0) +8 >Emitted(88, 39) Source(36, 41) + SourceIndex(0) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(89, 15) Source(37, 15) + SourceIndex(0) +3 >Emitted(89, 16) Source(37, 16) + SourceIndex(0) +4 >Emitted(89, 20) Source(37, 21) + SourceIndex(0) +5 >Emitted(89, 32) Source(37, 45) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(90, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 21) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 33) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 37) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 37) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 40) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 40) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 43) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 43) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 44) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 45) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 21) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 33) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 21) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 33) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + }, + { + "pos": 110, + "end": 150, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 172, + "kind": "text" + }, + { + "pos": 172, + "end": 214, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (110-150) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-172) +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (172-214) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/first/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "outFile": "./bin/first-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "first_PART1.ts", + "first_part2.ts", + "first_part3.ts" + ], + "references": [ + ] +} + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /**@internal*/ constructor() { } + /**@internal*/ prop: string; + /**@internal*/ method() { } + /**@internal*/ get c() { return 10; } + /**@internal*/ set c(val: number) { } +} +namespace normalN { + /**@internal*/ export class C { } + /**@internal*/ export function foo() {} + /**@internal*/ export namespace someNamespace { export class C {} } + /**@internal*/ export namespace someOther.something { export class someClass {} } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ export type internalType = internalC; + /**@internal*/ export const internalConst = 10; + /**@internal*/ export enum internalEnum { a, b, c } +} +/**@internal*/ class internalC {} +/**@internal*/ function internalfoo() {} +/**@internal*/ namespace internalNamespace { export class someClass {} } +/**@internal*/ namespace internalOther.something { export class someClass {} } +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ type internalType = internalC; +/**@internal*/ const internalConst = 10; +/**@internal*/ enum internalEnum { a, b, c } + +//// [/src/second/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, + "outFile": "../2/second-output.js", + "skipDefaultLibCheck": true + }, + "references": [ + ] +} + + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 150, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 152, + "end": 3627, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3629, + "end": 3665, + "kind": "text" + }, + { + "pos": 3665, + "end": 3705, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 214, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 216, + "end": 1619, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1621, + "end": 1640, + "kind": "text" + }, + { + "pos": 1640, + "end": 1682, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-150):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (152-3627):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3629-3665) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3665-3705) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-214):: /src/first/bin/first-output.d.ts +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (216-1619):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1621-1640) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1640-1682) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,gBAAK,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^-> +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> /**@internal*/ constructor(); +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^-> +1-> { + > +2 > /**@internal*/ +1->Emitted(15, 5) Source(14, 5) + SourceIndex(2) +2 >Emitted(15, 19) Source(14, 19) + SourceIndex(2) +--- +>>> /**@internal*/ prop: string; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^ +6 > ^^^^^^ +7 > ^ +8 > ^^^-> +1-> constructor() { } + > +2 > /**@internal*/ +3 > +4 > prop +5 > : +6 > string +7 > ; +1->Emitted(16, 5) Source(15, 5) + SourceIndex(2) +2 >Emitted(16, 19) Source(15, 19) + SourceIndex(2) +3 >Emitted(16, 20) Source(15, 20) + SourceIndex(2) +4 >Emitted(16, 24) Source(15, 24) + SourceIndex(2) +5 >Emitted(16, 26) Source(15, 26) + SourceIndex(2) +6 >Emitted(16, 32) Source(15, 32) + SourceIndex(2) +7 >Emitted(16, 33) Source(15, 33) + SourceIndex(2) +--- +>>> /**@internal*/ method(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > method +1->Emitted(17, 5) Source(16, 5) + SourceIndex(2) +2 >Emitted(17, 19) Source(16, 19) + SourceIndex(2) +3 >Emitted(17, 20) Source(16, 20) + SourceIndex(2) +4 >Emitted(17, 26) Source(16, 26) + SourceIndex(2) +--- +>>> /**@internal*/ /**@internal*/ c: number; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^ +6 > ^^^^^^ +1->() { } + > +2 > /**@internal*/ +3 > get +4 > c +5 > () { return 10; } + > /**@internal*/ set c(val: +6 > number +1->Emitted(18, 5) Source(17, 5) + SourceIndex(2) +2 >Emitted(18, 19) Source(17, 19) + SourceIndex(2) +3 >Emitted(18, 35) Source(17, 24) + SourceIndex(2) +4 >Emitted(18, 36) Source(17, 25) + SourceIndex(2) +5 >Emitted(18, 38) Source(18, 31) + SourceIndex(2) +6 >Emitted(18, 44) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^-> +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> /**@internal*/ class C { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +1->{ + > +2 > /**@internal*/ +3 > +4 > export class +5 > C +1->Emitted(21, 5) Source(21, 5) + SourceIndex(2) +2 >Emitted(21, 19) Source(21, 19) + SourceIndex(2) +3 >Emitted(21, 20) Source(21, 20) + SourceIndex(2) +4 >Emitted(21, 26) Source(21, 33) + SourceIndex(2) +5 >Emitted(21, 27) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> /**@internal*/ function foo(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^ +7 > ^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () {} +1->Emitted(23, 5) Source(22, 5) + SourceIndex(2) +2 >Emitted(23, 19) Source(22, 19) + SourceIndex(2) +3 >Emitted(23, 20) Source(22, 20) + SourceIndex(2) +4 >Emitted(23, 29) Source(22, 36) + SourceIndex(2) +5 >Emitted(23, 32) Source(22, 39) + SourceIndex(2) +6 >Emitted(23, 41) Source(22, 44) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > +1->Emitted(24, 5) Source(23, 5) + SourceIndex(2) +2 >Emitted(24, 19) Source(23, 19) + SourceIndex(2) +3 >Emitted(24, 20) Source(23, 20) + SourceIndex(2) +4 >Emitted(24, 30) Source(23, 37) + SourceIndex(2) +5 >Emitted(24, 43) Source(23, 50) + SourceIndex(2) +6 >Emitted(24, 44) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > . +7 > something +8 > +1->Emitted(28, 5) Source(24, 5) + SourceIndex(2) +2 >Emitted(28, 19) Source(24, 19) + SourceIndex(2) +3 >Emitted(28, 20) Source(24, 20) + SourceIndex(2) +4 >Emitted(28, 30) Source(24, 37) + SourceIndex(2) +5 >Emitted(28, 39) Source(24, 46) + SourceIndex(2) +6 >Emitted(28, 40) Source(24, 47) + SourceIndex(2) +7 >Emitted(28, 49) Source(24, 56) + SourceIndex(2) +8 >Emitted(28, 50) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> /**@internal*/ export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^ +6 > ^^^^^^^^^^ +7 > ^^^ +8 > ^^^^^^^^^^^^^ +9 > ^ +10> ^ +11> ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export +5 > import +6 > someImport +7 > = +8 > someNamespace +9 > . +10> C +11> ; +1->Emitted(32, 5) Source(25, 5) + SourceIndex(2) +2 >Emitted(32, 19) Source(25, 19) + SourceIndex(2) +3 >Emitted(32, 20) Source(25, 20) + SourceIndex(2) +4 >Emitted(32, 26) Source(25, 26) + SourceIndex(2) +5 >Emitted(32, 34) Source(25, 34) + SourceIndex(2) +6 >Emitted(32, 44) Source(25, 44) + SourceIndex(2) +7 >Emitted(32, 47) Source(25, 47) + SourceIndex(2) +8 >Emitted(32, 60) Source(25, 60) + SourceIndex(2) +9 >Emitted(32, 61) Source(25, 61) + SourceIndex(2) +10>Emitted(32, 62) Source(25, 62) + SourceIndex(2) +11>Emitted(32, 63) Source(25, 63) + SourceIndex(2) +--- +>>> /**@internal*/ type internalType = internalC; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(33, 5) Source(26, 5) + SourceIndex(2) +2 >Emitted(33, 19) Source(26, 19) + SourceIndex(2) +3 >Emitted(33, 20) Source(26, 20) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 32) + SourceIndex(2) +5 >Emitted(33, 37) Source(26, 44) + SourceIndex(2) +6 >Emitted(33, 40) Source(26, 47) + SourceIndex(2) +7 >Emitted(33, 49) Source(26, 56) + SourceIndex(2) +8 >Emitted(33, 50) Source(26, 57) + SourceIndex(2) +--- +>>> /**@internal*/ const internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > export +4 > const +5 > internalConst +6 > = 10 +7 > ; +1 >Emitted(34, 5) Source(27, 5) + SourceIndex(2) +2 >Emitted(34, 19) Source(27, 19) + SourceIndex(2) +3 >Emitted(34, 20) Source(27, 27) + SourceIndex(2) +4 >Emitted(34, 26) Source(27, 33) + SourceIndex(2) +5 >Emitted(34, 39) Source(27, 46) + SourceIndex(2) +6 >Emitted(34, 44) Source(27, 51) + SourceIndex(2) +7 >Emitted(34, 45) Source(27, 52) + SourceIndex(2) +--- +>>> /**@internal*/ enum internalEnum { +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum +1 >Emitted(35, 5) Source(28, 5) + SourceIndex(2) +2 >Emitted(35, 19) Source(28, 19) + SourceIndex(2) +3 >Emitted(35, 20) Source(28, 20) + SourceIndex(2) +4 >Emitted(35, 25) Source(28, 32) + SourceIndex(2) +5 >Emitted(35, 37) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>/**@internal*/ declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^^^ +1-> + > +2 >/**@internal*/ +3 > +4 > class +5 > internalC +1->Emitted(41, 1) Source(30, 1) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 15) + SourceIndex(2) +3 >Emitted(41, 16) Source(30, 16) + SourceIndex(2) +4 >Emitted(41, 30) Source(30, 22) + SourceIndex(2) +5 >Emitted(41, 39) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>/**@internal*/ declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^^^^^ +7 > ^-> +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () {} +1->Emitted(43, 1) Source(31, 1) + SourceIndex(2) +2 >Emitted(43, 15) Source(31, 15) + SourceIndex(2) +3 >Emitted(43, 16) Source(31, 16) + SourceIndex(2) +4 >Emitted(43, 33) Source(31, 25) + SourceIndex(2) +5 >Emitted(43, 44) Source(31, 36) + SourceIndex(2) +6 >Emitted(43, 53) Source(31, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > +1->Emitted(44, 1) Source(32, 1) + SourceIndex(2) +2 >Emitted(44, 15) Source(32, 15) + SourceIndex(2) +3 >Emitted(44, 16) Source(32, 16) + SourceIndex(2) +4 >Emitted(44, 34) Source(32, 26) + SourceIndex(2) +5 >Emitted(44, 51) Source(32, 43) + SourceIndex(2) +6 >Emitted(44, 52) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > . +7 > something +8 > +1->Emitted(48, 1) Source(33, 1) + SourceIndex(2) +2 >Emitted(48, 15) Source(33, 15) + SourceIndex(2) +3 >Emitted(48, 16) Source(33, 16) + SourceIndex(2) +4 >Emitted(48, 34) Source(33, 26) + SourceIndex(2) +5 >Emitted(48, 47) Source(33, 39) + SourceIndex(2) +6 >Emitted(48, 48) Source(33, 40) + SourceIndex(2) +7 >Emitted(48, 57) Source(33, 49) + SourceIndex(2) +8 >Emitted(48, 58) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>/**@internal*/ import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(52, 1) Source(34, 1) + SourceIndex(2) +2 >Emitted(52, 15) Source(34, 15) + SourceIndex(2) +3 >Emitted(52, 16) Source(34, 16) + SourceIndex(2) +4 >Emitted(52, 23) Source(34, 23) + SourceIndex(2) +5 >Emitted(52, 37) Source(34, 37) + SourceIndex(2) +6 >Emitted(52, 40) Source(34, 40) + SourceIndex(2) +7 >Emitted(52, 57) Source(34, 57) + SourceIndex(2) +8 >Emitted(52, 58) Source(34, 58) + SourceIndex(2) +9 >Emitted(52, 67) Source(34, 67) + SourceIndex(2) +10>Emitted(52, 68) Source(34, 68) + SourceIndex(2) +--- +>>>/**@internal*/ declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(53, 1) Source(35, 1) + SourceIndex(2) +2 >Emitted(53, 15) Source(35, 15) + SourceIndex(2) +3 >Emitted(53, 16) Source(35, 16) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 21) + SourceIndex(2) +5 >Emitted(53, 41) Source(35, 33) + SourceIndex(2) +6 >Emitted(53, 44) Source(35, 36) + SourceIndex(2) +7 >Emitted(53, 53) Source(35, 45) + SourceIndex(2) +8 >Emitted(53, 54) Source(35, 46) + SourceIndex(2) +--- +>>>/**@internal*/ declare const internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > +5 > const +6 > internalConst +7 > = 10 +8 > ; +1 >Emitted(54, 1) Source(36, 1) + SourceIndex(2) +2 >Emitted(54, 15) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 16) Source(36, 16) + SourceIndex(2) +4 >Emitted(54, 24) Source(36, 16) + SourceIndex(2) +5 >Emitted(54, 30) Source(36, 22) + SourceIndex(2) +6 >Emitted(54, 43) Source(36, 35) + SourceIndex(2) +7 >Emitted(54, 48) Source(36, 40) + SourceIndex(2) +8 >Emitted(54, 49) Source(36, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum +1 >Emitted(55, 1) Source(37, 1) + SourceIndex(2) +2 >Emitted(55, 15) Source(37, 15) + SourceIndex(2) +3 >Emitted(55, 16) Source(37, 16) + SourceIndex(2) +4 >Emitted(55, 29) Source(37, 21) + SourceIndex(2) +5 >Emitted(55, 41) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +3 >Emitted(16, 20) Source(14, 20) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +3 >Emitted(18, 20) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 44) Source(16, 26) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 20) + SourceIndex(3) +6 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +7 >Emitted(18, 62) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 23) Source(17, 19) + SourceIndex(3) +3 >Emitted(20, 29) Source(17, 20) + SourceIndex(3) +4 >Emitted(20, 43) Source(17, 30) + SourceIndex(3) +5 >Emitted(20, 50) Source(17, 37) + SourceIndex(3) +6 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +7 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +8 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +9 >Emitted(20, 55) Source(17, 42) + SourceIndex(3) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 23) Source(18, 19) + SourceIndex(3) +3 >Emitted(21, 29) Source(18, 20) + SourceIndex(3) +4 >Emitted(21, 39) Source(18, 26) + SourceIndex(3) +5 >Emitted(21, 42) Source(18, 37) + SourceIndex(3) +6 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +7 >Emitted(21, 47) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +3 >Emitted(29, 20) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +3 >Emitted(35, 20) Source(22, 20) + SourceIndex(3) +4 >Emitted(35, 29) Source(22, 36) + SourceIndex(3) +5 >Emitted(35, 32) Source(22, 39) + SourceIndex(3) +6 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +7 >Emitted(35, 38) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +3 >Emitted(37, 20) Source(23, 20) + SourceIndex(3) +4 >Emitted(37, 24) Source(23, 37) + SourceIndex(3) +5 >Emitted(37, 37) Source(23, 50) + SourceIndex(3) +6 >Emitted(37, 38) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +3 >Emitted(46, 20) Source(24, 20) + SourceIndex(3) +4 >Emitted(46, 24) Source(24, 37) + SourceIndex(3) +5 >Emitted(46, 33) Source(24, 46) + SourceIndex(3) +6 >Emitted(46, 34) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 19) Source(25, 19) + SourceIndex(3) +3 >Emitted(58, 20) Source(25, 34) + SourceIndex(3) +4 >Emitted(58, 38) Source(25, 44) + SourceIndex(3) +5 >Emitted(58, 41) Source(25, 47) + SourceIndex(3) +6 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +7 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +8 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +9 >Emitted(58, 57) Source(25, 63) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 19) Source(27, 19) + SourceIndex(3) +3 >Emitted(59, 20) Source(27, 33) + SourceIndex(3) +4 >Emitted(59, 41) Source(27, 46) + SourceIndex(3) +5 >Emitted(59, 44) Source(27, 49) + SourceIndex(3) +6 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +7 >Emitted(59, 47) Source(27, 52) + SourceIndex(3) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +3 >Emitted(60, 20) Source(28, 20) + SourceIndex(3) +4 >Emitted(60, 24) Source(28, 32) + SourceIndex(3) +5 >Emitted(60, 36) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +3 >Emitted(67, 16) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +3 >Emitted(72, 16) Source(31, 16) + SourceIndex(3) +4 >Emitted(72, 25) Source(31, 25) + SourceIndex(3) +5 >Emitted(72, 36) Source(31, 36) + SourceIndex(3) +6 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +7 >Emitted(72, 42) Source(31, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +3 >Emitted(73, 16) Source(32, 16) + SourceIndex(3) +4 >Emitted(73, 20) Source(32, 26) + SourceIndex(3) +5 >Emitted(73, 37) Source(32, 43) + SourceIndex(3) +6 >Emitted(73, 38) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +3 >Emitted(82, 16) Source(33, 16) + SourceIndex(3) +4 >Emitted(82, 20) Source(33, 26) + SourceIndex(3) +5 >Emitted(82, 33) Source(33, 39) + SourceIndex(3) +6 >Emitted(82, 34) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +3 >Emitted(94, 16) Source(34, 16) + SourceIndex(3) +4 >Emitted(94, 20) Source(34, 23) + SourceIndex(3) +5 >Emitted(94, 34) Source(34, 37) + SourceIndex(3) +6 >Emitted(94, 37) Source(34, 40) + SourceIndex(3) +7 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +8 >Emitted(94, 55) Source(34, 58) + SourceIndex(3) +9 >Emitted(94, 64) Source(34, 67) + SourceIndex(3) +10>Emitted(94, 65) Source(34, 68) + SourceIndex(3) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +3 >Emitted(95, 16) Source(36, 16) + SourceIndex(3) +4 >Emitted(95, 20) Source(36, 22) + SourceIndex(3) +5 >Emitted(95, 33) Source(36, 35) + SourceIndex(3) +6 >Emitted(95, 36) Source(36, 38) + SourceIndex(3) +7 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +8 >Emitted(95, 39) Source(36, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +3 >Emitted(96, 16) Source(37, 16) + SourceIndex(3) +4 >Emitted(96, 20) Source(37, 21) + SourceIndex(3) +5 >Emitted(96, 32) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..02bb30691eb --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,6058 @@ +//// [/src/2/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/second/", + "js": { + "sections": [ + { + "pos": 0, + "end": 3416, + "kind": "text" + }, + { + "pos": 3416, + "end": 3457, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 1059, + "kind": "text" + }, + { + "pos": 1059, + "end": 1102, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/2/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-3416) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +sourceMapUrl: (3416-3457) +//# sourceMappingURL=second-output.js.map +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-1059) +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +sourceMapUrl: (1059-1102) +//# sourceMappingURL=second-output.d.ts.map +====================================================================== + +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(7, 5) Source(15, 19) + SourceIndex(0) +2 >Emitted(7, 9) Source(15, 23) + SourceIndex(0) +3 >Emitted(7, 11) Source(15, 25) + SourceIndex(0) +4 >Emitted(7, 17) Source(15, 31) + SourceIndex(0) +5 >Emitted(7, 18) Source(15, 32) + SourceIndex(0) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(8, 5) Source(16, 19) + SourceIndex(0) +2 >Emitted(8, 11) Source(16, 25) + SourceIndex(0) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(9, 19) Source(17, 23) + SourceIndex(0) +2 >Emitted(9, 20) Source(17, 24) + SourceIndex(0) +3 >Emitted(9, 22) Source(18, 30) + SourceIndex(0) +4 >Emitted(9, 28) Source(18, 36) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(12, 5) Source(21, 19) + SourceIndex(0) +2 >Emitted(12, 11) Source(21, 32) + SourceIndex(0) +3 >Emitted(12, 12) Source(21, 33) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 37) + SourceIndex(0) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(14, 5) Source(22, 19) + SourceIndex(0) +2 >Emitted(14, 14) Source(22, 35) + SourceIndex(0) +3 >Emitted(14, 17) Source(22, 38) + SourceIndex(0) +4 >Emitted(14, 26) Source(22, 43) + SourceIndex(0) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(15, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(15, 15) Source(23, 36) + SourceIndex(0) +3 >Emitted(15, 28) Source(23, 49) + SourceIndex(0) +4 >Emitted(15, 29) Source(23, 50) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 52) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 65) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 66) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 69) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 71) + SourceIndex(0) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(19, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(19, 15) Source(24, 36) + SourceIndex(0) +3 >Emitted(19, 24) Source(24, 45) + SourceIndex(0) +4 >Emitted(19, 25) Source(24, 46) + SourceIndex(0) +5 >Emitted(19, 34) Source(24, 55) + SourceIndex(0) +6 >Emitted(19, 35) Source(24, 56) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 58) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 71) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 80) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 83) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 85) + SourceIndex(0) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(23, 5) Source(25, 19) + SourceIndex(0) +2 >Emitted(23, 11) Source(25, 25) + SourceIndex(0) +3 >Emitted(23, 19) Source(25, 33) + SourceIndex(0) +4 >Emitted(23, 29) Source(25, 43) + SourceIndex(0) +5 >Emitted(23, 32) Source(25, 46) + SourceIndex(0) +6 >Emitted(23, 45) Source(25, 59) + SourceIndex(0) +7 >Emitted(23, 46) Source(25, 60) + SourceIndex(0) +8 >Emitted(23, 47) Source(25, 61) + SourceIndex(0) +9 >Emitted(23, 48) Source(25, 62) + SourceIndex(0) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(24, 5) Source(26, 19) + SourceIndex(0) +2 >Emitted(24, 10) Source(26, 31) + SourceIndex(0) +3 >Emitted(24, 22) Source(26, 43) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 46) + SourceIndex(0) +5 >Emitted(24, 34) Source(26, 55) + SourceIndex(0) +6 >Emitted(24, 35) Source(26, 56) + SourceIndex(0) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(25, 5) Source(27, 26) + SourceIndex(0) +2 >Emitted(25, 11) Source(27, 32) + SourceIndex(0) +3 >Emitted(25, 24) Source(27, 45) + SourceIndex(0) +4 >Emitted(25, 29) Source(27, 50) + SourceIndex(0) +5 >Emitted(25, 30) Source(27, 51) + SourceIndex(0) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(26, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(26, 10) Source(28, 31) + SourceIndex(0) +3 >Emitted(26, 22) Source(28, 43) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 47) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 47) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 50) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 50) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 53) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 53) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 55) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(32, 1) Source(30, 15) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 21) + SourceIndex(0) +3 >Emitted(32, 24) Source(30, 30) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 33) + SourceIndex(0) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(34, 1) Source(31, 15) + SourceIndex(0) +2 >Emitted(34, 18) Source(31, 24) + SourceIndex(0) +3 >Emitted(34, 29) Source(31, 35) + SourceIndex(0) +4 >Emitted(34, 38) Source(31, 40) + SourceIndex(0) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(35, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(35, 19) Source(32, 25) + SourceIndex(0) +3 >Emitted(35, 36) Source(32, 42) + SourceIndex(0) +4 >Emitted(35, 37) Source(32, 43) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 45) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 58) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 70) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 72) + SourceIndex(0) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(39, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(39, 19) Source(33, 25) + SourceIndex(0) +3 >Emitted(39, 32) Source(33, 38) + SourceIndex(0) +4 >Emitted(39, 33) Source(33, 39) + SourceIndex(0) +5 >Emitted(39, 42) Source(33, 48) + SourceIndex(0) +6 >Emitted(39, 43) Source(33, 49) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 51) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 64) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 73) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 76) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 78) + SourceIndex(0) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(43, 1) Source(34, 15) + SourceIndex(0) +2 >Emitted(43, 8) Source(34, 22) + SourceIndex(0) +3 >Emitted(43, 22) Source(34, 36) + SourceIndex(0) +4 >Emitted(43, 25) Source(34, 39) + SourceIndex(0) +5 >Emitted(43, 42) Source(34, 56) + SourceIndex(0) +6 >Emitted(43, 43) Source(34, 57) + SourceIndex(0) +7 >Emitted(43, 52) Source(34, 66) + SourceIndex(0) +8 >Emitted(43, 53) Source(34, 67) + SourceIndex(0) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(44, 1) Source(35, 15) + SourceIndex(0) +2 >Emitted(44, 14) Source(35, 20) + SourceIndex(0) +3 >Emitted(44, 26) Source(35, 32) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 35) + SourceIndex(0) +5 >Emitted(44, 38) Source(35, 44) + SourceIndex(0) +6 >Emitted(44, 39) Source(35, 45) + SourceIndex(0) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(45, 1) Source(36, 15) + SourceIndex(0) +2 >Emitted(45, 9) Source(36, 15) + SourceIndex(0) +3 >Emitted(45, 15) Source(36, 21) + SourceIndex(0) +4 >Emitted(45, 28) Source(36, 34) + SourceIndex(0) +5 >Emitted(45, 33) Source(36, 39) + SourceIndex(0) +6 >Emitted(45, 34) Source(36, 40) + SourceIndex(0) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(46, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(46, 14) Source(37, 20) + SourceIndex(0) +3 >Emitted(46, 26) Source(37, 32) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 36) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 36) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 39) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 39) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 42) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 42) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(9, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(9, 18) Source(14, 18) + SourceIndex(0) +3 >Emitted(9, 19) Source(14, 19) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(10, 5) Source(14, 35) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 36) + SourceIndex(0) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(11, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(11, 18) Source(16, 18) + SourceIndex(0) +3 >Emitted(11, 19) Source(16, 19) + SourceIndex(0) +4 >Emitted(11, 43) Source(16, 25) + SourceIndex(0) +5 >Emitted(11, 46) Source(16, 19) + SourceIndex(0) +6 >Emitted(11, 60) Source(16, 30) + SourceIndex(0) +7 >Emitted(11, 61) Source(16, 31) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(12, 5) Source(17, 19) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 23) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 24) + SourceIndex(0) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(13, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(13, 22) Source(17, 18) + SourceIndex(0) +3 >Emitted(13, 28) Source(17, 19) + SourceIndex(0) +4 >Emitted(13, 42) Source(17, 29) + SourceIndex(0) +5 >Emitted(13, 49) Source(17, 36) + SourceIndex(0) +6 >Emitted(13, 51) Source(17, 38) + SourceIndex(0) +7 >Emitted(13, 52) Source(17, 39) + SourceIndex(0) +8 >Emitted(13, 53) Source(17, 40) + SourceIndex(0) +9 >Emitted(13, 54) Source(17, 41) + SourceIndex(0) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(14, 9) Source(18, 5) + SourceIndex(0) +2 >Emitted(14, 22) Source(18, 18) + SourceIndex(0) +3 >Emitted(14, 28) Source(18, 19) + SourceIndex(0) +4 >Emitted(14, 38) Source(18, 25) + SourceIndex(0) +5 >Emitted(14, 41) Source(18, 36) + SourceIndex(0) +6 >Emitted(14, 45) Source(18, 40) + SourceIndex(0) +7 >Emitted(14, 46) Source(18, 41) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 41) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(22, 5) Source(21, 5) + SourceIndex(0) +2 >Emitted(22, 18) Source(21, 18) + SourceIndex(0) +3 >Emitted(22, 19) Source(21, 19) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 19) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 37) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 37) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 36) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 37) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 19) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 37) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 32) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 33) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 37) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 37) + SourceIndex(0) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(28, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(28, 18) Source(22, 18) + SourceIndex(0) +3 >Emitted(28, 19) Source(22, 19) + SourceIndex(0) +4 >Emitted(28, 28) Source(22, 35) + SourceIndex(0) +5 >Emitted(28, 31) Source(22, 38) + SourceIndex(0) +6 >Emitted(28, 36) Source(22, 42) + SourceIndex(0) +7 >Emitted(28, 37) Source(22, 43) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(29, 5) Source(22, 35) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 38) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 43) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 43) + SourceIndex(0) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(30, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(30, 18) Source(23, 18) + SourceIndex(0) +3 >Emitted(30, 19) Source(23, 19) + SourceIndex(0) +4 >Emitted(30, 23) Source(23, 36) + SourceIndex(0) +5 >Emitted(30, 36) Source(23, 49) + SourceIndex(0) +6 >Emitted(30, 37) Source(23, 71) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(31, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 36) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 49) + SourceIndex(0) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 52) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 69) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 69) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 68) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 69) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 52) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 69) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 65) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 66) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 69) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 69) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 70) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 71) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 36) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 49) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 36) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 49) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 36) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 49) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 71) + SourceIndex(0) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(39, 18) Source(24, 18) + SourceIndex(0) +3 >Emitted(39, 19) Source(24, 19) + SourceIndex(0) +4 >Emitted(39, 23) Source(24, 36) + SourceIndex(0) +5 >Emitted(39, 32) Source(24, 45) + SourceIndex(0) +6 >Emitted(39, 33) Source(24, 85) + SourceIndex(0) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(40, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 36) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 45) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 46) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 55) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 85) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 46) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 55) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 58) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 58) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 83) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 83) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 82) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 83) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 58) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 83) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 71) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 80) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 83) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 83) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 84) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 85) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 46) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 55) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 46) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 55) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 46) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 55) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 85) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 84) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 85) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 36) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 45) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 36) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 45) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 36) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 45) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 85) + SourceIndex(0) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(51, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(51, 18) Source(25, 18) + SourceIndex(0) +3 >Emitted(51, 19) Source(25, 33) + SourceIndex(0) +4 >Emitted(51, 37) Source(25, 43) + SourceIndex(0) +5 >Emitted(51, 40) Source(25, 46) + SourceIndex(0) +6 >Emitted(51, 53) Source(25, 59) + SourceIndex(0) +7 >Emitted(51, 54) Source(25, 60) + SourceIndex(0) +8 >Emitted(51, 55) Source(25, 61) + SourceIndex(0) +9 >Emitted(51, 56) Source(25, 62) + SourceIndex(0) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(52, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(52, 18) Source(27, 18) + SourceIndex(0) +3 >Emitted(52, 19) Source(27, 32) + SourceIndex(0) +4 >Emitted(52, 40) Source(27, 45) + SourceIndex(0) +5 >Emitted(52, 43) Source(27, 48) + SourceIndex(0) +6 >Emitted(52, 45) Source(27, 50) + SourceIndex(0) +7 >Emitted(52, 46) Source(27, 51) + SourceIndex(0) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(53, 18) Source(28, 18) + SourceIndex(0) +3 >Emitted(53, 19) Source(28, 19) + SourceIndex(0) +4 >Emitted(53, 23) Source(28, 31) + SourceIndex(0) +5 >Emitted(53, 35) Source(28, 55) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(54, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 31) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 43) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 47) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 47) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 50) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 50) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 53) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 53) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 54) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 55) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 31) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 43) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 31) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 43) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 31) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 43) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 55) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(60, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(60, 14) Source(30, 14) + SourceIndex(0) +3 >Emitted(60, 15) Source(30, 15) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 15) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 33) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 33) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 32) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 33) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 15) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 33) + SourceIndex(0) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(65, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(65, 14) Source(31, 14) + SourceIndex(0) +3 >Emitted(65, 15) Source(31, 15) + SourceIndex(0) +4 >Emitted(65, 24) Source(31, 24) + SourceIndex(0) +5 >Emitted(65, 35) Source(31, 35) + SourceIndex(0) +6 >Emitted(65, 40) Source(31, 39) + SourceIndex(0) +7 >Emitted(65, 41) Source(31, 40) + SourceIndex(0) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(66, 14) Source(32, 14) + SourceIndex(0) +3 >Emitted(66, 15) Source(32, 15) + SourceIndex(0) +4 >Emitted(66, 19) Source(32, 25) + SourceIndex(0) +5 >Emitted(66, 36) Source(32, 42) + SourceIndex(0) +6 >Emitted(66, 37) Source(32, 72) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(67, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 25) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 42) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 45) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 45) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 70) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 69) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 70) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 45) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 70) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 58) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 67) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 70) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 70) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 71) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 72) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 25) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 42) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 25) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 42) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 72) + SourceIndex(0) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(75, 14) Source(33, 14) + SourceIndex(0) +3 >Emitted(75, 15) Source(33, 15) + SourceIndex(0) +4 >Emitted(75, 19) Source(33, 25) + SourceIndex(0) +5 >Emitted(75, 32) Source(33, 38) + SourceIndex(0) +6 >Emitted(75, 33) Source(33, 78) + SourceIndex(0) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(76, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 25) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 38) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 39) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 48) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 78) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 39) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 48) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 51) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 51) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 76) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 76) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 75) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 76) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 51) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 76) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 64) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 73) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 76) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 76) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 77) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 78) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 39) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 48) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 39) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 48) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 39) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 48) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 78) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 77) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 78) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 25) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 38) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 25) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 38) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 78) + SourceIndex(0) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(87, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(87, 14) Source(34, 14) + SourceIndex(0) +3 >Emitted(87, 15) Source(34, 15) + SourceIndex(0) +4 >Emitted(87, 19) Source(34, 22) + SourceIndex(0) +5 >Emitted(87, 33) Source(34, 36) + SourceIndex(0) +6 >Emitted(87, 36) Source(34, 39) + SourceIndex(0) +7 >Emitted(87, 53) Source(34, 56) + SourceIndex(0) +8 >Emitted(87, 54) Source(34, 57) + SourceIndex(0) +9 >Emitted(87, 63) Source(34, 66) + SourceIndex(0) +10>Emitted(87, 64) Source(34, 67) + SourceIndex(0) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(88, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(88, 14) Source(36, 14) + SourceIndex(0) +3 >Emitted(88, 15) Source(36, 15) + SourceIndex(0) +4 >Emitted(88, 19) Source(36, 21) + SourceIndex(0) +5 >Emitted(88, 32) Source(36, 34) + SourceIndex(0) +6 >Emitted(88, 35) Source(36, 37) + SourceIndex(0) +7 >Emitted(88, 37) Source(36, 39) + SourceIndex(0) +8 >Emitted(88, 38) Source(36, 40) + SourceIndex(0) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(89, 14) Source(37, 14) + SourceIndex(0) +3 >Emitted(89, 15) Source(37, 15) + SourceIndex(0) +4 >Emitted(89, 19) Source(37, 20) + SourceIndex(0) +5 >Emitted(89, 31) Source(37, 44) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(90, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 20) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 32) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 36) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 36) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 39) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 39) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 42) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 42) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 43) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 44) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 20) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 32) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 20) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 32) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + }, + { + "pos": 110, + "end": 150, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + }, + { + "pos": 157, + "end": 199, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (110-150) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (157-199) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/first/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "outFile": "./bin/first-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "first_PART1.ts", + "first_part2.ts", + "first_part3.ts" + ], + "references": [ + ] +} + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /*@internal*/ constructor() { } + /*@internal*/ prop: string; + /*@internal*/ method() { } + /*@internal*/ get c() { return 10; } + /*@internal*/ set c(val: number) { } +} +namespace normalN { + /*@internal*/ export class C { } + /*@internal*/ export function foo() {} + /*@internal*/ export namespace someNamespace { export class C {} } + /*@internal*/ export namespace someOther.something { export class someClass {} } + /*@internal*/ export import someImport = someNamespace.C; + /*@internal*/ export type internalType = internalC; + /*@internal*/ export const internalConst = 10; + /*@internal*/ export enum internalEnum { a, b, c } +} +/*@internal*/ class internalC {} +/*@internal*/ function internalfoo() {} +/*@internal*/ namespace internalNamespace { export class someClass {} } +/*@internal*/ namespace internalOther.something { export class someClass {} } +/*@internal*/ import internalImport = internalNamespace.someClass; +/*@internal*/ type internalType = internalC; +/*@internal*/ const internalConst = 10; +/*@internal*/ enum internalEnum { a, b, c } + +//// [/src/second/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, + "outFile": "../2/second-output.js", + "skipDefaultLibCheck": true + }, + "references": [ + ] +} + + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 150, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 152, + "end": 3609, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3611, + "end": 3647, + "kind": "text" + }, + { + "pos": 3647, + "end": 3687, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 199, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 201, + "end": 1303, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1305, + "end": 1324, + "kind": "text" + }, + { + "pos": 1324, + "end": 1366, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-150):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (152-3609):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3611-3647) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3647-3687) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-199):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (201-1303):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1305-1324) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1324-1366) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 19) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 20) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 22) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 28) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(18, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(18, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(20, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(20, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(20, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(20, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(21, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(21, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(21, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(35, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(35, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(35, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(37, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(37, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(46, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(46, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(46, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(58, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(58, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(58, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(59, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(59, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(59, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(60, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(60, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(72, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(72, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(72, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(73, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(73, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(82, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(82, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(94, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(94, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(94, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(94, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(94, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(94, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(95, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(95, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(95, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(96, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal.js new file mode 100644 index 00000000000..5d3f4509cbf --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/buildInfo/stripInternal.js @@ -0,0 +1,5818 @@ +//// [/src/2/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/second/", + "js": { + "sections": [ + { + "pos": 0, + "end": 3052, + "kind": "text" + }, + { + "pos": 3052, + "end": 3093, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 1045, + "kind": "text" + }, + { + "pos": 1045, + "end": 1088, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/2/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-3052) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +sourceMapUrl: (3052-3093) +//# sourceMappingURL=second-output.js.map +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-1045) +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +sourceMapUrl: (1045-1088) +//# sourceMappingURL=second-output.d.ts.map +====================================================================== + +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(7, 5) Source(15, 19) + SourceIndex(0) +2 >Emitted(7, 9) Source(15, 23) + SourceIndex(0) +3 >Emitted(7, 11) Source(15, 25) + SourceIndex(0) +4 >Emitted(7, 17) Source(15, 31) + SourceIndex(0) +5 >Emitted(7, 18) Source(15, 32) + SourceIndex(0) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(8, 5) Source(16, 19) + SourceIndex(0) +2 >Emitted(8, 11) Source(16, 25) + SourceIndex(0) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(9, 5) Source(17, 23) + SourceIndex(0) +2 >Emitted(9, 6) Source(17, 24) + SourceIndex(0) +3 >Emitted(9, 8) Source(18, 30) + SourceIndex(0) +4 >Emitted(9, 14) Source(18, 36) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(12, 5) Source(21, 19) + SourceIndex(0) +2 >Emitted(12, 11) Source(21, 32) + SourceIndex(0) +3 >Emitted(12, 12) Source(21, 33) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 37) + SourceIndex(0) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(14, 5) Source(22, 19) + SourceIndex(0) +2 >Emitted(14, 14) Source(22, 35) + SourceIndex(0) +3 >Emitted(14, 17) Source(22, 38) + SourceIndex(0) +4 >Emitted(14, 26) Source(22, 43) + SourceIndex(0) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(15, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(15, 15) Source(23, 36) + SourceIndex(0) +3 >Emitted(15, 28) Source(23, 49) + SourceIndex(0) +4 >Emitted(15, 29) Source(23, 50) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 52) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 65) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 66) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 69) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 71) + SourceIndex(0) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(19, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(19, 15) Source(24, 36) + SourceIndex(0) +3 >Emitted(19, 24) Source(24, 45) + SourceIndex(0) +4 >Emitted(19, 25) Source(24, 46) + SourceIndex(0) +5 >Emitted(19, 34) Source(24, 55) + SourceIndex(0) +6 >Emitted(19, 35) Source(24, 56) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 58) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 71) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 80) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 83) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 85) + SourceIndex(0) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(23, 5) Source(25, 19) + SourceIndex(0) +2 >Emitted(23, 11) Source(25, 25) + SourceIndex(0) +3 >Emitted(23, 19) Source(25, 33) + SourceIndex(0) +4 >Emitted(23, 29) Source(25, 43) + SourceIndex(0) +5 >Emitted(23, 32) Source(25, 46) + SourceIndex(0) +6 >Emitted(23, 45) Source(25, 59) + SourceIndex(0) +7 >Emitted(23, 46) Source(25, 60) + SourceIndex(0) +8 >Emitted(23, 47) Source(25, 61) + SourceIndex(0) +9 >Emitted(23, 48) Source(25, 62) + SourceIndex(0) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(24, 5) Source(26, 19) + SourceIndex(0) +2 >Emitted(24, 10) Source(26, 31) + SourceIndex(0) +3 >Emitted(24, 22) Source(26, 43) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 46) + SourceIndex(0) +5 >Emitted(24, 34) Source(26, 55) + SourceIndex(0) +6 >Emitted(24, 35) Source(26, 56) + SourceIndex(0) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(25, 5) Source(27, 26) + SourceIndex(0) +2 >Emitted(25, 11) Source(27, 32) + SourceIndex(0) +3 >Emitted(25, 24) Source(27, 45) + SourceIndex(0) +4 >Emitted(25, 29) Source(27, 50) + SourceIndex(0) +5 >Emitted(25, 30) Source(27, 51) + SourceIndex(0) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(26, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(26, 10) Source(28, 31) + SourceIndex(0) +3 >Emitted(26, 22) Source(28, 43) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 47) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 47) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 50) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 50) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 53) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 53) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 55) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(32, 1) Source(30, 15) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 21) + SourceIndex(0) +3 >Emitted(32, 24) Source(30, 30) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 33) + SourceIndex(0) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(34, 1) Source(31, 15) + SourceIndex(0) +2 >Emitted(34, 18) Source(31, 24) + SourceIndex(0) +3 >Emitted(34, 29) Source(31, 35) + SourceIndex(0) +4 >Emitted(34, 38) Source(31, 40) + SourceIndex(0) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(35, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(35, 19) Source(32, 25) + SourceIndex(0) +3 >Emitted(35, 36) Source(32, 42) + SourceIndex(0) +4 >Emitted(35, 37) Source(32, 43) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 45) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 58) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 70) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 72) + SourceIndex(0) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(39, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(39, 19) Source(33, 25) + SourceIndex(0) +3 >Emitted(39, 32) Source(33, 38) + SourceIndex(0) +4 >Emitted(39, 33) Source(33, 39) + SourceIndex(0) +5 >Emitted(39, 42) Source(33, 48) + SourceIndex(0) +6 >Emitted(39, 43) Source(33, 49) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 51) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 64) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 73) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 76) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 78) + SourceIndex(0) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(43, 1) Source(34, 15) + SourceIndex(0) +2 >Emitted(43, 8) Source(34, 22) + SourceIndex(0) +3 >Emitted(43, 22) Source(34, 36) + SourceIndex(0) +4 >Emitted(43, 25) Source(34, 39) + SourceIndex(0) +5 >Emitted(43, 42) Source(34, 56) + SourceIndex(0) +6 >Emitted(43, 43) Source(34, 57) + SourceIndex(0) +7 >Emitted(43, 52) Source(34, 66) + SourceIndex(0) +8 >Emitted(43, 53) Source(34, 67) + SourceIndex(0) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(44, 1) Source(35, 15) + SourceIndex(0) +2 >Emitted(44, 14) Source(35, 20) + SourceIndex(0) +3 >Emitted(44, 26) Source(35, 32) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 35) + SourceIndex(0) +5 >Emitted(44, 38) Source(35, 44) + SourceIndex(0) +6 >Emitted(44, 39) Source(35, 45) + SourceIndex(0) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(45, 1) Source(36, 15) + SourceIndex(0) +2 >Emitted(45, 9) Source(36, 15) + SourceIndex(0) +3 >Emitted(45, 15) Source(36, 21) + SourceIndex(0) +4 >Emitted(45, 28) Source(36, 34) + SourceIndex(0) +5 >Emitted(45, 33) Source(36, 39) + SourceIndex(0) +6 >Emitted(45, 34) Source(36, 40) + SourceIndex(0) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(46, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(46, 14) Source(37, 20) + SourceIndex(0) +3 >Emitted(46, 26) Source(37, 32) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 36) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 36) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 39) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 39) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 42) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 42) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(9, 5) Source(14, 19) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(10, 5) Source(14, 35) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 36) + SourceIndex(0) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(11, 5) Source(16, 19) + SourceIndex(0) +2 >Emitted(11, 29) Source(16, 25) + SourceIndex(0) +3 >Emitted(11, 32) Source(16, 19) + SourceIndex(0) +4 >Emitted(11, 46) Source(16, 30) + SourceIndex(0) +5 >Emitted(11, 47) Source(16, 31) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(12, 5) Source(17, 19) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 23) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 24) + SourceIndex(0) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(13, 14) Source(17, 19) + SourceIndex(0) +2 >Emitted(13, 28) Source(17, 29) + SourceIndex(0) +3 >Emitted(13, 35) Source(17, 36) + SourceIndex(0) +4 >Emitted(13, 37) Source(17, 38) + SourceIndex(0) +5 >Emitted(13, 38) Source(17, 39) + SourceIndex(0) +6 >Emitted(13, 39) Source(17, 40) + SourceIndex(0) +7 >Emitted(13, 40) Source(17, 41) + SourceIndex(0) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(14, 14) Source(18, 19) + SourceIndex(0) +2 >Emitted(14, 24) Source(18, 25) + SourceIndex(0) +3 >Emitted(14, 27) Source(18, 36) + SourceIndex(0) +4 >Emitted(14, 31) Source(18, 40) + SourceIndex(0) +5 >Emitted(14, 32) Source(18, 41) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 41) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(22, 5) Source(21, 19) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 19) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 37) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 37) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 36) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 37) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 19) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 37) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 32) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 33) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 37) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 37) + SourceIndex(0) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(28, 5) Source(22, 19) + SourceIndex(0) +2 >Emitted(28, 14) Source(22, 35) + SourceIndex(0) +3 >Emitted(28, 17) Source(22, 38) + SourceIndex(0) +4 >Emitted(28, 22) Source(22, 42) + SourceIndex(0) +5 >Emitted(28, 23) Source(22, 43) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(29, 5) Source(22, 35) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 38) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 43) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 43) + SourceIndex(0) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(30, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(30, 9) Source(23, 36) + SourceIndex(0) +3 >Emitted(30, 22) Source(23, 49) + SourceIndex(0) +4 >Emitted(30, 23) Source(23, 71) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(31, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 36) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 49) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 52) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 69) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 69) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 68) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 69) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 52) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 69) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 65) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 66) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 69) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 69) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 70) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 71) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 36) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 49) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 36) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 49) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 36) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 49) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 71) + SourceIndex(0) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(39, 9) Source(24, 36) + SourceIndex(0) +3 >Emitted(39, 18) Source(24, 45) + SourceIndex(0) +4 >Emitted(39, 19) Source(24, 85) + SourceIndex(0) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(40, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 36) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 45) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 46) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 55) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 85) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 46) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 55) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 58) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 58) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 83) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 83) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 82) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 83) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 58) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 83) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 71) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 80) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 83) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 83) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 84) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 85) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 46) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 55) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 46) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 55) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 46) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 55) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 85) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 84) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 85) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 36) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 45) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 36) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 45) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 36) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 45) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 85) + SourceIndex(0) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(51, 5) Source(25, 33) + SourceIndex(0) +2 >Emitted(51, 23) Source(25, 43) + SourceIndex(0) +3 >Emitted(51, 26) Source(25, 46) + SourceIndex(0) +4 >Emitted(51, 39) Source(25, 59) + SourceIndex(0) +5 >Emitted(51, 40) Source(25, 60) + SourceIndex(0) +6 >Emitted(51, 41) Source(25, 61) + SourceIndex(0) +7 >Emitted(51, 42) Source(25, 62) + SourceIndex(0) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(52, 5) Source(27, 32) + SourceIndex(0) +2 >Emitted(52, 26) Source(27, 45) + SourceIndex(0) +3 >Emitted(52, 29) Source(27, 48) + SourceIndex(0) +4 >Emitted(52, 31) Source(27, 50) + SourceIndex(0) +5 >Emitted(52, 32) Source(27, 51) + SourceIndex(0) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(53, 9) Source(28, 31) + SourceIndex(0) +3 >Emitted(53, 21) Source(28, 55) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(54, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 31) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 43) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 47) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 47) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 50) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 50) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 53) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 53) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 54) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 55) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 31) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 43) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 31) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 43) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 31) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 43) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 55) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(60, 1) Source(30, 15) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 15) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 33) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 33) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 32) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 33) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 15) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 33) + SourceIndex(0) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(65, 1) Source(31, 15) + SourceIndex(0) +2 >Emitted(65, 10) Source(31, 24) + SourceIndex(0) +3 >Emitted(65, 21) Source(31, 35) + SourceIndex(0) +4 >Emitted(65, 26) Source(31, 39) + SourceIndex(0) +5 >Emitted(65, 27) Source(31, 40) + SourceIndex(0) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(66, 5) Source(32, 25) + SourceIndex(0) +3 >Emitted(66, 22) Source(32, 42) + SourceIndex(0) +4 >Emitted(66, 23) Source(32, 72) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(67, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 25) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 42) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 45) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 45) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 70) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 69) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 70) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 45) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 70) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 58) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 67) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 70) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 70) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 71) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 72) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 25) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 42) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 25) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 42) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 72) + SourceIndex(0) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(75, 5) Source(33, 25) + SourceIndex(0) +3 >Emitted(75, 18) Source(33, 38) + SourceIndex(0) +4 >Emitted(75, 19) Source(33, 78) + SourceIndex(0) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(76, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 25) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 38) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 39) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 48) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 78) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 39) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 48) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 51) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 51) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 76) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 76) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 75) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 76) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 51) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 76) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 64) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 73) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 76) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 76) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 77) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 78) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 39) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 48) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 39) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 48) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 39) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 48) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 78) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 77) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 78) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 25) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 38) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 25) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 38) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 78) + SourceIndex(0) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(87, 1) Source(34, 15) + SourceIndex(0) +2 >Emitted(87, 5) Source(34, 22) + SourceIndex(0) +3 >Emitted(87, 19) Source(34, 36) + SourceIndex(0) +4 >Emitted(87, 22) Source(34, 39) + SourceIndex(0) +5 >Emitted(87, 39) Source(34, 56) + SourceIndex(0) +6 >Emitted(87, 40) Source(34, 57) + SourceIndex(0) +7 >Emitted(87, 49) Source(34, 66) + SourceIndex(0) +8 >Emitted(87, 50) Source(34, 67) + SourceIndex(0) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(88, 1) Source(36, 15) + SourceIndex(0) +2 >Emitted(88, 5) Source(36, 21) + SourceIndex(0) +3 >Emitted(88, 18) Source(36, 34) + SourceIndex(0) +4 >Emitted(88, 21) Source(36, 37) + SourceIndex(0) +5 >Emitted(88, 23) Source(36, 39) + SourceIndex(0) +6 >Emitted(88, 24) Source(36, 40) + SourceIndex(0) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(89, 5) Source(37, 20) + SourceIndex(0) +3 >Emitted(89, 17) Source(37, 44) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(90, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 20) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 32) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 36) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 36) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 39) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 39) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 42) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 42) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 43) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 44) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 20) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 32) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 20) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 32) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/first/", + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + }, + { + "pos": 110, + "end": 150, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + }, + { + "pos": 157, + "end": 199, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/first/bin/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +sourceMapUrl: (110-150) +//# sourceMappingURL=first-output.js.map +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +sourceMapUrl: (157-199) +//# sourceMappingURL=first-output.d.ts.map +====================================================================== + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /*@internal*/ constructor() { } + /*@internal*/ prop: string; + /*@internal*/ method() { } + /*@internal*/ get c() { return 10; } + /*@internal*/ set c(val: number) { } +} +namespace normalN { + /*@internal*/ export class C { } + /*@internal*/ export function foo() {} + /*@internal*/ export namespace someNamespace { export class C {} } + /*@internal*/ export namespace someOther.something { export class someClass {} } + /*@internal*/ export import someImport = someNamespace.C; + /*@internal*/ export type internalType = internalC; + /*@internal*/ export const internalConst = 10; + /*@internal*/ export enum internalEnum { a, b, c } +} +/*@internal*/ class internalC {} +/*@internal*/ function internalfoo() {} +/*@internal*/ namespace internalNamespace { export class someClass {} } +/*@internal*/ namespace internalOther.something { export class someClass {} } +/*@internal*/ import internalImport = internalNamespace.someClass; +/*@internal*/ type internalType = internalC; +/*@internal*/ const internalConst = 10; +/*@internal*/ enum internalEnum { a, b, c } + +//// [/src/third/thirdjs/output/.tsbuildinfo] +{ + "bundle": { + "commonSourceDirectory": "/src/third/", + "js": { + "sections": [ + { + "pos": 0, + "end": 150, + "kind": "prepend", + "data": "/src/first/bin/first-output.js" + }, + { + "pos": 152, + "end": 3245, + "kind": "prepend", + "data": "/src/2/second-output.js" + }, + { + "pos": 3247, + "end": 3283, + "kind": "text" + }, + { + "pos": 3283, + "end": 3323, + "kind": "sourceMapUrl" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 199, + "kind": "prepend", + "data": "/src/first/bin/first-output.d.ts" + }, + { + "pos": 201, + "end": 1289, + "kind": "prepend", + "data": "/src/2/second-output.d.ts" + }, + { + "pos": 1291, + "end": 1310, + "kind": "text" + }, + { + "pos": 1310, + "end": 1352, + "kind": "sourceMapUrl" + } + ] + } + } +} + +//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-150):: /src/first/bin/first-output.js +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map +---------------------------------------------------------------------- +prepend: (152-3245):: /src/2/second-output.js +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +---------------------------------------------------------------------- +text: (3247-3283) +var c = new C(); +c.doSomething(); + +---------------------------------------------------------------------- +sourceMapUrl: (3283-3323) +//# sourceMappingURL=third-output.js.map +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-199):: /src/first/bin/first-output.d.ts +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +---------------------------------------------------------------------- +prepend: (201-1289):: /src/2/second-output.d.ts +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +---------------------------------------------------------------------- +text: (1291-1310) +declare var c: C; + +---------------------------------------------------------------------- +sourceMapUrl: (1310-1352) +//# sourceMappingURL=third-output.d.ts.map +====================================================================== + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(16, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(29, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(67, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-jsdoc-style-comment.js new file mode 100644 index 00000000000..30bf0bca5a1 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-jsdoc-style-comment.js @@ -0,0 +1,5276 @@ +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(7, 5) Source(15, 20) + SourceIndex(0) +2 >Emitted(7, 9) Source(15, 24) + SourceIndex(0) +3 >Emitted(7, 11) Source(15, 26) + SourceIndex(0) +4 >Emitted(7, 17) Source(15, 32) + SourceIndex(0) +5 >Emitted(7, 18) Source(15, 33) + SourceIndex(0) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(8, 5) Source(16, 20) + SourceIndex(0) +2 >Emitted(8, 11) Source(16, 26) + SourceIndex(0) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(9, 5) Source(17, 24) + SourceIndex(0) +2 >Emitted(9, 6) Source(17, 25) + SourceIndex(0) +3 >Emitted(9, 8) Source(18, 31) + SourceIndex(0) +4 >Emitted(9, 14) Source(18, 37) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(12, 5) Source(21, 20) + SourceIndex(0) +2 >Emitted(12, 11) Source(21, 33) + SourceIndex(0) +3 >Emitted(12, 12) Source(21, 34) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 38) + SourceIndex(0) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(14, 5) Source(22, 20) + SourceIndex(0) +2 >Emitted(14, 14) Source(22, 36) + SourceIndex(0) +3 >Emitted(14, 17) Source(22, 39) + SourceIndex(0) +4 >Emitted(14, 26) Source(22, 44) + SourceIndex(0) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(15, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(15, 15) Source(23, 37) + SourceIndex(0) +3 >Emitted(15, 28) Source(23, 50) + SourceIndex(0) +4 >Emitted(15, 29) Source(23, 51) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 53) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 66) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 70) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 72) + SourceIndex(0) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(19, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(19, 15) Source(24, 37) + SourceIndex(0) +3 >Emitted(19, 24) Source(24, 46) + SourceIndex(0) +4 >Emitted(19, 25) Source(24, 47) + SourceIndex(0) +5 >Emitted(19, 34) Source(24, 56) + SourceIndex(0) +6 >Emitted(19, 35) Source(24, 57) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 59) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 72) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 81) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 84) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 86) + SourceIndex(0) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(23, 5) Source(25, 20) + SourceIndex(0) +2 >Emitted(23, 11) Source(25, 26) + SourceIndex(0) +3 >Emitted(23, 19) Source(25, 34) + SourceIndex(0) +4 >Emitted(23, 29) Source(25, 44) + SourceIndex(0) +5 >Emitted(23, 32) Source(25, 47) + SourceIndex(0) +6 >Emitted(23, 45) Source(25, 60) + SourceIndex(0) +7 >Emitted(23, 46) Source(25, 61) + SourceIndex(0) +8 >Emitted(23, 47) Source(25, 62) + SourceIndex(0) +9 >Emitted(23, 48) Source(25, 63) + SourceIndex(0) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(24, 5) Source(26, 20) + SourceIndex(0) +2 >Emitted(24, 10) Source(26, 32) + SourceIndex(0) +3 >Emitted(24, 22) Source(26, 44) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 47) + SourceIndex(0) +5 >Emitted(24, 34) Source(26, 56) + SourceIndex(0) +6 >Emitted(24, 35) Source(26, 57) + SourceIndex(0) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(25, 5) Source(27, 27) + SourceIndex(0) +2 >Emitted(25, 11) Source(27, 33) + SourceIndex(0) +3 >Emitted(25, 24) Source(27, 46) + SourceIndex(0) +4 >Emitted(25, 29) Source(27, 51) + SourceIndex(0) +5 >Emitted(25, 30) Source(27, 52) + SourceIndex(0) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(26, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(26, 10) Source(28, 32) + SourceIndex(0) +3 >Emitted(26, 22) Source(28, 44) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 48) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 48) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 51) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 51) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 54) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 54) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 56) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(32, 1) Source(30, 16) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 22) + SourceIndex(0) +3 >Emitted(32, 24) Source(30, 31) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 34) + SourceIndex(0) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(34, 1) Source(31, 16) + SourceIndex(0) +2 >Emitted(34, 18) Source(31, 25) + SourceIndex(0) +3 >Emitted(34, 29) Source(31, 36) + SourceIndex(0) +4 >Emitted(34, 38) Source(31, 41) + SourceIndex(0) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(35, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(35, 19) Source(32, 26) + SourceIndex(0) +3 >Emitted(35, 36) Source(32, 43) + SourceIndex(0) +4 >Emitted(35, 37) Source(32, 44) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 46) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 59) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 68) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 71) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 73) + SourceIndex(0) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(39, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(39, 19) Source(33, 26) + SourceIndex(0) +3 >Emitted(39, 32) Source(33, 39) + SourceIndex(0) +4 >Emitted(39, 33) Source(33, 40) + SourceIndex(0) +5 >Emitted(39, 42) Source(33, 49) + SourceIndex(0) +6 >Emitted(39, 43) Source(33, 50) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 52) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 65) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 74) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 77) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 79) + SourceIndex(0) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(43, 1) Source(34, 16) + SourceIndex(0) +2 >Emitted(43, 8) Source(34, 23) + SourceIndex(0) +3 >Emitted(43, 22) Source(34, 37) + SourceIndex(0) +4 >Emitted(43, 25) Source(34, 40) + SourceIndex(0) +5 >Emitted(43, 42) Source(34, 57) + SourceIndex(0) +6 >Emitted(43, 43) Source(34, 58) + SourceIndex(0) +7 >Emitted(43, 52) Source(34, 67) + SourceIndex(0) +8 >Emitted(43, 53) Source(34, 68) + SourceIndex(0) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(44, 1) Source(35, 16) + SourceIndex(0) +2 >Emitted(44, 14) Source(35, 21) + SourceIndex(0) +3 >Emitted(44, 26) Source(35, 33) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 36) + SourceIndex(0) +5 >Emitted(44, 38) Source(35, 45) + SourceIndex(0) +6 >Emitted(44, 39) Source(35, 46) + SourceIndex(0) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(45, 1) Source(36, 16) + SourceIndex(0) +2 >Emitted(45, 9) Source(36, 16) + SourceIndex(0) +3 >Emitted(45, 15) Source(36, 22) + SourceIndex(0) +4 >Emitted(45, 28) Source(36, 35) + SourceIndex(0) +5 >Emitted(45, 33) Source(36, 40) + SourceIndex(0) +6 >Emitted(45, 34) Source(36, 41) + SourceIndex(0) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(46, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(46, 14) Source(37, 21) + SourceIndex(0) +3 >Emitted(46, 26) Source(37, 33) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 37) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 37) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 40) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 40) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 43) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 43) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(9, 5) Source(14, 20) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(10, 5) Source(14, 36) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 37) + SourceIndex(0) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(11, 5) Source(16, 20) + SourceIndex(0) +2 >Emitted(11, 29) Source(16, 26) + SourceIndex(0) +3 >Emitted(11, 32) Source(16, 20) + SourceIndex(0) +4 >Emitted(11, 46) Source(16, 31) + SourceIndex(0) +5 >Emitted(11, 47) Source(16, 32) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(12, 5) Source(17, 20) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 24) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 25) + SourceIndex(0) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(13, 14) Source(17, 20) + SourceIndex(0) +2 >Emitted(13, 28) Source(17, 30) + SourceIndex(0) +3 >Emitted(13, 35) Source(17, 37) + SourceIndex(0) +4 >Emitted(13, 37) Source(17, 39) + SourceIndex(0) +5 >Emitted(13, 38) Source(17, 40) + SourceIndex(0) +6 >Emitted(13, 39) Source(17, 41) + SourceIndex(0) +7 >Emitted(13, 40) Source(17, 42) + SourceIndex(0) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(14, 14) Source(18, 20) + SourceIndex(0) +2 >Emitted(14, 24) Source(18, 26) + SourceIndex(0) +3 >Emitted(14, 27) Source(18, 37) + SourceIndex(0) +4 >Emitted(14, 31) Source(18, 41) + SourceIndex(0) +5 >Emitted(14, 32) Source(18, 42) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 42) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(22, 5) Source(21, 20) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 20) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 38) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 38) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 37) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 38) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 20) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 38) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 33) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 34) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 38) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 38) + SourceIndex(0) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(28, 5) Source(22, 20) + SourceIndex(0) +2 >Emitted(28, 14) Source(22, 36) + SourceIndex(0) +3 >Emitted(28, 17) Source(22, 39) + SourceIndex(0) +4 >Emitted(28, 22) Source(22, 43) + SourceIndex(0) +5 >Emitted(28, 23) Source(22, 44) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(29, 5) Source(22, 36) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 39) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 44) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 44) + SourceIndex(0) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(30, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(30, 9) Source(23, 37) + SourceIndex(0) +3 >Emitted(30, 22) Source(23, 50) + SourceIndex(0) +4 >Emitted(30, 23) Source(23, 72) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(31, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 37) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 50) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 53) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 53) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 70) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 69) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 70) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 53) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 70) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 66) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 67) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 70) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 70) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 71) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 72) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 37) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 50) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 37) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 50) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 37) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 50) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 72) + SourceIndex(0) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(39, 9) Source(24, 37) + SourceIndex(0) +3 >Emitted(39, 18) Source(24, 46) + SourceIndex(0) +4 >Emitted(39, 19) Source(24, 86) + SourceIndex(0) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(40, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 37) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 46) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 47) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 56) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 86) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 47) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 56) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 59) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 59) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 84) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 84) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 83) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 84) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 59) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 84) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 72) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 81) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 84) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 84) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 85) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 86) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 47) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 56) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 47) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 56) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 47) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 56) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 86) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 85) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 86) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 37) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 46) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 37) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 46) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 37) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 46) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 86) + SourceIndex(0) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(51, 5) Source(25, 34) + SourceIndex(0) +2 >Emitted(51, 23) Source(25, 44) + SourceIndex(0) +3 >Emitted(51, 26) Source(25, 47) + SourceIndex(0) +4 >Emitted(51, 39) Source(25, 60) + SourceIndex(0) +5 >Emitted(51, 40) Source(25, 61) + SourceIndex(0) +6 >Emitted(51, 41) Source(25, 62) + SourceIndex(0) +7 >Emitted(51, 42) Source(25, 63) + SourceIndex(0) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(52, 5) Source(27, 33) + SourceIndex(0) +2 >Emitted(52, 26) Source(27, 46) + SourceIndex(0) +3 >Emitted(52, 29) Source(27, 49) + SourceIndex(0) +4 >Emitted(52, 31) Source(27, 51) + SourceIndex(0) +5 >Emitted(52, 32) Source(27, 52) + SourceIndex(0) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(53, 9) Source(28, 32) + SourceIndex(0) +3 >Emitted(53, 21) Source(28, 56) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(54, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 32) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 44) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 48) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 48) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 51) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 51) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 54) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 54) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 55) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 56) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 32) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 44) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 32) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 44) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 32) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 44) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 56) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(60, 1) Source(30, 16) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 16) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 34) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 34) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 33) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 34) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 16) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 34) + SourceIndex(0) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(65, 1) Source(31, 16) + SourceIndex(0) +2 >Emitted(65, 10) Source(31, 25) + SourceIndex(0) +3 >Emitted(65, 21) Source(31, 36) + SourceIndex(0) +4 >Emitted(65, 26) Source(31, 40) + SourceIndex(0) +5 >Emitted(65, 27) Source(31, 41) + SourceIndex(0) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(66, 5) Source(32, 26) + SourceIndex(0) +3 >Emitted(66, 22) Source(32, 43) + SourceIndex(0) +4 >Emitted(66, 23) Source(32, 73) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(67, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 26) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 43) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 46) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 46) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 71) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 71) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 70) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 71) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 46) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 71) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 59) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 68) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 71) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 71) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 72) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 73) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 26) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 43) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 26) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 43) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 73) + SourceIndex(0) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(75, 5) Source(33, 26) + SourceIndex(0) +3 >Emitted(75, 18) Source(33, 39) + SourceIndex(0) +4 >Emitted(75, 19) Source(33, 79) + SourceIndex(0) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(76, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 26) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 39) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 40) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 49) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 79) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 40) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 49) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 52) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 77) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 77) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 76) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 77) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 52) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 77) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 65) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 74) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 77) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 77) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 78) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 79) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 40) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 49) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 40) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 49) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 40) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 49) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 79) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 78) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 79) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 26) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 39) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 26) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 39) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 79) + SourceIndex(0) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(87, 1) Source(34, 16) + SourceIndex(0) +2 >Emitted(87, 5) Source(34, 23) + SourceIndex(0) +3 >Emitted(87, 19) Source(34, 37) + SourceIndex(0) +4 >Emitted(87, 22) Source(34, 40) + SourceIndex(0) +5 >Emitted(87, 39) Source(34, 57) + SourceIndex(0) +6 >Emitted(87, 40) Source(34, 58) + SourceIndex(0) +7 >Emitted(87, 49) Source(34, 67) + SourceIndex(0) +8 >Emitted(87, 50) Source(34, 68) + SourceIndex(0) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(88, 1) Source(36, 16) + SourceIndex(0) +2 >Emitted(88, 5) Source(36, 22) + SourceIndex(0) +3 >Emitted(88, 18) Source(36, 35) + SourceIndex(0) +4 >Emitted(88, 21) Source(36, 38) + SourceIndex(0) +5 >Emitted(88, 23) Source(36, 40) + SourceIndex(0) +6 >Emitted(88, 24) Source(36, 41) + SourceIndex(0) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(89, 5) Source(37, 21) + SourceIndex(0) +3 >Emitted(89, 17) Source(37, 45) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(90, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 21) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 33) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 37) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 37) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 40) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 40) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 43) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 43) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 44) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 45) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 21) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 33) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 21) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 33) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /**@internal*/ constructor() { } + /**@internal*/ prop: string; + /**@internal*/ method() { } + /**@internal*/ get c() { return 10; } + /**@internal*/ set c(val: number) { } +} +namespace normalN { + /**@internal*/ export class C { } + /**@internal*/ export function foo() {} + /**@internal*/ export namespace someNamespace { export class C {} } + /**@internal*/ export namespace someOther.something { export class someClass {} } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ export type internalType = internalC; + /**@internal*/ export const internalConst = 10; + /**@internal*/ export enum internalEnum { a, b, c } +} +/**@internal*/ class internalC {} +/**@internal*/ function internalfoo() {} +/**@internal*/ namespace internalNamespace { export class someClass {} } +/**@internal*/ namespace internalOther.something { export class someClass {} } +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ type internalType = internalC; +/**@internal*/ const internalConst = 10; +/**@internal*/ enum internalEnum { a, b, c } + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/**@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 16) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 26) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /**@internal*/ constructor() { } + > /**@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 20) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 24) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 26) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 32) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 33) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /**@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 20) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 26) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /**@internal*/ get +2 > c +3 > () { return 10; } + > /**@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 24) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 25) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 31) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /**@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 20) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 33) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 20) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 36) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 39) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 44) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 20) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 37) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 50) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /**@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 20) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 37) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 46) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 47) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 56) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /**@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 20) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 26) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 34) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 44) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 47) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 60) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 61) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 62) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 63) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /**@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 20) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 32) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 44) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 47) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 56) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 57) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /**@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 27) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 33) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 46) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 51) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 52) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 20) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 32) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/**@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 16) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 22) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 16) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 25) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 36) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 41) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 16) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 26) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 43) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/**@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 16) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 26) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 39) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 40) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 49) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 16) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 23) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 37) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 40) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 57) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 58) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 67) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 68) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 16) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 21) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 33) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 36) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 45) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 46) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/**@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 16) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 16) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 22) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 35) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 40) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 41) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/**@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 16) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 21) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /**@internal*/ +1->Emitted(16, 5) Source(14, 20) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /**@internal*/ prop: string; + > /**@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 20) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 26) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 31) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /**@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 20) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 30) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 37) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 39) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 40) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 41) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 42) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /**@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 20) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 26) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 37) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 41) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /**@internal*/ +1->Emitted(29, 5) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /**@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 20) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 36) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 39) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 43) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /**@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 37) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 50) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 37) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 46) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /**@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 34) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 44) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 47) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 60) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 61) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 62) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 63) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 33) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 46) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 49) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 51) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 52) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /**@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 32) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/**@internal*/ +1->Emitted(67, 1) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/**@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 16) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 25) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 36) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 40) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 41) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 26) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 43) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 26) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 39) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/**@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 16) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 23) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 37) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 40) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 57) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 58) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 67) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 68) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/**@internal*/ type internalType = internalC; + >/**@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 16) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 22) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 35) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 38) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 40) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 41) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/**@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 21) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js new file mode 100644 index 00000000000..df7d6d75252 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -0,0 +1,5776 @@ +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,gBAAK,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^-> +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> /**@internal*/ constructor(); +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^-> +1-> { + > +2 > /**@internal*/ +1->Emitted(6, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(6, 19) Source(14, 19) + SourceIndex(0) +--- +>>> /**@internal*/ prop: string; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^ +6 > ^^^^^^ +7 > ^ +8 > ^^^-> +1-> constructor() { } + > +2 > /**@internal*/ +3 > +4 > prop +5 > : +6 > string +7 > ; +1->Emitted(7, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(7, 19) Source(15, 19) + SourceIndex(0) +3 >Emitted(7, 20) Source(15, 20) + SourceIndex(0) +4 >Emitted(7, 24) Source(15, 24) + SourceIndex(0) +5 >Emitted(7, 26) Source(15, 26) + SourceIndex(0) +6 >Emitted(7, 32) Source(15, 32) + SourceIndex(0) +7 >Emitted(7, 33) Source(15, 33) + SourceIndex(0) +--- +>>> /**@internal*/ method(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > method +1->Emitted(8, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(8, 19) Source(16, 19) + SourceIndex(0) +3 >Emitted(8, 20) Source(16, 20) + SourceIndex(0) +4 >Emitted(8, 26) Source(16, 26) + SourceIndex(0) +--- +>>> /**@internal*/ /**@internal*/ c: number; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^ +6 > ^^^^^^ +1->() { } + > +2 > /**@internal*/ +3 > get +4 > c +5 > () { return 10; } + > /**@internal*/ set c(val: +6 > number +1->Emitted(9, 5) Source(17, 5) + SourceIndex(0) +2 >Emitted(9, 19) Source(17, 19) + SourceIndex(0) +3 >Emitted(9, 35) Source(17, 24) + SourceIndex(0) +4 >Emitted(9, 36) Source(17, 25) + SourceIndex(0) +5 >Emitted(9, 38) Source(18, 31) + SourceIndex(0) +6 >Emitted(9, 44) Source(18, 37) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^-> +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> /**@internal*/ class C { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +1->{ + > +2 > /**@internal*/ +3 > +4 > export class +5 > C +1->Emitted(12, 5) Source(21, 5) + SourceIndex(0) +2 >Emitted(12, 19) Source(21, 19) + SourceIndex(0) +3 >Emitted(12, 20) Source(21, 20) + SourceIndex(0) +4 >Emitted(12, 26) Source(21, 33) + SourceIndex(0) +5 >Emitted(12, 27) Source(21, 34) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 38) + SourceIndex(0) +--- +>>> /**@internal*/ function foo(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^ +7 > ^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () {} +1->Emitted(14, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(14, 19) Source(22, 19) + SourceIndex(0) +3 >Emitted(14, 20) Source(22, 20) + SourceIndex(0) +4 >Emitted(14, 29) Source(22, 36) + SourceIndex(0) +5 >Emitted(14, 32) Source(22, 39) + SourceIndex(0) +6 >Emitted(14, 41) Source(22, 44) + SourceIndex(0) +--- +>>> /**@internal*/ namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > +1->Emitted(15, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(15, 19) Source(23, 19) + SourceIndex(0) +3 >Emitted(15, 20) Source(23, 20) + SourceIndex(0) +4 >Emitted(15, 30) Source(23, 37) + SourceIndex(0) +5 >Emitted(15, 43) Source(23, 50) + SourceIndex(0) +6 >Emitted(15, 44) Source(23, 51) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 53) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 66) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 70) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 72) + SourceIndex(0) +--- +>>> /**@internal*/ namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > . +7 > something +8 > +1->Emitted(19, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(19, 19) Source(24, 19) + SourceIndex(0) +3 >Emitted(19, 20) Source(24, 20) + SourceIndex(0) +4 >Emitted(19, 30) Source(24, 37) + SourceIndex(0) +5 >Emitted(19, 39) Source(24, 46) + SourceIndex(0) +6 >Emitted(19, 40) Source(24, 47) + SourceIndex(0) +7 >Emitted(19, 49) Source(24, 56) + SourceIndex(0) +8 >Emitted(19, 50) Source(24, 57) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 59) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 72) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 81) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 84) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 86) + SourceIndex(0) +--- +>>> /**@internal*/ export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^ +6 > ^^^^^^^^^^ +7 > ^^^ +8 > ^^^^^^^^^^^^^ +9 > ^ +10> ^ +11> ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export +5 > import +6 > someImport +7 > = +8 > someNamespace +9 > . +10> C +11> ; +1->Emitted(23, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(23, 19) Source(25, 19) + SourceIndex(0) +3 >Emitted(23, 20) Source(25, 20) + SourceIndex(0) +4 >Emitted(23, 26) Source(25, 26) + SourceIndex(0) +5 >Emitted(23, 34) Source(25, 34) + SourceIndex(0) +6 >Emitted(23, 44) Source(25, 44) + SourceIndex(0) +7 >Emitted(23, 47) Source(25, 47) + SourceIndex(0) +8 >Emitted(23, 60) Source(25, 60) + SourceIndex(0) +9 >Emitted(23, 61) Source(25, 61) + SourceIndex(0) +10>Emitted(23, 62) Source(25, 62) + SourceIndex(0) +11>Emitted(23, 63) Source(25, 63) + SourceIndex(0) +--- +>>> /**@internal*/ type internalType = internalC; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(24, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(24, 19) Source(26, 19) + SourceIndex(0) +3 >Emitted(24, 20) Source(26, 20) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 32) + SourceIndex(0) +5 >Emitted(24, 37) Source(26, 44) + SourceIndex(0) +6 >Emitted(24, 40) Source(26, 47) + SourceIndex(0) +7 >Emitted(24, 49) Source(26, 56) + SourceIndex(0) +8 >Emitted(24, 50) Source(26, 57) + SourceIndex(0) +--- +>>> /**@internal*/ const internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > export +4 > const +5 > internalConst +6 > = 10 +7 > ; +1 >Emitted(25, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(25, 19) Source(27, 19) + SourceIndex(0) +3 >Emitted(25, 20) Source(27, 27) + SourceIndex(0) +4 >Emitted(25, 26) Source(27, 33) + SourceIndex(0) +5 >Emitted(25, 39) Source(27, 46) + SourceIndex(0) +6 >Emitted(25, 44) Source(27, 51) + SourceIndex(0) +7 >Emitted(25, 45) Source(27, 52) + SourceIndex(0) +--- +>>> /**@internal*/ enum internalEnum { +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum +1 >Emitted(26, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(26, 19) Source(28, 19) + SourceIndex(0) +3 >Emitted(26, 20) Source(28, 20) + SourceIndex(0) +4 >Emitted(26, 25) Source(28, 32) + SourceIndex(0) +5 >Emitted(26, 37) Source(28, 44) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 48) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 48) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 51) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 51) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 54) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 54) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 56) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>/**@internal*/ declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^^^ +1-> + > +2 >/**@internal*/ +3 > +4 > class +5 > internalC +1->Emitted(32, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 15) + SourceIndex(0) +3 >Emitted(32, 16) Source(30, 16) + SourceIndex(0) +4 >Emitted(32, 30) Source(30, 22) + SourceIndex(0) +5 >Emitted(32, 39) Source(30, 31) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 34) + SourceIndex(0) +--- +>>>/**@internal*/ declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^^^^^ +7 > ^-> +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () {} +1->Emitted(34, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(34, 15) Source(31, 15) + SourceIndex(0) +3 >Emitted(34, 16) Source(31, 16) + SourceIndex(0) +4 >Emitted(34, 33) Source(31, 25) + SourceIndex(0) +5 >Emitted(34, 44) Source(31, 36) + SourceIndex(0) +6 >Emitted(34, 53) Source(31, 41) + SourceIndex(0) +--- +>>>/**@internal*/ declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > +1->Emitted(35, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(35, 15) Source(32, 15) + SourceIndex(0) +3 >Emitted(35, 16) Source(32, 16) + SourceIndex(0) +4 >Emitted(35, 34) Source(32, 26) + SourceIndex(0) +5 >Emitted(35, 51) Source(32, 43) + SourceIndex(0) +6 >Emitted(35, 52) Source(32, 44) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 46) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 59) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 68) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 71) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 73) + SourceIndex(0) +--- +>>>/**@internal*/ declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > . +7 > something +8 > +1->Emitted(39, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(39, 15) Source(33, 15) + SourceIndex(0) +3 >Emitted(39, 16) Source(33, 16) + SourceIndex(0) +4 >Emitted(39, 34) Source(33, 26) + SourceIndex(0) +5 >Emitted(39, 47) Source(33, 39) + SourceIndex(0) +6 >Emitted(39, 48) Source(33, 40) + SourceIndex(0) +7 >Emitted(39, 57) Source(33, 49) + SourceIndex(0) +8 >Emitted(39, 58) Source(33, 50) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 52) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 65) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 74) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 77) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 79) + SourceIndex(0) +--- +>>>/**@internal*/ import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(43, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(43, 15) Source(34, 15) + SourceIndex(0) +3 >Emitted(43, 16) Source(34, 16) + SourceIndex(0) +4 >Emitted(43, 23) Source(34, 23) + SourceIndex(0) +5 >Emitted(43, 37) Source(34, 37) + SourceIndex(0) +6 >Emitted(43, 40) Source(34, 40) + SourceIndex(0) +7 >Emitted(43, 57) Source(34, 57) + SourceIndex(0) +8 >Emitted(43, 58) Source(34, 58) + SourceIndex(0) +9 >Emitted(43, 67) Source(34, 67) + SourceIndex(0) +10>Emitted(43, 68) Source(34, 68) + SourceIndex(0) +--- +>>>/**@internal*/ declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(44, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(44, 15) Source(35, 15) + SourceIndex(0) +3 >Emitted(44, 16) Source(35, 16) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 21) + SourceIndex(0) +5 >Emitted(44, 41) Source(35, 33) + SourceIndex(0) +6 >Emitted(44, 44) Source(35, 36) + SourceIndex(0) +7 >Emitted(44, 53) Source(35, 45) + SourceIndex(0) +8 >Emitted(44, 54) Source(35, 46) + SourceIndex(0) +--- +>>>/**@internal*/ declare const internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > +5 > const +6 > internalConst +7 > = 10 +8 > ; +1 >Emitted(45, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(45, 15) Source(36, 15) + SourceIndex(0) +3 >Emitted(45, 16) Source(36, 16) + SourceIndex(0) +4 >Emitted(45, 24) Source(36, 16) + SourceIndex(0) +5 >Emitted(45, 30) Source(36, 22) + SourceIndex(0) +6 >Emitted(45, 43) Source(36, 35) + SourceIndex(0) +7 >Emitted(45, 48) Source(36, 40) + SourceIndex(0) +8 >Emitted(45, 49) Source(36, 41) + SourceIndex(0) +--- +>>>/**@internal*/ declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum +1 >Emitted(46, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(46, 15) Source(37, 15) + SourceIndex(0) +3 >Emitted(46, 16) Source(37, 16) + SourceIndex(0) +4 >Emitted(46, 29) Source(37, 21) + SourceIndex(0) +5 >Emitted(46, 41) Source(37, 33) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 37) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 37) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 40) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 40) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 43) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 43) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(9, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(9, 19) Source(14, 19) + SourceIndex(0) +3 >Emitted(9, 20) Source(14, 20) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(10, 5) Source(14, 36) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 37) + SourceIndex(0) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(11, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(11, 19) Source(16, 19) + SourceIndex(0) +3 >Emitted(11, 20) Source(16, 20) + SourceIndex(0) +4 >Emitted(11, 44) Source(16, 26) + SourceIndex(0) +5 >Emitted(11, 47) Source(16, 20) + SourceIndex(0) +6 >Emitted(11, 61) Source(16, 31) + SourceIndex(0) +7 >Emitted(11, 62) Source(16, 32) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(12, 5) Source(17, 20) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 24) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 25) + SourceIndex(0) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(13, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(13, 23) Source(17, 19) + SourceIndex(0) +3 >Emitted(13, 29) Source(17, 20) + SourceIndex(0) +4 >Emitted(13, 43) Source(17, 30) + SourceIndex(0) +5 >Emitted(13, 50) Source(17, 37) + SourceIndex(0) +6 >Emitted(13, 52) Source(17, 39) + SourceIndex(0) +7 >Emitted(13, 53) Source(17, 40) + SourceIndex(0) +8 >Emitted(13, 54) Source(17, 41) + SourceIndex(0) +9 >Emitted(13, 55) Source(17, 42) + SourceIndex(0) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(14, 9) Source(18, 5) + SourceIndex(0) +2 >Emitted(14, 23) Source(18, 19) + SourceIndex(0) +3 >Emitted(14, 29) Source(18, 20) + SourceIndex(0) +4 >Emitted(14, 39) Source(18, 26) + SourceIndex(0) +5 >Emitted(14, 42) Source(18, 37) + SourceIndex(0) +6 >Emitted(14, 46) Source(18, 41) + SourceIndex(0) +7 >Emitted(14, 47) Source(18, 42) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 42) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(22, 5) Source(21, 5) + SourceIndex(0) +2 >Emitted(22, 19) Source(21, 19) + SourceIndex(0) +3 >Emitted(22, 20) Source(21, 20) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 20) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 38) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 37) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 38) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 37) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 38) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 20) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 38) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 33) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 34) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 38) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 38) + SourceIndex(0) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(28, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(28, 19) Source(22, 19) + SourceIndex(0) +3 >Emitted(28, 20) Source(22, 20) + SourceIndex(0) +4 >Emitted(28, 29) Source(22, 36) + SourceIndex(0) +5 >Emitted(28, 32) Source(22, 39) + SourceIndex(0) +6 >Emitted(28, 37) Source(22, 43) + SourceIndex(0) +7 >Emitted(28, 38) Source(22, 44) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(29, 5) Source(22, 36) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 39) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 44) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 44) + SourceIndex(0) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(30, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(30, 19) Source(23, 19) + SourceIndex(0) +3 >Emitted(30, 20) Source(23, 20) + SourceIndex(0) +4 >Emitted(30, 24) Source(23, 37) + SourceIndex(0) +5 >Emitted(30, 37) Source(23, 50) + SourceIndex(0) +6 >Emitted(30, 38) Source(23, 72) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(31, 5) Source(23, 20) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 37) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 50) + SourceIndex(0) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 53) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 53) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 70) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 69) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 69) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 70) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 53) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 70) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 66) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 67) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 70) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 70) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 71) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 72) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 37) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 50) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 37) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 50) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 37) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 50) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 72) + SourceIndex(0) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(39, 19) Source(24, 19) + SourceIndex(0) +3 >Emitted(39, 20) Source(24, 20) + SourceIndex(0) +4 >Emitted(39, 24) Source(24, 37) + SourceIndex(0) +5 >Emitted(39, 33) Source(24, 46) + SourceIndex(0) +6 >Emitted(39, 34) Source(24, 86) + SourceIndex(0) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(40, 5) Source(24, 20) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 37) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 46) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 47) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 56) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 86) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 47) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 47) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 56) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 59) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 59) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 84) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 83) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 84) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 83) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 84) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 59) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 84) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 72) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 81) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 84) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 84) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 85) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 86) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 47) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 56) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 47) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 56) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 47) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 56) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 86) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 85) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 86) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 37) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 46) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 37) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 46) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 37) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 46) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 86) + SourceIndex(0) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(51, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(51, 19) Source(25, 19) + SourceIndex(0) +3 >Emitted(51, 20) Source(25, 34) + SourceIndex(0) +4 >Emitted(51, 38) Source(25, 44) + SourceIndex(0) +5 >Emitted(51, 41) Source(25, 47) + SourceIndex(0) +6 >Emitted(51, 54) Source(25, 60) + SourceIndex(0) +7 >Emitted(51, 55) Source(25, 61) + SourceIndex(0) +8 >Emitted(51, 56) Source(25, 62) + SourceIndex(0) +9 >Emitted(51, 57) Source(25, 63) + SourceIndex(0) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(52, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(52, 19) Source(27, 19) + SourceIndex(0) +3 >Emitted(52, 20) Source(27, 33) + SourceIndex(0) +4 >Emitted(52, 41) Source(27, 46) + SourceIndex(0) +5 >Emitted(52, 44) Source(27, 49) + SourceIndex(0) +6 >Emitted(52, 46) Source(27, 51) + SourceIndex(0) +7 >Emitted(52, 47) Source(27, 52) + SourceIndex(0) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(53, 19) Source(28, 19) + SourceIndex(0) +3 >Emitted(53, 20) Source(28, 20) + SourceIndex(0) +4 >Emitted(53, 24) Source(28, 32) + SourceIndex(0) +5 >Emitted(53, 36) Source(28, 56) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(54, 5) Source(28, 20) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 32) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 44) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 47) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 48) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 48) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 50) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 51) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 51) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 53) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 54) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 54) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 55) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 56) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 32) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 44) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 32) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 44) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 32) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 44) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 56) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(60, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(60, 15) Source(30, 15) + SourceIndex(0) +3 >Emitted(60, 16) Source(30, 16) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 16) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 34) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 33) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 34) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 33) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 34) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 16) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 34) + SourceIndex(0) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(65, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(65, 15) Source(31, 15) + SourceIndex(0) +3 >Emitted(65, 16) Source(31, 16) + SourceIndex(0) +4 >Emitted(65, 25) Source(31, 25) + SourceIndex(0) +5 >Emitted(65, 36) Source(31, 36) + SourceIndex(0) +6 >Emitted(65, 41) Source(31, 40) + SourceIndex(0) +7 >Emitted(65, 42) Source(31, 41) + SourceIndex(0) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(66, 15) Source(32, 15) + SourceIndex(0) +3 >Emitted(66, 16) Source(32, 16) + SourceIndex(0) +4 >Emitted(66, 20) Source(32, 26) + SourceIndex(0) +5 >Emitted(66, 37) Source(32, 43) + SourceIndex(0) +6 >Emitted(66, 38) Source(32, 73) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(67, 1) Source(32, 16) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 26) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 43) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 46) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 46) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 71) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 70) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 71) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 70) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 71) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 46) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 71) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 59) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 68) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 71) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 71) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 72) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 73) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 26) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 43) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 26) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 43) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 73) + SourceIndex(0) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(75, 15) Source(33, 15) + SourceIndex(0) +3 >Emitted(75, 16) Source(33, 16) + SourceIndex(0) +4 >Emitted(75, 20) Source(33, 26) + SourceIndex(0) +5 >Emitted(75, 33) Source(33, 39) + SourceIndex(0) +6 >Emitted(75, 34) Source(33, 79) + SourceIndex(0) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(76, 1) Source(33, 16) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 26) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 39) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 40) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 49) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 79) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 40) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 40) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 49) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 52) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 77) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 76) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 77) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 76) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 77) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 52) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 77) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 65) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 74) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 77) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 77) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 78) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 79) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 40) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 49) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 40) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 49) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 40) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 49) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 79) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 78) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 79) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 26) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 39) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 26) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 39) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 79) + SourceIndex(0) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(87, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(87, 15) Source(34, 15) + SourceIndex(0) +3 >Emitted(87, 16) Source(34, 16) + SourceIndex(0) +4 >Emitted(87, 20) Source(34, 23) + SourceIndex(0) +5 >Emitted(87, 34) Source(34, 37) + SourceIndex(0) +6 >Emitted(87, 37) Source(34, 40) + SourceIndex(0) +7 >Emitted(87, 54) Source(34, 57) + SourceIndex(0) +8 >Emitted(87, 55) Source(34, 58) + SourceIndex(0) +9 >Emitted(87, 64) Source(34, 67) + SourceIndex(0) +10>Emitted(87, 65) Source(34, 68) + SourceIndex(0) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(88, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(88, 15) Source(36, 15) + SourceIndex(0) +3 >Emitted(88, 16) Source(36, 16) + SourceIndex(0) +4 >Emitted(88, 20) Source(36, 22) + SourceIndex(0) +5 >Emitted(88, 33) Source(36, 35) + SourceIndex(0) +6 >Emitted(88, 36) Source(36, 38) + SourceIndex(0) +7 >Emitted(88, 38) Source(36, 40) + SourceIndex(0) +8 >Emitted(88, 39) Source(36, 41) + SourceIndex(0) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(89, 15) Source(37, 15) + SourceIndex(0) +3 >Emitted(89, 16) Source(37, 16) + SourceIndex(0) +4 >Emitted(89, 20) Source(37, 21) + SourceIndex(0) +5 >Emitted(89, 32) Source(37, 45) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(90, 1) Source(37, 16) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 21) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 33) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 36) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 37) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 37) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 39) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 40) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 40) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 42) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 43) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 43) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 44) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 45) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 21) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 33) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 21) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 33) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 45) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/first-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/**@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/first/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "outFile": "./bin/first-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "first_PART1.ts", + "first_part2.ts", + "first_part3.ts" + ], + "references": [ + ] +} + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /**@internal*/ constructor() { } + /**@internal*/ prop: string; + /**@internal*/ method() { } + /**@internal*/ get c() { return 10; } + /**@internal*/ set c(val: number) { } +} +namespace normalN { + /**@internal*/ export class C { } + /**@internal*/ export function foo() {} + /**@internal*/ export namespace someNamespace { export class C {} } + /**@internal*/ export namespace someOther.something { export class someClass {} } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ export type internalType = internalC; + /**@internal*/ export const internalConst = 10; + /**@internal*/ export enum internalEnum { a, b, c } +} +/**@internal*/ class internalC {} +/**@internal*/ function internalfoo() {} +/**@internal*/ namespace internalNamespace { export class someClass {} } +/**@internal*/ namespace internalOther.something { export class someClass {} } +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ type internalType = internalC; +/**@internal*/ const internalConst = 10; +/**@internal*/ enum internalEnum { a, b, c } + +//// [/src/second/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, + "outFile": "../2/second-output.js", + "skipDefaultLibCheck": true + }, + "references": [ + ] +} + + +//// [/src/third/thirdjs/output/third-output.d.ts] +/**@internal*/ interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + /**@internal*/ constructor(); + /**@internal*/ prop: string; + /**@internal*/ method(): void; + /**@internal*/ /**@internal*/ c: number; +} +declare namespace normalN { + /**@internal*/ class C { + } + /**@internal*/ function foo(): void; + /**@internal*/ namespace someNamespace { + class C { + } + } + /**@internal*/ namespace someOther.something { + class someClass { + } + } + /**@internal*/ export import someImport = someNamespace.C; + /**@internal*/ type internalType = internalC; + /**@internal*/ const internalConst = 10; + /**@internal*/ enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +/**@internal*/ declare class internalC { +} +/**@internal*/ declare function internalfoo(): void; +/**@internal*/ declare namespace internalNamespace { + class someClass { + } +} +/**@internal*/ declare namespace internalOther.something { + class someClass { + } +} +/**@internal*/ import internalImport = internalNamespace.someClass; +/**@internal*/ declare type internalType = internalC; +/**@internal*/ declare const internalConst = 10; +/**@internal*/ declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,gBAAK,CAAC,EACM,MAAM;CACnC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>/**@internal*/ interface TheFirst { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^ +1 > +2 >/**@internal*/ +3 > +4 > interface +5 > TheFirst +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) +3 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) +4 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) +5 >Emitted(1, 34) Source(1, 34) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^-> +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> /**@internal*/ constructor(); +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^-> +1-> { + > +2 > /**@internal*/ +1->Emitted(15, 5) Source(14, 5) + SourceIndex(2) +2 >Emitted(15, 19) Source(14, 19) + SourceIndex(2) +--- +>>> /**@internal*/ prop: string; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^ +6 > ^^^^^^ +7 > ^ +8 > ^^^-> +1-> constructor() { } + > +2 > /**@internal*/ +3 > +4 > prop +5 > : +6 > string +7 > ; +1->Emitted(16, 5) Source(15, 5) + SourceIndex(2) +2 >Emitted(16, 19) Source(15, 19) + SourceIndex(2) +3 >Emitted(16, 20) Source(15, 20) + SourceIndex(2) +4 >Emitted(16, 24) Source(15, 24) + SourceIndex(2) +5 >Emitted(16, 26) Source(15, 26) + SourceIndex(2) +6 >Emitted(16, 32) Source(15, 32) + SourceIndex(2) +7 >Emitted(16, 33) Source(15, 33) + SourceIndex(2) +--- +>>> /**@internal*/ method(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > method +1->Emitted(17, 5) Source(16, 5) + SourceIndex(2) +2 >Emitted(17, 19) Source(16, 19) + SourceIndex(2) +3 >Emitted(17, 20) Source(16, 20) + SourceIndex(2) +4 >Emitted(17, 26) Source(16, 26) + SourceIndex(2) +--- +>>> /**@internal*/ /**@internal*/ c: number; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^ +6 > ^^^^^^ +1->() { } + > +2 > /**@internal*/ +3 > get +4 > c +5 > () { return 10; } + > /**@internal*/ set c(val: +6 > number +1->Emitted(18, 5) Source(17, 5) + SourceIndex(2) +2 >Emitted(18, 19) Source(17, 19) + SourceIndex(2) +3 >Emitted(18, 35) Source(17, 24) + SourceIndex(2) +4 >Emitted(18, 36) Source(17, 25) + SourceIndex(2) +5 >Emitted(18, 38) Source(18, 31) + SourceIndex(2) +6 >Emitted(18, 44) Source(18, 37) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^-> +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> /**@internal*/ class C { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^ +1->{ + > +2 > /**@internal*/ +3 > +4 > export class +5 > C +1->Emitted(21, 5) Source(21, 5) + SourceIndex(2) +2 >Emitted(21, 19) Source(21, 19) + SourceIndex(2) +3 >Emitted(21, 20) Source(21, 20) + SourceIndex(2) +4 >Emitted(21, 26) Source(21, 33) + SourceIndex(2) +5 >Emitted(21, 27) Source(21, 34) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 38) + SourceIndex(2) +--- +>>> /**@internal*/ function foo(): void; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^ +7 > ^^^^^-> +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () {} +1->Emitted(23, 5) Source(22, 5) + SourceIndex(2) +2 >Emitted(23, 19) Source(22, 19) + SourceIndex(2) +3 >Emitted(23, 20) Source(22, 20) + SourceIndex(2) +4 >Emitted(23, 29) Source(22, 36) + SourceIndex(2) +5 >Emitted(23, 32) Source(22, 39) + SourceIndex(2) +6 >Emitted(23, 41) Source(22, 44) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > +1->Emitted(24, 5) Source(23, 5) + SourceIndex(2) +2 >Emitted(24, 19) Source(23, 19) + SourceIndex(2) +3 >Emitted(24, 20) Source(23, 20) + SourceIndex(2) +4 >Emitted(24, 30) Source(23, 37) + SourceIndex(2) +5 >Emitted(24, 43) Source(23, 50) + SourceIndex(2) +6 >Emitted(24, 44) Source(23, 51) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 53) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 66) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 70) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 72) + SourceIndex(2) +--- +>>> /**@internal*/ namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^ +5 > ^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > . +7 > something +8 > +1->Emitted(28, 5) Source(24, 5) + SourceIndex(2) +2 >Emitted(28, 19) Source(24, 19) + SourceIndex(2) +3 >Emitted(28, 20) Source(24, 20) + SourceIndex(2) +4 >Emitted(28, 30) Source(24, 37) + SourceIndex(2) +5 >Emitted(28, 39) Source(24, 46) + SourceIndex(2) +6 >Emitted(28, 40) Source(24, 47) + SourceIndex(2) +7 >Emitted(28, 49) Source(24, 56) + SourceIndex(2) +8 >Emitted(28, 50) Source(24, 57) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 59) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 72) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 81) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 84) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 86) + SourceIndex(2) +--- +>>> /**@internal*/ export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^ +6 > ^^^^^^^^^^ +7 > ^^^ +8 > ^^^^^^^^^^^^^ +9 > ^ +10> ^ +11> ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export +5 > import +6 > someImport +7 > = +8 > someNamespace +9 > . +10> C +11> ; +1->Emitted(32, 5) Source(25, 5) + SourceIndex(2) +2 >Emitted(32, 19) Source(25, 19) + SourceIndex(2) +3 >Emitted(32, 20) Source(25, 20) + SourceIndex(2) +4 >Emitted(32, 26) Source(25, 26) + SourceIndex(2) +5 >Emitted(32, 34) Source(25, 34) + SourceIndex(2) +6 >Emitted(32, 44) Source(25, 44) + SourceIndex(2) +7 >Emitted(32, 47) Source(25, 47) + SourceIndex(2) +8 >Emitted(32, 60) Source(25, 60) + SourceIndex(2) +9 >Emitted(32, 61) Source(25, 61) + SourceIndex(2) +10>Emitted(32, 62) Source(25, 62) + SourceIndex(2) +11>Emitted(32, 63) Source(25, 63) + SourceIndex(2) +--- +>>> /**@internal*/ type internalType = internalC; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(33, 5) Source(26, 5) + SourceIndex(2) +2 >Emitted(33, 19) Source(26, 19) + SourceIndex(2) +3 >Emitted(33, 20) Source(26, 20) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 32) + SourceIndex(2) +5 >Emitted(33, 37) Source(26, 44) + SourceIndex(2) +6 >Emitted(33, 40) Source(26, 47) + SourceIndex(2) +7 >Emitted(33, 49) Source(26, 56) + SourceIndex(2) +8 >Emitted(33, 50) Source(26, 57) + SourceIndex(2) +--- +>>> /**@internal*/ const internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > export +4 > const +5 > internalConst +6 > = 10 +7 > ; +1 >Emitted(34, 5) Source(27, 5) + SourceIndex(2) +2 >Emitted(34, 19) Source(27, 19) + SourceIndex(2) +3 >Emitted(34, 20) Source(27, 27) + SourceIndex(2) +4 >Emitted(34, 26) Source(27, 33) + SourceIndex(2) +5 >Emitted(34, 39) Source(27, 46) + SourceIndex(2) +6 >Emitted(34, 44) Source(27, 51) + SourceIndex(2) +7 >Emitted(34, 45) Source(27, 52) + SourceIndex(2) +--- +>>> /**@internal*/ enum internalEnum { +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum +1 >Emitted(35, 5) Source(28, 5) + SourceIndex(2) +2 >Emitted(35, 19) Source(28, 19) + SourceIndex(2) +3 >Emitted(35, 20) Source(28, 20) + SourceIndex(2) +4 >Emitted(35, 25) Source(28, 32) + SourceIndex(2) +5 >Emitted(35, 37) Source(28, 44) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 47) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 48) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 48) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 50) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 51) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 51) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 53) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 54) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 54) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 56) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>/**@internal*/ declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^^^ +1-> + > +2 >/**@internal*/ +3 > +4 > class +5 > internalC +1->Emitted(41, 1) Source(30, 1) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 15) + SourceIndex(2) +3 >Emitted(41, 16) Source(30, 16) + SourceIndex(2) +4 >Emitted(41, 30) Source(30, 22) + SourceIndex(2) +5 >Emitted(41, 39) Source(30, 31) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 34) + SourceIndex(2) +--- +>>>/**@internal*/ declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^^^^^ +7 > ^-> +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () {} +1->Emitted(43, 1) Source(31, 1) + SourceIndex(2) +2 >Emitted(43, 15) Source(31, 15) + SourceIndex(2) +3 >Emitted(43, 16) Source(31, 16) + SourceIndex(2) +4 >Emitted(43, 33) Source(31, 25) + SourceIndex(2) +5 >Emitted(43, 44) Source(31, 36) + SourceIndex(2) +6 >Emitted(43, 53) Source(31, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > +1->Emitted(44, 1) Source(32, 1) + SourceIndex(2) +2 >Emitted(44, 15) Source(32, 15) + SourceIndex(2) +3 >Emitted(44, 16) Source(32, 16) + SourceIndex(2) +4 >Emitted(44, 34) Source(32, 26) + SourceIndex(2) +5 >Emitted(44, 51) Source(32, 43) + SourceIndex(2) +6 >Emitted(44, 52) Source(32, 44) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 46) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 59) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 68) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 71) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 73) + SourceIndex(2) +--- +>>>/**@internal*/ declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > . +7 > something +8 > +1->Emitted(48, 1) Source(33, 1) + SourceIndex(2) +2 >Emitted(48, 15) Source(33, 15) + SourceIndex(2) +3 >Emitted(48, 16) Source(33, 16) + SourceIndex(2) +4 >Emitted(48, 34) Source(33, 26) + SourceIndex(2) +5 >Emitted(48, 47) Source(33, 39) + SourceIndex(2) +6 >Emitted(48, 48) Source(33, 40) + SourceIndex(2) +7 >Emitted(48, 57) Source(33, 49) + SourceIndex(2) +8 >Emitted(48, 58) Source(33, 50) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 52) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 65) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 74) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 77) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 79) + SourceIndex(2) +--- +>>>/**@internal*/ import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(52, 1) Source(34, 1) + SourceIndex(2) +2 >Emitted(52, 15) Source(34, 15) + SourceIndex(2) +3 >Emitted(52, 16) Source(34, 16) + SourceIndex(2) +4 >Emitted(52, 23) Source(34, 23) + SourceIndex(2) +5 >Emitted(52, 37) Source(34, 37) + SourceIndex(2) +6 >Emitted(52, 40) Source(34, 40) + SourceIndex(2) +7 >Emitted(52, 57) Source(34, 57) + SourceIndex(2) +8 >Emitted(52, 58) Source(34, 58) + SourceIndex(2) +9 >Emitted(52, 67) Source(34, 67) + SourceIndex(2) +10>Emitted(52, 68) Source(34, 68) + SourceIndex(2) +--- +>>>/**@internal*/ declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > type +5 > internalType +6 > = +7 > internalC +8 > ; +1 >Emitted(53, 1) Source(35, 1) + SourceIndex(2) +2 >Emitted(53, 15) Source(35, 15) + SourceIndex(2) +3 >Emitted(53, 16) Source(35, 16) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 21) + SourceIndex(2) +5 >Emitted(53, 41) Source(35, 33) + SourceIndex(2) +6 >Emitted(53, 44) Source(35, 36) + SourceIndex(2) +7 >Emitted(53, 53) Source(35, 45) + SourceIndex(2) +8 >Emitted(53, 54) Source(35, 46) + SourceIndex(2) +--- +>>>/**@internal*/ declare const internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^ +5 > ^^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > +5 > const +6 > internalConst +7 > = 10 +8 > ; +1 >Emitted(54, 1) Source(36, 1) + SourceIndex(2) +2 >Emitted(54, 15) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 16) Source(36, 16) + SourceIndex(2) +4 >Emitted(54, 24) Source(36, 16) + SourceIndex(2) +5 >Emitted(54, 30) Source(36, 22) + SourceIndex(2) +6 >Emitted(54, 43) Source(36, 35) + SourceIndex(2) +7 >Emitted(54, 48) Source(36, 40) + SourceIndex(2) +8 >Emitted(54, 49) Source(36, 41) + SourceIndex(2) +--- +>>>/**@internal*/ declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum +1 >Emitted(55, 1) Source(37, 1) + SourceIndex(2) +2 >Emitted(55, 15) Source(37, 15) + SourceIndex(2) +3 >Emitted(55, 16) Source(37, 16) + SourceIndex(2) +4 >Emitted(55, 29) Source(37, 21) + SourceIndex(2) +5 >Emitted(55, 41) Source(37, 33) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 36) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 37) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 37) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 39) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 40) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 40) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 42) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 43) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 43) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 45) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /**@internal*/ function normalC() { + } + /**@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /**@internal*/ get: function () { return 10; }, + /**@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /**@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /**@internal*/ function foo() { } + normalN.foo = foo; + /**@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /**@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /**@internal*/ normalN.someImport = someNamespace.C; + /**@internal*/ normalN.internalConst = 10; + /**@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/**@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/**@internal*/ function internalfoo() { } +/**@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/**@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/**@internal*/ var internalImport = internalNamespace.someClass; +/**@internal*/ var internalConst = 10; +/**@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/**@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /**@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /**@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +3 >Emitted(16, 20) Source(14, 20) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 36) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 37) + SourceIndex(3) +--- +>>> /**@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /**@internal*/ prop: string; + > +2 > /**@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +3 >Emitted(18, 20) Source(16, 20) + SourceIndex(3) +4 >Emitted(18, 44) Source(16, 26) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 20) + SourceIndex(3) +6 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +7 >Emitted(18, 62) Source(16, 32) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^-> +1 > + > /**@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 20) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 24) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 25) + SourceIndex(3) +--- +>>> /**@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /**@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 23) Source(17, 19) + SourceIndex(3) +3 >Emitted(20, 29) Source(17, 20) + SourceIndex(3) +4 >Emitted(20, 43) Source(17, 30) + SourceIndex(3) +5 >Emitted(20, 50) Source(17, 37) + SourceIndex(3) +6 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +7 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +8 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +9 >Emitted(20, 55) Source(17, 42) + SourceIndex(3) +--- +>>> /**@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 23) Source(18, 19) + SourceIndex(3) +3 >Emitted(21, 29) Source(18, 20) + SourceIndex(3) +4 >Emitted(21, 39) Source(18, 26) + SourceIndex(3) +5 >Emitted(21, 42) Source(18, 37) + SourceIndex(3) +6 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +7 >Emitted(21, 47) Source(18, 42) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 42) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /**@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /**@internal*/ constructor() { } + > /**@internal*/ prop: string; + > /**@internal*/ method() { } + > /**@internal*/ get c() { return 10; } + > /**@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /**@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^-> +1-> { + > +2 > /**@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +3 >Emitted(29, 20) Source(21, 20) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 20) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 38) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 37) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 38) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 37) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 38) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 20) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 38) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 33) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 34) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 38) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 38) + SourceIndex(3) +--- +>>> /**@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +3 >Emitted(35, 20) Source(22, 20) + SourceIndex(3) +4 >Emitted(35, 29) Source(22, 36) + SourceIndex(3) +5 >Emitted(35, 32) Source(22, 39) + SourceIndex(3) +6 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +7 >Emitted(35, 38) Source(22, 44) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 36) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 39) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 44) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 44) + SourceIndex(3) +--- +>>> /**@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +3 >Emitted(37, 20) Source(23, 20) + SourceIndex(3) +4 >Emitted(37, 24) Source(23, 37) + SourceIndex(3) +5 >Emitted(37, 37) Source(23, 50) + SourceIndex(3) +6 >Emitted(37, 38) Source(23, 72) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 20) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 37) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 50) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 53) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 53) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 70) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 69) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 69) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 70) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 53) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 70) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 66) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 67) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 70) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 70) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 71) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 72) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 37) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 50) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 37) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 50) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 37) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 50) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 72) + SourceIndex(3) +--- +>>> /**@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /**@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +3 >Emitted(46, 20) Source(24, 20) + SourceIndex(3) +4 >Emitted(46, 24) Source(24, 37) + SourceIndex(3) +5 >Emitted(46, 33) Source(24, 46) + SourceIndex(3) +6 >Emitted(46, 34) Source(24, 86) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 20) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 37) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 46) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 47) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 56) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 86) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 47) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 47) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 56) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 59) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 59) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 84) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 83) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 84) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 83) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 84) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 59) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 84) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 72) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 81) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 84) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 84) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 85) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 86) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 47) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 56) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 47) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 56) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 47) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 56) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 86) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 85) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 86) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 37) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 46) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 37) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 46) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 37) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 46) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 86) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /**@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 19) Source(25, 19) + SourceIndex(3) +3 >Emitted(58, 20) Source(25, 34) + SourceIndex(3) +4 >Emitted(58, 38) Source(25, 44) + SourceIndex(3) +5 >Emitted(58, 41) Source(25, 47) + SourceIndex(3) +6 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +7 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +8 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +9 >Emitted(58, 57) Source(25, 63) + SourceIndex(3) +--- +>>> /**@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /**@internal*/ export type internalType = internalC; + > +2 > /**@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 19) Source(27, 19) + SourceIndex(3) +3 >Emitted(59, 20) Source(27, 33) + SourceIndex(3) +4 >Emitted(59, 41) Source(27, 46) + SourceIndex(3) +5 >Emitted(59, 44) Source(27, 49) + SourceIndex(3) +6 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +7 >Emitted(59, 47) Source(27, 52) + SourceIndex(3) +--- +>>> /**@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /**@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +3 >Emitted(60, 20) Source(28, 20) + SourceIndex(3) +4 >Emitted(60, 24) Source(28, 32) + SourceIndex(3) +5 >Emitted(60, 36) Source(28, 56) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 20) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 32) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 44) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 47) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 48) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 48) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 50) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 51) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 51) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 53) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 54) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 54) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 55) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 56) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 32) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 44) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 32) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 44) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 32) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 44) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 56) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /**@internal*/ export class C { } + > /**@internal*/ export function foo() {} + > /**@internal*/ export namespace someNamespace { export class C {} } + > /**@internal*/ export namespace someOther.something { export class someClass {} } + > /**@internal*/ export import someImport = someNamespace.C; + > /**@internal*/ export type internalType = internalC; + > /**@internal*/ export const internalConst = 10; + > /**@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/**@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^-> +1-> + > +2 >/**@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +3 >Emitted(67, 16) Source(30, 16) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 16) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 34) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 33) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 34) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 33) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 34) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 16) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 34) + SourceIndex(3) +--- +>>>/**@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/**@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +3 >Emitted(72, 16) Source(31, 16) + SourceIndex(3) +4 >Emitted(72, 25) Source(31, 25) + SourceIndex(3) +5 >Emitted(72, 36) Source(31, 36) + SourceIndex(3) +6 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +7 >Emitted(72, 42) Source(31, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +3 >Emitted(73, 16) Source(32, 16) + SourceIndex(3) +4 >Emitted(73, 20) Source(32, 26) + SourceIndex(3) +5 >Emitted(73, 37) Source(32, 43) + SourceIndex(3) +6 >Emitted(73, 38) Source(32, 73) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 16) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 26) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 43) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 46) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 46) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 71) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 70) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 71) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 70) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 71) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 46) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 71) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 59) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 68) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 71) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 71) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 72) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 73) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 26) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 43) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 26) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 43) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 73) + SourceIndex(3) +--- +>>>/**@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/**@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +3 >Emitted(82, 16) Source(33, 16) + SourceIndex(3) +4 >Emitted(82, 20) Source(33, 26) + SourceIndex(3) +5 >Emitted(82, 33) Source(33, 39) + SourceIndex(3) +6 >Emitted(82, 34) Source(33, 79) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 16) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 26) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 39) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 40) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 49) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 79) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 40) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 40) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 49) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 52) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 77) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 76) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 77) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 76) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 77) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 52) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 77) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 65) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 74) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 77) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 77) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 78) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 79) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 40) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 49) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 40) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 49) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 40) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 49) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 79) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 78) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 79) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 26) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 39) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 26) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 39) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 79) + SourceIndex(3) +--- +>>>/**@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/**@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +3 >Emitted(94, 16) Source(34, 16) + SourceIndex(3) +4 >Emitted(94, 20) Source(34, 23) + SourceIndex(3) +5 >Emitted(94, 34) Source(34, 37) + SourceIndex(3) +6 >Emitted(94, 37) Source(34, 40) + SourceIndex(3) +7 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +8 >Emitted(94, 55) Source(34, 58) + SourceIndex(3) +9 >Emitted(94, 64) Source(34, 67) + SourceIndex(3) +10>Emitted(94, 65) Source(34, 68) + SourceIndex(3) +--- +>>>/**@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/**@internal*/ type internalType = internalC; + > +2 >/**@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +3 >Emitted(95, 16) Source(36, 16) + SourceIndex(3) +4 >Emitted(95, 20) Source(36, 22) + SourceIndex(3) +5 >Emitted(95, 33) Source(36, 35) + SourceIndex(3) +6 >Emitted(95, 36) Source(36, 38) + SourceIndex(3) +7 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +8 >Emitted(95, 39) Source(36, 41) + SourceIndex(3) +--- +>>>/**@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/**@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +3 >Emitted(96, 16) Source(37, 16) + SourceIndex(3) +4 >Emitted(96, 20) Source(37, 21) + SourceIndex(3) +5 >Emitted(96, 32) Source(37, 45) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 16) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 21) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 33) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 36) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 37) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 37) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 39) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 40) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 40) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 42) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 43) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 43) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 44) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 45) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 21) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 33) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 21) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 33) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 45) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-with-comments-emit-enabled.js new file mode 100644 index 00000000000..c5e88879770 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal-with-comments-emit-enabled.js @@ -0,0 +1,5516 @@ +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(7, 5) Source(15, 19) + SourceIndex(0) +2 >Emitted(7, 9) Source(15, 23) + SourceIndex(0) +3 >Emitted(7, 11) Source(15, 25) + SourceIndex(0) +4 >Emitted(7, 17) Source(15, 31) + SourceIndex(0) +5 >Emitted(7, 18) Source(15, 32) + SourceIndex(0) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(8, 5) Source(16, 19) + SourceIndex(0) +2 >Emitted(8, 11) Source(16, 25) + SourceIndex(0) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(9, 19) Source(17, 23) + SourceIndex(0) +2 >Emitted(9, 20) Source(17, 24) + SourceIndex(0) +3 >Emitted(9, 22) Source(18, 30) + SourceIndex(0) +4 >Emitted(9, 28) Source(18, 36) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(12, 5) Source(21, 19) + SourceIndex(0) +2 >Emitted(12, 11) Source(21, 32) + SourceIndex(0) +3 >Emitted(12, 12) Source(21, 33) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 37) + SourceIndex(0) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(14, 5) Source(22, 19) + SourceIndex(0) +2 >Emitted(14, 14) Source(22, 35) + SourceIndex(0) +3 >Emitted(14, 17) Source(22, 38) + SourceIndex(0) +4 >Emitted(14, 26) Source(22, 43) + SourceIndex(0) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(15, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(15, 15) Source(23, 36) + SourceIndex(0) +3 >Emitted(15, 28) Source(23, 49) + SourceIndex(0) +4 >Emitted(15, 29) Source(23, 50) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 52) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 65) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 66) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 69) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 71) + SourceIndex(0) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(19, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(19, 15) Source(24, 36) + SourceIndex(0) +3 >Emitted(19, 24) Source(24, 45) + SourceIndex(0) +4 >Emitted(19, 25) Source(24, 46) + SourceIndex(0) +5 >Emitted(19, 34) Source(24, 55) + SourceIndex(0) +6 >Emitted(19, 35) Source(24, 56) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 58) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 71) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 80) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 83) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 85) + SourceIndex(0) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(23, 5) Source(25, 19) + SourceIndex(0) +2 >Emitted(23, 11) Source(25, 25) + SourceIndex(0) +3 >Emitted(23, 19) Source(25, 33) + SourceIndex(0) +4 >Emitted(23, 29) Source(25, 43) + SourceIndex(0) +5 >Emitted(23, 32) Source(25, 46) + SourceIndex(0) +6 >Emitted(23, 45) Source(25, 59) + SourceIndex(0) +7 >Emitted(23, 46) Source(25, 60) + SourceIndex(0) +8 >Emitted(23, 47) Source(25, 61) + SourceIndex(0) +9 >Emitted(23, 48) Source(25, 62) + SourceIndex(0) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(24, 5) Source(26, 19) + SourceIndex(0) +2 >Emitted(24, 10) Source(26, 31) + SourceIndex(0) +3 >Emitted(24, 22) Source(26, 43) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 46) + SourceIndex(0) +5 >Emitted(24, 34) Source(26, 55) + SourceIndex(0) +6 >Emitted(24, 35) Source(26, 56) + SourceIndex(0) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(25, 5) Source(27, 26) + SourceIndex(0) +2 >Emitted(25, 11) Source(27, 32) + SourceIndex(0) +3 >Emitted(25, 24) Source(27, 45) + SourceIndex(0) +4 >Emitted(25, 29) Source(27, 50) + SourceIndex(0) +5 >Emitted(25, 30) Source(27, 51) + SourceIndex(0) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(26, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(26, 10) Source(28, 31) + SourceIndex(0) +3 >Emitted(26, 22) Source(28, 43) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 47) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 47) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 50) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 50) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 53) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 53) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 55) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(32, 1) Source(30, 15) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 21) + SourceIndex(0) +3 >Emitted(32, 24) Source(30, 30) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 33) + SourceIndex(0) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(34, 1) Source(31, 15) + SourceIndex(0) +2 >Emitted(34, 18) Source(31, 24) + SourceIndex(0) +3 >Emitted(34, 29) Source(31, 35) + SourceIndex(0) +4 >Emitted(34, 38) Source(31, 40) + SourceIndex(0) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(35, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(35, 19) Source(32, 25) + SourceIndex(0) +3 >Emitted(35, 36) Source(32, 42) + SourceIndex(0) +4 >Emitted(35, 37) Source(32, 43) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 45) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 58) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 70) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 72) + SourceIndex(0) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(39, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(39, 19) Source(33, 25) + SourceIndex(0) +3 >Emitted(39, 32) Source(33, 38) + SourceIndex(0) +4 >Emitted(39, 33) Source(33, 39) + SourceIndex(0) +5 >Emitted(39, 42) Source(33, 48) + SourceIndex(0) +6 >Emitted(39, 43) Source(33, 49) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 51) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 64) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 73) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 76) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 78) + SourceIndex(0) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(43, 1) Source(34, 15) + SourceIndex(0) +2 >Emitted(43, 8) Source(34, 22) + SourceIndex(0) +3 >Emitted(43, 22) Source(34, 36) + SourceIndex(0) +4 >Emitted(43, 25) Source(34, 39) + SourceIndex(0) +5 >Emitted(43, 42) Source(34, 56) + SourceIndex(0) +6 >Emitted(43, 43) Source(34, 57) + SourceIndex(0) +7 >Emitted(43, 52) Source(34, 66) + SourceIndex(0) +8 >Emitted(43, 53) Source(34, 67) + SourceIndex(0) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(44, 1) Source(35, 15) + SourceIndex(0) +2 >Emitted(44, 14) Source(35, 20) + SourceIndex(0) +3 >Emitted(44, 26) Source(35, 32) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 35) + SourceIndex(0) +5 >Emitted(44, 38) Source(35, 44) + SourceIndex(0) +6 >Emitted(44, 39) Source(35, 45) + SourceIndex(0) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(45, 1) Source(36, 15) + SourceIndex(0) +2 >Emitted(45, 9) Source(36, 15) + SourceIndex(0) +3 >Emitted(45, 15) Source(36, 21) + SourceIndex(0) +4 >Emitted(45, 28) Source(36, 34) + SourceIndex(0) +5 >Emitted(45, 33) Source(36, 39) + SourceIndex(0) +6 >Emitted(45, 34) Source(36, 40) + SourceIndex(0) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(46, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(46, 14) Source(37, 20) + SourceIndex(0) +3 >Emitted(46, 26) Source(37, 32) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 36) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 36) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 39) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 39) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 42) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 42) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(9, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(9, 18) Source(14, 18) + SourceIndex(0) +3 >Emitted(9, 19) Source(14, 19) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(10, 5) Source(14, 35) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 36) + SourceIndex(0) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(11, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(11, 18) Source(16, 18) + SourceIndex(0) +3 >Emitted(11, 19) Source(16, 19) + SourceIndex(0) +4 >Emitted(11, 43) Source(16, 25) + SourceIndex(0) +5 >Emitted(11, 46) Source(16, 19) + SourceIndex(0) +6 >Emitted(11, 60) Source(16, 30) + SourceIndex(0) +7 >Emitted(11, 61) Source(16, 31) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(12, 5) Source(17, 19) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 23) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 24) + SourceIndex(0) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(13, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(13, 22) Source(17, 18) + SourceIndex(0) +3 >Emitted(13, 28) Source(17, 19) + SourceIndex(0) +4 >Emitted(13, 42) Source(17, 29) + SourceIndex(0) +5 >Emitted(13, 49) Source(17, 36) + SourceIndex(0) +6 >Emitted(13, 51) Source(17, 38) + SourceIndex(0) +7 >Emitted(13, 52) Source(17, 39) + SourceIndex(0) +8 >Emitted(13, 53) Source(17, 40) + SourceIndex(0) +9 >Emitted(13, 54) Source(17, 41) + SourceIndex(0) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(14, 9) Source(18, 5) + SourceIndex(0) +2 >Emitted(14, 22) Source(18, 18) + SourceIndex(0) +3 >Emitted(14, 28) Source(18, 19) + SourceIndex(0) +4 >Emitted(14, 38) Source(18, 25) + SourceIndex(0) +5 >Emitted(14, 41) Source(18, 36) + SourceIndex(0) +6 >Emitted(14, 45) Source(18, 40) + SourceIndex(0) +7 >Emitted(14, 46) Source(18, 41) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 41) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(22, 5) Source(21, 5) + SourceIndex(0) +2 >Emitted(22, 18) Source(21, 18) + SourceIndex(0) +3 >Emitted(22, 19) Source(21, 19) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 19) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 37) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 37) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 36) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 37) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 19) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 37) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 32) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 33) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 37) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 37) + SourceIndex(0) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(28, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(28, 18) Source(22, 18) + SourceIndex(0) +3 >Emitted(28, 19) Source(22, 19) + SourceIndex(0) +4 >Emitted(28, 28) Source(22, 35) + SourceIndex(0) +5 >Emitted(28, 31) Source(22, 38) + SourceIndex(0) +6 >Emitted(28, 36) Source(22, 42) + SourceIndex(0) +7 >Emitted(28, 37) Source(22, 43) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(29, 5) Source(22, 35) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 38) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 43) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 43) + SourceIndex(0) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(30, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(30, 18) Source(23, 18) + SourceIndex(0) +3 >Emitted(30, 19) Source(23, 19) + SourceIndex(0) +4 >Emitted(30, 23) Source(23, 36) + SourceIndex(0) +5 >Emitted(30, 36) Source(23, 49) + SourceIndex(0) +6 >Emitted(30, 37) Source(23, 71) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(31, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 36) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 49) + SourceIndex(0) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 52) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 69) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 69) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 68) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 69) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 52) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 69) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 65) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 66) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 69) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 69) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 70) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 71) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 36) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 49) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 36) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 49) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 36) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 49) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 71) + SourceIndex(0) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(39, 18) Source(24, 18) + SourceIndex(0) +3 >Emitted(39, 19) Source(24, 19) + SourceIndex(0) +4 >Emitted(39, 23) Source(24, 36) + SourceIndex(0) +5 >Emitted(39, 32) Source(24, 45) + SourceIndex(0) +6 >Emitted(39, 33) Source(24, 85) + SourceIndex(0) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(40, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 36) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 45) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 46) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 55) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 85) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 46) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 55) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 58) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 58) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 83) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 83) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 82) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 83) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 58) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 83) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 71) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 80) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 83) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 83) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 84) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 85) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 46) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 55) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 46) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 55) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 46) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 55) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 85) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 84) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 85) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 36) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 45) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 36) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 45) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 36) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 45) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 85) + SourceIndex(0) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(51, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(51, 18) Source(25, 18) + SourceIndex(0) +3 >Emitted(51, 19) Source(25, 33) + SourceIndex(0) +4 >Emitted(51, 37) Source(25, 43) + SourceIndex(0) +5 >Emitted(51, 40) Source(25, 46) + SourceIndex(0) +6 >Emitted(51, 53) Source(25, 59) + SourceIndex(0) +7 >Emitted(51, 54) Source(25, 60) + SourceIndex(0) +8 >Emitted(51, 55) Source(25, 61) + SourceIndex(0) +9 >Emitted(51, 56) Source(25, 62) + SourceIndex(0) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(52, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(52, 18) Source(27, 18) + SourceIndex(0) +3 >Emitted(52, 19) Source(27, 32) + SourceIndex(0) +4 >Emitted(52, 40) Source(27, 45) + SourceIndex(0) +5 >Emitted(52, 43) Source(27, 48) + SourceIndex(0) +6 >Emitted(52, 45) Source(27, 50) + SourceIndex(0) +7 >Emitted(52, 46) Source(27, 51) + SourceIndex(0) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(53, 18) Source(28, 18) + SourceIndex(0) +3 >Emitted(53, 19) Source(28, 19) + SourceIndex(0) +4 >Emitted(53, 23) Source(28, 31) + SourceIndex(0) +5 >Emitted(53, 35) Source(28, 55) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(54, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 31) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 43) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 47) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 47) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 50) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 50) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 53) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 53) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 54) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 55) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 31) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 43) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 31) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 43) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 31) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 43) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 55) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(60, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(60, 14) Source(30, 14) + SourceIndex(0) +3 >Emitted(60, 15) Source(30, 15) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 15) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 33) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 33) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 32) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 33) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 15) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 33) + SourceIndex(0) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(65, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(65, 14) Source(31, 14) + SourceIndex(0) +3 >Emitted(65, 15) Source(31, 15) + SourceIndex(0) +4 >Emitted(65, 24) Source(31, 24) + SourceIndex(0) +5 >Emitted(65, 35) Source(31, 35) + SourceIndex(0) +6 >Emitted(65, 40) Source(31, 39) + SourceIndex(0) +7 >Emitted(65, 41) Source(31, 40) + SourceIndex(0) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(66, 14) Source(32, 14) + SourceIndex(0) +3 >Emitted(66, 15) Source(32, 15) + SourceIndex(0) +4 >Emitted(66, 19) Source(32, 25) + SourceIndex(0) +5 >Emitted(66, 36) Source(32, 42) + SourceIndex(0) +6 >Emitted(66, 37) Source(32, 72) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(67, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 25) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 42) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 45) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 45) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 70) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 69) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 70) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 45) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 70) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 58) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 67) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 70) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 70) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 71) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 72) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 25) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 42) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 25) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 42) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 72) + SourceIndex(0) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(75, 14) Source(33, 14) + SourceIndex(0) +3 >Emitted(75, 15) Source(33, 15) + SourceIndex(0) +4 >Emitted(75, 19) Source(33, 25) + SourceIndex(0) +5 >Emitted(75, 32) Source(33, 38) + SourceIndex(0) +6 >Emitted(75, 33) Source(33, 78) + SourceIndex(0) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(76, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 25) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 38) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 39) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 48) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 78) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 39) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 48) + SourceIndex(0) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 51) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 51) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 76) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 76) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 75) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 76) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 51) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 76) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 64) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 73) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 76) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 76) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 77) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 78) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 39) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 48) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 39) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 48) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 39) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 48) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 78) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 77) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 78) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 25) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 38) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 25) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 38) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 78) + SourceIndex(0) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(87, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(87, 14) Source(34, 14) + SourceIndex(0) +3 >Emitted(87, 15) Source(34, 15) + SourceIndex(0) +4 >Emitted(87, 19) Source(34, 22) + SourceIndex(0) +5 >Emitted(87, 33) Source(34, 36) + SourceIndex(0) +6 >Emitted(87, 36) Source(34, 39) + SourceIndex(0) +7 >Emitted(87, 53) Source(34, 56) + SourceIndex(0) +8 >Emitted(87, 54) Source(34, 57) + SourceIndex(0) +9 >Emitted(87, 63) Source(34, 66) + SourceIndex(0) +10>Emitted(87, 64) Source(34, 67) + SourceIndex(0) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(88, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(88, 14) Source(36, 14) + SourceIndex(0) +3 >Emitted(88, 15) Source(36, 15) + SourceIndex(0) +4 >Emitted(88, 19) Source(36, 21) + SourceIndex(0) +5 >Emitted(88, 32) Source(36, 34) + SourceIndex(0) +6 >Emitted(88, 35) Source(36, 37) + SourceIndex(0) +7 >Emitted(88, 37) Source(36, 39) + SourceIndex(0) +8 >Emitted(88, 38) Source(36, 40) + SourceIndex(0) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(89, 14) Source(37, 14) + SourceIndex(0) +3 >Emitted(89, 15) Source(37, 15) + SourceIndex(0) +4 >Emitted(89, 19) Source(37, 20) + SourceIndex(0) +5 >Emitted(89, 31) Source(37, 44) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(90, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 20) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 32) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 36) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 36) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 39) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 39) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 42) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 42) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 43) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 44) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 20) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 32) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 20) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 32) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/first/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "outFile": "./bin/first-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "first_PART1.ts", + "first_part2.ts", + "first_part3.ts" + ], + "references": [ + ] +} + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /*@internal*/ constructor() { } + /*@internal*/ prop: string; + /*@internal*/ method() { } + /*@internal*/ get c() { return 10; } + /*@internal*/ set c(val: number) { } +} +namespace normalN { + /*@internal*/ export class C { } + /*@internal*/ export function foo() {} + /*@internal*/ export namespace someNamespace { export class C {} } + /*@internal*/ export namespace someOther.something { export class someClass {} } + /*@internal*/ export import someImport = someNamespace.C; + /*@internal*/ export type internalType = internalC; + /*@internal*/ export const internalConst = 10; + /*@internal*/ export enum internalEnum { a, b, c } +} +/*@internal*/ class internalC {} +/*@internal*/ function internalfoo() {} +/*@internal*/ namespace internalNamespace { export class someClass {} } +/*@internal*/ namespace internalOther.something { export class someClass {} } +/*@internal*/ import internalImport = internalNamespace.someClass; +/*@internal*/ type internalType = internalC; +/*@internal*/ const internalConst = 10; +/*@internal*/ enum internalEnum { a, b, c } + +//// [/src/second/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, + "outFile": "../2/second-output.js", + "skipDefaultLibCheck": true + }, + "references": [ + ] +} + + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + /*@internal*/ c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;kBACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> /*@internal*/ c: number; +1->^^^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 19) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 20) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 22) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 28) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = /** @class */ (function () { + /*@internal*/ function normalC() { + } + /*@internal*/ normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + /*@internal*/ get: function () { return 10; }, + /*@internal*/ set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + /*@internal*/ var C = /** @class */ (function () { + function C() { + } + return C; + }()); + normalN.C = C; + /*@internal*/ function foo() { } + normalN.foo = foo; + /*@internal*/ var someNamespace; + (function (someNamespace) { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + /*@internal*/ var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + /*@internal*/ normalN.someImport = someNamespace.C; + /*@internal*/ normalN.internalConst = 10; + /*@internal*/ var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +/*@internal*/ var internalC = /** @class */ (function () { + function internalC() { + } + return internalC; +}()); +/*@internal*/ function internalfoo() { } +/*@internal*/ var internalNamespace; +(function (internalNamespace) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +/*@internal*/ var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = /** @class */ (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +/*@internal*/ var internalImport = internalNamespace.someClass; +/*@internal*/ var internalConst = 10; +/*@internal*/ var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = /** @class */ (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> /*@internal*/ function normalC() { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +1->class normalC { + > +2 > /*@internal*/ +3 > +1->Emitted(16, 5) Source(14, 5) + SourceIndex(3) +2 >Emitted(16, 18) Source(14, 18) + SourceIndex(3) +3 >Emitted(16, 19) Source(14, 19) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >constructor() { +2 > } +1 >Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> /*@internal*/ normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^ +7 > ^ +1-> + > /*@internal*/ prop: string; + > +2 > /*@internal*/ +3 > +4 > method +5 > +6 > method() { +7 > } +1->Emitted(18, 5) Source(16, 5) + SourceIndex(3) +2 >Emitted(18, 18) Source(16, 18) + SourceIndex(3) +3 >Emitted(18, 19) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 43) Source(16, 25) + SourceIndex(3) +5 >Emitted(18, 46) Source(16, 19) + SourceIndex(3) +6 >Emitted(18, 60) Source(16, 30) + SourceIndex(3) +7 >Emitted(18, 61) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1 > + > /*@internal*/ +2 > get +3 > c +1 >Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> /*@internal*/ get: function () { return 10; }, +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^^^^^^^ +6 > ^^ +7 > ^ +8 > ^ +9 > ^ +1-> +2 > /*@internal*/ +3 > +4 > get c() { +5 > return +6 > 10 +7 > ; +8 > +9 > } +1->Emitted(20, 9) Source(17, 5) + SourceIndex(3) +2 >Emitted(20, 22) Source(17, 18) + SourceIndex(3) +3 >Emitted(20, 28) Source(17, 19) + SourceIndex(3) +4 >Emitted(20, 42) Source(17, 29) + SourceIndex(3) +5 >Emitted(20, 49) Source(17, 36) + SourceIndex(3) +6 >Emitted(20, 51) Source(17, 38) + SourceIndex(3) +7 >Emitted(20, 52) Source(17, 39) + SourceIndex(3) +8 >Emitted(20, 53) Source(17, 40) + SourceIndex(3) +9 >Emitted(20, 54) Source(17, 41) + SourceIndex(3) +--- +>>> /*@internal*/ set: function (val) { }, +1 >^^^^^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^ +7 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > set c( +5 > val: number +6 > ) { +7 > } +1 >Emitted(21, 9) Source(18, 5) + SourceIndex(3) +2 >Emitted(21, 22) Source(18, 18) + SourceIndex(3) +3 >Emitted(21, 28) Source(18, 19) + SourceIndex(3) +4 >Emitted(21, 38) Source(18, 25) + SourceIndex(3) +5 >Emitted(21, 41) Source(18, 36) + SourceIndex(3) +6 >Emitted(21, 45) Source(18, 40) + SourceIndex(3) +7 >Emitted(21, 46) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> /*@internal*/ var C = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^-> +1-> { + > +2 > /*@internal*/ +3 > +1->Emitted(29, 5) Source(21, 5) + SourceIndex(3) +2 >Emitted(29, 18) Source(21, 18) + SourceIndex(3) +3 >Emitted(29, 19) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> /*@internal*/ function foo() { } +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export function +5 > foo +6 > () { +7 > } +1->Emitted(35, 5) Source(22, 5) + SourceIndex(3) +2 >Emitted(35, 18) Source(22, 18) + SourceIndex(3) +3 >Emitted(35, 19) Source(22, 19) + SourceIndex(3) +4 >Emitted(35, 28) Source(22, 35) + SourceIndex(3) +5 >Emitted(35, 31) Source(22, 38) + SourceIndex(3) +6 >Emitted(35, 36) Source(22, 42) + SourceIndex(3) +7 >Emitted(35, 37) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^-> +1 > +2 > foo +3 > () {} +4 > +1 >Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> /*@internal*/ var someNamespace; +1->^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1-> + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someNamespace +6 > { export class C {} } +1->Emitted(37, 5) Source(23, 5) + SourceIndex(3) +2 >Emitted(37, 18) Source(23, 18) + SourceIndex(3) +3 >Emitted(37, 19) Source(23, 19) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 36) + SourceIndex(3) +5 >Emitted(37, 36) Source(23, 49) + SourceIndex(3) +6 >Emitted(37, 37) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^-> +1 > +2 > export namespace +3 > someNamespace +1 >Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> /*@internal*/ var someOther; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > +2 > /*@internal*/ +3 > +4 > export namespace +5 > someOther +6 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 5) + SourceIndex(3) +2 >Emitted(46, 18) Source(24, 18) + SourceIndex(3) +3 >Emitted(46, 19) Source(24, 19) + SourceIndex(3) +4 >Emitted(46, 23) Source(24, 36) + SourceIndex(3) +5 >Emitted(46, 32) Source(24, 45) + SourceIndex(3) +6 >Emitted(46, 33) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1 > +2 > export namespace +3 > someOther +1 >Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1 > + > +2 > /*@internal*/ +3 > export import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1 >Emitted(58, 5) Source(25, 5) + SourceIndex(3) +2 >Emitted(58, 18) Source(25, 18) + SourceIndex(3) +3 >Emitted(58, 19) Source(25, 33) + SourceIndex(3) +4 >Emitted(58, 37) Source(25, 43) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 46) + SourceIndex(3) +6 >Emitted(58, 53) Source(25, 59) + SourceIndex(3) +7 >Emitted(58, 54) Source(25, 60) + SourceIndex(3) +8 >Emitted(58, 55) Source(25, 61) + SourceIndex(3) +9 >Emitted(58, 56) Source(25, 62) + SourceIndex(3) +--- +>>> /*@internal*/ normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^ +7 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > +2 > /*@internal*/ +3 > export const +4 > internalConst +5 > = +6 > 10 +7 > ; +1 >Emitted(59, 5) Source(27, 5) + SourceIndex(3) +2 >Emitted(59, 18) Source(27, 18) + SourceIndex(3) +3 >Emitted(59, 19) Source(27, 32) + SourceIndex(3) +4 >Emitted(59, 40) Source(27, 45) + SourceIndex(3) +5 >Emitted(59, 43) Source(27, 48) + SourceIndex(3) +6 >Emitted(59, 45) Source(27, 50) + SourceIndex(3) +7 >Emitted(59, 46) Source(27, 51) + SourceIndex(3) +--- +>>> /*@internal*/ var internalEnum; +1 >^^^^ +2 > ^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 > /*@internal*/ +3 > +4 > export enum +5 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 5) + SourceIndex(3) +2 >Emitted(60, 18) Source(28, 18) + SourceIndex(3) +3 >Emitted(60, 19) Source(28, 19) + SourceIndex(3) +4 >Emitted(60, 23) Source(28, 31) + SourceIndex(3) +5 >Emitted(60, 35) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1 >^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > export enum +3 > internalEnum +1 >Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>/*@internal*/ var internalC = /** @class */ (function () { +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^-> +1-> + > +2 >/*@internal*/ +3 > +1->Emitted(67, 1) Source(30, 1) + SourceIndex(3) +2 >Emitted(67, 14) Source(30, 14) + SourceIndex(3) +3 >Emitted(67, 15) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>/*@internal*/ function internalfoo() { } +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^ +5 > ^^^^^^^^^^^ +6 > ^^^^^ +7 > ^ +1-> + > +2 >/*@internal*/ +3 > +4 > function +5 > internalfoo +6 > () { +7 > } +1->Emitted(72, 1) Source(31, 1) + SourceIndex(3) +2 >Emitted(72, 14) Source(31, 14) + SourceIndex(3) +3 >Emitted(72, 15) Source(31, 15) + SourceIndex(3) +4 >Emitted(72, 24) Source(31, 24) + SourceIndex(3) +5 >Emitted(72, 35) Source(31, 35) + SourceIndex(3) +6 >Emitted(72, 40) Source(31, 39) + SourceIndex(3) +7 >Emitted(72, 41) Source(31, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalNamespace; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalNamespace +6 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 1) + SourceIndex(3) +2 >Emitted(73, 14) Source(32, 14) + SourceIndex(3) +3 >Emitted(73, 15) Source(32, 15) + SourceIndex(3) +4 >Emitted(73, 19) Source(32, 25) + SourceIndex(3) +5 >Emitted(73, 36) Source(32, 42) + SourceIndex(3) +6 >Emitted(73, 37) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >namespace +3 > internalNamespace +1 >Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>/*@internal*/ var internalOther; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^ +1 > + > +2 >/*@internal*/ +3 > +4 > namespace +5 > internalOther +6 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 1) + SourceIndex(3) +2 >Emitted(82, 14) Source(33, 14) + SourceIndex(3) +3 >Emitted(82, 15) Source(33, 15) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 25) + SourceIndex(3) +5 >Emitted(82, 32) Source(33, 38) + SourceIndex(3) +6 >Emitted(82, 33) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1 > +2 >namespace +3 > internalOther +1 >Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = /** @class */ (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>/*@internal*/ var internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^^^^^^^^^^^^^^^^ +8 > ^ +9 > ^^^^^^^^^ +10> ^ +1-> + > +2 >/*@internal*/ +3 > +4 > import +5 > internalImport +6 > = +7 > internalNamespace +8 > . +9 > someClass +10> ; +1->Emitted(94, 1) Source(34, 1) + SourceIndex(3) +2 >Emitted(94, 14) Source(34, 14) + SourceIndex(3) +3 >Emitted(94, 15) Source(34, 15) + SourceIndex(3) +4 >Emitted(94, 19) Source(34, 22) + SourceIndex(3) +5 >Emitted(94, 33) Source(34, 36) + SourceIndex(3) +6 >Emitted(94, 36) Source(34, 39) + SourceIndex(3) +7 >Emitted(94, 53) Source(34, 56) + SourceIndex(3) +8 >Emitted(94, 54) Source(34, 57) + SourceIndex(3) +9 >Emitted(94, 63) Source(34, 66) + SourceIndex(3) +10>Emitted(94, 64) Source(34, 67) + SourceIndex(3) +--- +>>>/*@internal*/ var internalConst = 10; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^^ +6 > ^^^ +7 > ^^ +8 > ^ +1 > + >/*@internal*/ type internalType = internalC; + > +2 >/*@internal*/ +3 > +4 > const +5 > internalConst +6 > = +7 > 10 +8 > ; +1 >Emitted(95, 1) Source(36, 1) + SourceIndex(3) +2 >Emitted(95, 14) Source(36, 14) + SourceIndex(3) +3 >Emitted(95, 15) Source(36, 15) + SourceIndex(3) +4 >Emitted(95, 19) Source(36, 21) + SourceIndex(3) +5 >Emitted(95, 32) Source(36, 34) + SourceIndex(3) +6 >Emitted(95, 35) Source(36, 37) + SourceIndex(3) +7 >Emitted(95, 37) Source(36, 39) + SourceIndex(3) +8 >Emitted(95, 38) Source(36, 40) + SourceIndex(3) +--- +>>>/*@internal*/ var internalEnum; +1 > +2 >^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^ +5 > ^^^^^^^^^^^^ +1 > + > +2 >/*@internal*/ +3 > +4 > enum +5 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 1) + SourceIndex(3) +2 >Emitted(96, 14) Source(37, 14) + SourceIndex(3) +3 >Emitted(96, 15) Source(37, 15) + SourceIndex(3) +4 >Emitted(96, 19) Source(37, 20) + SourceIndex(3) +5 >Emitted(96, 31) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1 > +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >enum +3 > internalEnum +1 >Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = /** @class */ (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": false, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal.js new file mode 100644 index 00000000000..f126d6be7d5 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-Build/no-buildInfo/stripInternal.js @@ -0,0 +1,5276 @@ +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: second-output.d.ts +mapUrl: second-output.d.ts.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>declare namespace N { +1 > +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1 > +2 >namespace +3 > N +4 > +1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) +3 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) +4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(3, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) +3 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) +4 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(5, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(5, 15) Source(13, 7) + SourceIndex(0) +3 >Emitted(5, 22) Source(13, 14) + SourceIndex(0) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(7, 5) Source(15, 19) + SourceIndex(0) +2 >Emitted(7, 9) Source(15, 23) + SourceIndex(0) +3 >Emitted(7, 11) Source(15, 25) + SourceIndex(0) +4 >Emitted(7, 17) Source(15, 31) + SourceIndex(0) +5 >Emitted(7, 18) Source(15, 32) + SourceIndex(0) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(8, 5) Source(16, 19) + SourceIndex(0) +2 >Emitted(8, 11) Source(16, 25) + SourceIndex(0) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(9, 5) Source(17, 23) + SourceIndex(0) +2 >Emitted(9, 6) Source(17, 24) + SourceIndex(0) +3 >Emitted(9, 8) Source(18, 30) + SourceIndex(0) +4 >Emitted(9, 14) Source(18, 36) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(10, 2) Source(19, 2) + SourceIndex(0) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 19) Source(20, 11) + SourceIndex(0) +3 >Emitted(11, 26) Source(20, 18) + SourceIndex(0) +4 >Emitted(11, 27) Source(20, 19) + SourceIndex(0) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(12, 5) Source(21, 19) + SourceIndex(0) +2 >Emitted(12, 11) Source(21, 32) + SourceIndex(0) +3 >Emitted(12, 12) Source(21, 33) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(13, 6) Source(21, 37) + SourceIndex(0) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(14, 5) Source(22, 19) + SourceIndex(0) +2 >Emitted(14, 14) Source(22, 35) + SourceIndex(0) +3 >Emitted(14, 17) Source(22, 38) + SourceIndex(0) +4 >Emitted(14, 26) Source(22, 43) + SourceIndex(0) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(15, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(15, 15) Source(23, 36) + SourceIndex(0) +3 >Emitted(15, 28) Source(23, 49) + SourceIndex(0) +4 >Emitted(15, 29) Source(23, 50) + SourceIndex(0) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(16, 9) Source(23, 52) + SourceIndex(0) +2 >Emitted(16, 15) Source(23, 65) + SourceIndex(0) +3 >Emitted(16, 16) Source(23, 66) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(17, 10) Source(23, 69) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(18, 6) Source(23, 71) + SourceIndex(0) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(19, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(19, 15) Source(24, 36) + SourceIndex(0) +3 >Emitted(19, 24) Source(24, 45) + SourceIndex(0) +4 >Emitted(19, 25) Source(24, 46) + SourceIndex(0) +5 >Emitted(19, 34) Source(24, 55) + SourceIndex(0) +6 >Emitted(19, 35) Source(24, 56) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(20, 9) Source(24, 58) + SourceIndex(0) +2 >Emitted(20, 15) Source(24, 71) + SourceIndex(0) +3 >Emitted(20, 24) Source(24, 80) + SourceIndex(0) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(21, 10) Source(24, 83) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(22, 6) Source(24, 85) + SourceIndex(0) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(23, 5) Source(25, 19) + SourceIndex(0) +2 >Emitted(23, 11) Source(25, 25) + SourceIndex(0) +3 >Emitted(23, 19) Source(25, 33) + SourceIndex(0) +4 >Emitted(23, 29) Source(25, 43) + SourceIndex(0) +5 >Emitted(23, 32) Source(25, 46) + SourceIndex(0) +6 >Emitted(23, 45) Source(25, 59) + SourceIndex(0) +7 >Emitted(23, 46) Source(25, 60) + SourceIndex(0) +8 >Emitted(23, 47) Source(25, 61) + SourceIndex(0) +9 >Emitted(23, 48) Source(25, 62) + SourceIndex(0) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(24, 5) Source(26, 19) + SourceIndex(0) +2 >Emitted(24, 10) Source(26, 31) + SourceIndex(0) +3 >Emitted(24, 22) Source(26, 43) + SourceIndex(0) +4 >Emitted(24, 25) Source(26, 46) + SourceIndex(0) +5 >Emitted(24, 34) Source(26, 55) + SourceIndex(0) +6 >Emitted(24, 35) Source(26, 56) + SourceIndex(0) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(25, 5) Source(27, 26) + SourceIndex(0) +2 >Emitted(25, 11) Source(27, 32) + SourceIndex(0) +3 >Emitted(25, 24) Source(27, 45) + SourceIndex(0) +4 >Emitted(25, 29) Source(27, 50) + SourceIndex(0) +5 >Emitted(25, 30) Source(27, 51) + SourceIndex(0) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(26, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(26, 10) Source(28, 31) + SourceIndex(0) +3 >Emitted(26, 22) Source(28, 43) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(27, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(27, 10) Source(28, 47) + SourceIndex(0) +3 >Emitted(27, 14) Source(28, 47) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(28, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(28, 10) Source(28, 50) + SourceIndex(0) +3 >Emitted(28, 14) Source(28, 50) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(29, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(29, 10) Source(28, 53) + SourceIndex(0) +3 >Emitted(29, 14) Source(28, 53) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(30, 6) Source(28, 55) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(31, 2) Source(29, 2) + SourceIndex(0) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(32, 1) Source(30, 15) + SourceIndex(0) +2 >Emitted(32, 15) Source(30, 21) + SourceIndex(0) +3 >Emitted(32, 24) Source(30, 30) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(33, 2) Source(30, 33) + SourceIndex(0) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(34, 1) Source(31, 15) + SourceIndex(0) +2 >Emitted(34, 18) Source(31, 24) + SourceIndex(0) +3 >Emitted(34, 29) Source(31, 35) + SourceIndex(0) +4 >Emitted(34, 38) Source(31, 40) + SourceIndex(0) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(35, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(35, 19) Source(32, 25) + SourceIndex(0) +3 >Emitted(35, 36) Source(32, 42) + SourceIndex(0) +4 >Emitted(35, 37) Source(32, 43) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(36, 5) Source(32, 45) + SourceIndex(0) +2 >Emitted(36, 11) Source(32, 58) + SourceIndex(0) +3 >Emitted(36, 20) Source(32, 67) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(37, 6) Source(32, 70) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(38, 2) Source(32, 72) + SourceIndex(0) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(39, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(39, 19) Source(33, 25) + SourceIndex(0) +3 >Emitted(39, 32) Source(33, 38) + SourceIndex(0) +4 >Emitted(39, 33) Source(33, 39) + SourceIndex(0) +5 >Emitted(39, 42) Source(33, 48) + SourceIndex(0) +6 >Emitted(39, 43) Source(33, 49) + SourceIndex(0) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(40, 5) Source(33, 51) + SourceIndex(0) +2 >Emitted(40, 11) Source(33, 64) + SourceIndex(0) +3 >Emitted(40, 20) Source(33, 73) + SourceIndex(0) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(41, 6) Source(33, 76) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(42, 2) Source(33, 78) + SourceIndex(0) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(43, 1) Source(34, 15) + SourceIndex(0) +2 >Emitted(43, 8) Source(34, 22) + SourceIndex(0) +3 >Emitted(43, 22) Source(34, 36) + SourceIndex(0) +4 >Emitted(43, 25) Source(34, 39) + SourceIndex(0) +5 >Emitted(43, 42) Source(34, 56) + SourceIndex(0) +6 >Emitted(43, 43) Source(34, 57) + SourceIndex(0) +7 >Emitted(43, 52) Source(34, 66) + SourceIndex(0) +8 >Emitted(43, 53) Source(34, 67) + SourceIndex(0) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(44, 1) Source(35, 15) + SourceIndex(0) +2 >Emitted(44, 14) Source(35, 20) + SourceIndex(0) +3 >Emitted(44, 26) Source(35, 32) + SourceIndex(0) +4 >Emitted(44, 29) Source(35, 35) + SourceIndex(0) +5 >Emitted(44, 38) Source(35, 44) + SourceIndex(0) +6 >Emitted(44, 39) Source(35, 45) + SourceIndex(0) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(45, 1) Source(36, 15) + SourceIndex(0) +2 >Emitted(45, 9) Source(36, 15) + SourceIndex(0) +3 >Emitted(45, 15) Source(36, 21) + SourceIndex(0) +4 >Emitted(45, 28) Source(36, 34) + SourceIndex(0) +5 >Emitted(45, 33) Source(36, 39) + SourceIndex(0) +6 >Emitted(45, 34) Source(36, 40) + SourceIndex(0) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(46, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(46, 14) Source(37, 20) + SourceIndex(0) +3 >Emitted(46, 26) Source(37, 32) + SourceIndex(0) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(47, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(47, 6) Source(37, 36) + SourceIndex(0) +3 >Emitted(47, 10) Source(37, 36) + SourceIndex(0) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(48, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(48, 6) Source(37, 39) + SourceIndex(0) +3 >Emitted(48, 10) Source(37, 39) + SourceIndex(0) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(49, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(49, 6) Source(37, 42) + SourceIndex(0) +3 >Emitted(49, 10) Source(37, 42) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(50, 2) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.d.ts +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(51, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(51, 15) Source(1, 7) + SourceIndex(1) +3 >Emitted(51, 16) Source(1, 8) + SourceIndex(1) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(52, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(52, 16) Source(2, 16) + SourceIndex(1) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(53, 2) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.js.map.baseline.txt] +=================================================================== +JsFile: second-output.js +mapUrl: second-output.js.map +sourceRoot: +sources: ../second/second_part1.ts,../second/second_part2.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part1.ts +------------------------------------------------------------------- +>>>var N; +1 > +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) +4 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) +3 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(4, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) +3 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) +4 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) +5 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) +6 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) +7 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) +8 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) +4 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) +5 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) +6 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) +7 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(9, 5) Source(14, 19) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(10, 5) Source(14, 35) + SourceIndex(0) +2 >Emitted(10, 6) Source(14, 36) + SourceIndex(0) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(11, 5) Source(16, 19) + SourceIndex(0) +2 >Emitted(11, 29) Source(16, 25) + SourceIndex(0) +3 >Emitted(11, 32) Source(16, 19) + SourceIndex(0) +4 >Emitted(11, 46) Source(16, 30) + SourceIndex(0) +5 >Emitted(11, 47) Source(16, 31) + SourceIndex(0) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(12, 5) Source(17, 19) + SourceIndex(0) +2 >Emitted(12, 27) Source(17, 23) + SourceIndex(0) +3 >Emitted(12, 49) Source(17, 24) + SourceIndex(0) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(13, 14) Source(17, 19) + SourceIndex(0) +2 >Emitted(13, 28) Source(17, 29) + SourceIndex(0) +3 >Emitted(13, 35) Source(17, 36) + SourceIndex(0) +4 >Emitted(13, 37) Source(17, 38) + SourceIndex(0) +5 >Emitted(13, 38) Source(17, 39) + SourceIndex(0) +6 >Emitted(13, 39) Source(17, 40) + SourceIndex(0) +7 >Emitted(13, 40) Source(17, 41) + SourceIndex(0) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(14, 14) Source(18, 19) + SourceIndex(0) +2 >Emitted(14, 24) Source(18, 25) + SourceIndex(0) +3 >Emitted(14, 27) Source(18, 36) + SourceIndex(0) +4 >Emitted(14, 31) Source(18, 40) + SourceIndex(0) +5 >Emitted(14, 32) Source(18, 41) + SourceIndex(0) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(17, 8) Source(17, 41) + SourceIndex(0) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(18, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 19) Source(19, 2) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(19, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(19, 2) Source(13, 1) + SourceIndex(0) +4 >Emitted(19, 6) Source(19, 2) + SourceIndex(0) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(20, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(20, 11) + SourceIndex(0) +3 >Emitted(20, 12) Source(20, 18) + SourceIndex(0) +4 >Emitted(20, 13) Source(29, 2) + SourceIndex(0) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(21, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(21, 12) Source(20, 11) + SourceIndex(0) +3 >Emitted(21, 19) Source(20, 18) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(22, 5) Source(21, 19) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(23, 9) Source(21, 19) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(24, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(24, 10) Source(21, 37) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(25, 9) Source(21, 36) + SourceIndex(0) +2 >Emitted(25, 17) Source(21, 37) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(26, 5) Source(21, 36) + SourceIndex(0) +2 >Emitted(26, 6) Source(21, 37) + SourceIndex(0) +3 >Emitted(26, 6) Source(21, 19) + SourceIndex(0) +4 >Emitted(26, 10) Source(21, 37) + SourceIndex(0) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(27, 5) Source(21, 32) + SourceIndex(0) +2 >Emitted(27, 14) Source(21, 33) + SourceIndex(0) +3 >Emitted(27, 18) Source(21, 37) + SourceIndex(0) +4 >Emitted(27, 19) Source(21, 37) + SourceIndex(0) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(28, 5) Source(22, 19) + SourceIndex(0) +2 >Emitted(28, 14) Source(22, 35) + SourceIndex(0) +3 >Emitted(28, 17) Source(22, 38) + SourceIndex(0) +4 >Emitted(28, 22) Source(22, 42) + SourceIndex(0) +5 >Emitted(28, 23) Source(22, 43) + SourceIndex(0) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(29, 5) Source(22, 35) + SourceIndex(0) +2 >Emitted(29, 16) Source(22, 38) + SourceIndex(0) +3 >Emitted(29, 22) Source(22, 43) + SourceIndex(0) +4 >Emitted(29, 23) Source(22, 43) + SourceIndex(0) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(30, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(30, 9) Source(23, 36) + SourceIndex(0) +3 >Emitted(30, 22) Source(23, 49) + SourceIndex(0) +4 >Emitted(30, 23) Source(23, 71) + SourceIndex(0) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(31, 5) Source(23, 19) + SourceIndex(0) +2 >Emitted(31, 16) Source(23, 36) + SourceIndex(0) +3 >Emitted(31, 29) Source(23, 49) + SourceIndex(0) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(32, 9) Source(23, 52) + SourceIndex(0) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(33, 13) Source(23, 52) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(34, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(34, 14) Source(23, 69) + SourceIndex(0) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(35, 13) Source(23, 68) + SourceIndex(0) +2 >Emitted(35, 21) Source(23, 69) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(36, 9) Source(23, 68) + SourceIndex(0) +2 >Emitted(36, 10) Source(23, 69) + SourceIndex(0) +3 >Emitted(36, 10) Source(23, 52) + SourceIndex(0) +4 >Emitted(36, 14) Source(23, 69) + SourceIndex(0) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(37, 9) Source(23, 65) + SourceIndex(0) +2 >Emitted(37, 24) Source(23, 66) + SourceIndex(0) +3 >Emitted(37, 28) Source(23, 69) + SourceIndex(0) +4 >Emitted(37, 29) Source(23, 69) + SourceIndex(0) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(38, 5) Source(23, 70) + SourceIndex(0) +2 >Emitted(38, 6) Source(23, 71) + SourceIndex(0) +3 >Emitted(38, 8) Source(23, 36) + SourceIndex(0) +4 >Emitted(38, 21) Source(23, 49) + SourceIndex(0) +5 >Emitted(38, 24) Source(23, 36) + SourceIndex(0) +6 >Emitted(38, 45) Source(23, 49) + SourceIndex(0) +7 >Emitted(38, 50) Source(23, 36) + SourceIndex(0) +8 >Emitted(38, 71) Source(23, 49) + SourceIndex(0) +9 >Emitted(38, 79) Source(23, 71) + SourceIndex(0) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(39, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(39, 9) Source(24, 36) + SourceIndex(0) +3 >Emitted(39, 18) Source(24, 45) + SourceIndex(0) +4 >Emitted(39, 19) Source(24, 85) + SourceIndex(0) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(40, 5) Source(24, 19) + SourceIndex(0) +2 >Emitted(40, 16) Source(24, 36) + SourceIndex(0) +3 >Emitted(40, 25) Source(24, 45) + SourceIndex(0) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(41, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(41, 13) Source(24, 46) + SourceIndex(0) +3 >Emitted(41, 22) Source(24, 55) + SourceIndex(0) +4 >Emitted(41, 23) Source(24, 85) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(42, 9) Source(24, 46) + SourceIndex(0) +2 >Emitted(42, 20) Source(24, 46) + SourceIndex(0) +3 >Emitted(42, 29) Source(24, 55) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(43, 13) Source(24, 58) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(44, 17) Source(24, 58) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(45, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(45, 18) Source(24, 83) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(46, 17) Source(24, 82) + SourceIndex(0) +2 >Emitted(46, 33) Source(24, 83) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(47, 13) Source(24, 82) + SourceIndex(0) +2 >Emitted(47, 14) Source(24, 83) + SourceIndex(0) +3 >Emitted(47, 14) Source(24, 58) + SourceIndex(0) +4 >Emitted(47, 18) Source(24, 83) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(48, 13) Source(24, 71) + SourceIndex(0) +2 >Emitted(48, 32) Source(24, 80) + SourceIndex(0) +3 >Emitted(48, 44) Source(24, 83) + SourceIndex(0) +4 >Emitted(48, 45) Source(24, 83) + SourceIndex(0) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(49, 9) Source(24, 84) + SourceIndex(0) +2 >Emitted(49, 10) Source(24, 85) + SourceIndex(0) +3 >Emitted(49, 12) Source(24, 46) + SourceIndex(0) +4 >Emitted(49, 21) Source(24, 55) + SourceIndex(0) +5 >Emitted(49, 24) Source(24, 46) + SourceIndex(0) +6 >Emitted(49, 43) Source(24, 55) + SourceIndex(0) +7 >Emitted(49, 48) Source(24, 46) + SourceIndex(0) +8 >Emitted(49, 67) Source(24, 55) + SourceIndex(0) +9 >Emitted(49, 75) Source(24, 85) + SourceIndex(0) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(50, 5) Source(24, 84) + SourceIndex(0) +2 >Emitted(50, 6) Source(24, 85) + SourceIndex(0) +3 >Emitted(50, 8) Source(24, 36) + SourceIndex(0) +4 >Emitted(50, 17) Source(24, 45) + SourceIndex(0) +5 >Emitted(50, 20) Source(24, 36) + SourceIndex(0) +6 >Emitted(50, 37) Source(24, 45) + SourceIndex(0) +7 >Emitted(50, 42) Source(24, 36) + SourceIndex(0) +8 >Emitted(50, 59) Source(24, 45) + SourceIndex(0) +9 >Emitted(50, 67) Source(24, 85) + SourceIndex(0) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(51, 5) Source(25, 33) + SourceIndex(0) +2 >Emitted(51, 23) Source(25, 43) + SourceIndex(0) +3 >Emitted(51, 26) Source(25, 46) + SourceIndex(0) +4 >Emitted(51, 39) Source(25, 59) + SourceIndex(0) +5 >Emitted(51, 40) Source(25, 60) + SourceIndex(0) +6 >Emitted(51, 41) Source(25, 61) + SourceIndex(0) +7 >Emitted(51, 42) Source(25, 62) + SourceIndex(0) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(52, 5) Source(27, 32) + SourceIndex(0) +2 >Emitted(52, 26) Source(27, 45) + SourceIndex(0) +3 >Emitted(52, 29) Source(27, 48) + SourceIndex(0) +4 >Emitted(52, 31) Source(27, 50) + SourceIndex(0) +5 >Emitted(52, 32) Source(27, 51) + SourceIndex(0) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(53, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(53, 9) Source(28, 31) + SourceIndex(0) +3 >Emitted(53, 21) Source(28, 55) + SourceIndex(0) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(54, 5) Source(28, 19) + SourceIndex(0) +2 >Emitted(54, 16) Source(28, 31) + SourceIndex(0) +3 >Emitted(54, 28) Source(28, 43) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(55, 9) Source(28, 46) + SourceIndex(0) +2 >Emitted(55, 50) Source(28, 47) + SourceIndex(0) +3 >Emitted(55, 51) Source(28, 47) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(56, 9) Source(28, 49) + SourceIndex(0) +2 >Emitted(56, 50) Source(28, 50) + SourceIndex(0) +3 >Emitted(56, 51) Source(28, 50) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(57, 9) Source(28, 52) + SourceIndex(0) +2 >Emitted(57, 50) Source(28, 53) + SourceIndex(0) +3 >Emitted(57, 51) Source(28, 53) + SourceIndex(0) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(58, 5) Source(28, 54) + SourceIndex(0) +2 >Emitted(58, 6) Source(28, 55) + SourceIndex(0) +3 >Emitted(58, 8) Source(28, 31) + SourceIndex(0) +4 >Emitted(58, 20) Source(28, 43) + SourceIndex(0) +5 >Emitted(58, 23) Source(28, 31) + SourceIndex(0) +6 >Emitted(58, 43) Source(28, 43) + SourceIndex(0) +7 >Emitted(58, 48) Source(28, 31) + SourceIndex(0) +8 >Emitted(58, 68) Source(28, 43) + SourceIndex(0) +9 >Emitted(58, 76) Source(28, 55) + SourceIndex(0) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(59, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(29, 2) + SourceIndex(0) +3 >Emitted(59, 4) Source(20, 11) + SourceIndex(0) +4 >Emitted(59, 11) Source(20, 18) + SourceIndex(0) +5 >Emitted(59, 16) Source(20, 11) + SourceIndex(0) +6 >Emitted(59, 23) Source(20, 18) + SourceIndex(0) +7 >Emitted(59, 31) Source(29, 2) + SourceIndex(0) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(60, 1) Source(30, 15) + SourceIndex(0) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(61, 5) Source(30, 15) + SourceIndex(0) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(62, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(62, 6) Source(30, 33) + SourceIndex(0) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(63, 5) Source(30, 32) + SourceIndex(0) +2 >Emitted(63, 21) Source(30, 33) + SourceIndex(0) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(64, 1) Source(30, 32) + SourceIndex(0) +2 >Emitted(64, 2) Source(30, 33) + SourceIndex(0) +3 >Emitted(64, 2) Source(30, 15) + SourceIndex(0) +4 >Emitted(64, 6) Source(30, 33) + SourceIndex(0) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(65, 1) Source(31, 15) + SourceIndex(0) +2 >Emitted(65, 10) Source(31, 24) + SourceIndex(0) +3 >Emitted(65, 21) Source(31, 35) + SourceIndex(0) +4 >Emitted(65, 26) Source(31, 39) + SourceIndex(0) +5 >Emitted(65, 27) Source(31, 40) + SourceIndex(0) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(66, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(66, 5) Source(32, 25) + SourceIndex(0) +3 >Emitted(66, 22) Source(32, 42) + SourceIndex(0) +4 >Emitted(66, 23) Source(32, 72) + SourceIndex(0) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(67, 1) Source(32, 15) + SourceIndex(0) +2 >Emitted(67, 12) Source(32, 25) + SourceIndex(0) +3 >Emitted(67, 29) Source(32, 42) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(68, 5) Source(32, 45) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(69, 9) Source(32, 45) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(70, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(70, 10) Source(32, 70) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(71, 9) Source(32, 69) + SourceIndex(0) +2 >Emitted(71, 25) Source(32, 70) + SourceIndex(0) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(72, 5) Source(32, 69) + SourceIndex(0) +2 >Emitted(72, 6) Source(32, 70) + SourceIndex(0) +3 >Emitted(72, 6) Source(32, 45) + SourceIndex(0) +4 >Emitted(72, 10) Source(32, 70) + SourceIndex(0) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(73, 5) Source(32, 58) + SourceIndex(0) +2 >Emitted(73, 32) Source(32, 67) + SourceIndex(0) +3 >Emitted(73, 44) Source(32, 70) + SourceIndex(0) +4 >Emitted(73, 45) Source(32, 70) + SourceIndex(0) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(74, 1) Source(32, 71) + SourceIndex(0) +2 >Emitted(74, 2) Source(32, 72) + SourceIndex(0) +3 >Emitted(74, 4) Source(32, 25) + SourceIndex(0) +4 >Emitted(74, 21) Source(32, 42) + SourceIndex(0) +5 >Emitted(74, 26) Source(32, 25) + SourceIndex(0) +6 >Emitted(74, 43) Source(32, 42) + SourceIndex(0) +7 >Emitted(74, 51) Source(32, 72) + SourceIndex(0) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(75, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(75, 5) Source(33, 25) + SourceIndex(0) +3 >Emitted(75, 18) Source(33, 38) + SourceIndex(0) +4 >Emitted(75, 19) Source(33, 78) + SourceIndex(0) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(76, 1) Source(33, 15) + SourceIndex(0) +2 >Emitted(76, 12) Source(33, 25) + SourceIndex(0) +3 >Emitted(76, 25) Source(33, 38) + SourceIndex(0) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(77, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(77, 9) Source(33, 39) + SourceIndex(0) +3 >Emitted(77, 18) Source(33, 48) + SourceIndex(0) +4 >Emitted(77, 19) Source(33, 78) + SourceIndex(0) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(78, 5) Source(33, 39) + SourceIndex(0) +2 >Emitted(78, 16) Source(33, 39) + SourceIndex(0) +3 >Emitted(78, 25) Source(33, 48) + SourceIndex(0) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(79, 9) Source(33, 51) + SourceIndex(0) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(80, 13) Source(33, 51) + SourceIndex(0) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(81, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(81, 14) Source(33, 76) + SourceIndex(0) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(82, 13) Source(33, 75) + SourceIndex(0) +2 >Emitted(82, 29) Source(33, 76) + SourceIndex(0) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(83, 9) Source(33, 75) + SourceIndex(0) +2 >Emitted(83, 10) Source(33, 76) + SourceIndex(0) +3 >Emitted(83, 10) Source(33, 51) + SourceIndex(0) +4 >Emitted(83, 14) Source(33, 76) + SourceIndex(0) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(84, 9) Source(33, 64) + SourceIndex(0) +2 >Emitted(84, 28) Source(33, 73) + SourceIndex(0) +3 >Emitted(84, 40) Source(33, 76) + SourceIndex(0) +4 >Emitted(84, 41) Source(33, 76) + SourceIndex(0) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(85, 5) Source(33, 77) + SourceIndex(0) +2 >Emitted(85, 6) Source(33, 78) + SourceIndex(0) +3 >Emitted(85, 8) Source(33, 39) + SourceIndex(0) +4 >Emitted(85, 17) Source(33, 48) + SourceIndex(0) +5 >Emitted(85, 20) Source(33, 39) + SourceIndex(0) +6 >Emitted(85, 43) Source(33, 48) + SourceIndex(0) +7 >Emitted(85, 48) Source(33, 39) + SourceIndex(0) +8 >Emitted(85, 71) Source(33, 48) + SourceIndex(0) +9 >Emitted(85, 79) Source(33, 78) + SourceIndex(0) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(86, 1) Source(33, 77) + SourceIndex(0) +2 >Emitted(86, 2) Source(33, 78) + SourceIndex(0) +3 >Emitted(86, 4) Source(33, 25) + SourceIndex(0) +4 >Emitted(86, 17) Source(33, 38) + SourceIndex(0) +5 >Emitted(86, 22) Source(33, 25) + SourceIndex(0) +6 >Emitted(86, 35) Source(33, 38) + SourceIndex(0) +7 >Emitted(86, 43) Source(33, 78) + SourceIndex(0) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(87, 1) Source(34, 15) + SourceIndex(0) +2 >Emitted(87, 5) Source(34, 22) + SourceIndex(0) +3 >Emitted(87, 19) Source(34, 36) + SourceIndex(0) +4 >Emitted(87, 22) Source(34, 39) + SourceIndex(0) +5 >Emitted(87, 39) Source(34, 56) + SourceIndex(0) +6 >Emitted(87, 40) Source(34, 57) + SourceIndex(0) +7 >Emitted(87, 49) Source(34, 66) + SourceIndex(0) +8 >Emitted(87, 50) Source(34, 67) + SourceIndex(0) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(88, 1) Source(36, 15) + SourceIndex(0) +2 >Emitted(88, 5) Source(36, 21) + SourceIndex(0) +3 >Emitted(88, 18) Source(36, 34) + SourceIndex(0) +4 >Emitted(88, 21) Source(36, 37) + SourceIndex(0) +5 >Emitted(88, 23) Source(36, 39) + SourceIndex(0) +6 >Emitted(88, 24) Source(36, 40) + SourceIndex(0) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(89, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(89, 5) Source(37, 20) + SourceIndex(0) +3 >Emitted(89, 17) Source(37, 44) + SourceIndex(0) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(90, 1) Source(37, 15) + SourceIndex(0) +2 >Emitted(90, 12) Source(37, 20) + SourceIndex(0) +3 >Emitted(90, 24) Source(37, 32) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(91, 5) Source(37, 35) + SourceIndex(0) +2 >Emitted(91, 46) Source(37, 36) + SourceIndex(0) +3 >Emitted(91, 47) Source(37, 36) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(92, 5) Source(37, 38) + SourceIndex(0) +2 >Emitted(92, 46) Source(37, 39) + SourceIndex(0) +3 >Emitted(92, 47) Source(37, 39) + SourceIndex(0) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(93, 5) Source(37, 41) + SourceIndex(0) +2 >Emitted(93, 46) Source(37, 42) + SourceIndex(0) +3 >Emitted(93, 47) Source(37, 42) + SourceIndex(0) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(94, 1) Source(37, 43) + SourceIndex(0) +2 >Emitted(94, 2) Source(37, 44) + SourceIndex(0) +3 >Emitted(94, 4) Source(37, 20) + SourceIndex(0) +4 >Emitted(94, 16) Source(37, 32) + SourceIndex(0) +5 >Emitted(94, 21) Source(37, 20) + SourceIndex(0) +6 >Emitted(94, 33) Source(37, 32) + SourceIndex(0) +7 >Emitted(94, 41) Source(37, 44) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/2/second-output.js +sourceFile:../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(95, 1) Source(1, 1) + SourceIndex(1) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(96, 5) Source(1, 1) + SourceIndex(1) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(97, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(97, 6) Source(5, 2) + SourceIndex(1) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(98, 5) Source(2, 5) + SourceIndex(1) +2 >Emitted(98, 28) Source(2, 16) + SourceIndex(1) +3 >Emitted(98, 31) Source(2, 5) + SourceIndex(1) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(99, 9) Source(3, 9) + SourceIndex(1) +2 >Emitted(99, 16) Source(3, 16) + SourceIndex(1) +3 >Emitted(99, 17) Source(3, 17) + SourceIndex(1) +4 >Emitted(99, 20) Source(3, 20) + SourceIndex(1) +5 >Emitted(99, 21) Source(3, 21) + SourceIndex(1) +6 >Emitted(99, 41) Source(3, 41) + SourceIndex(1) +7 >Emitted(99, 42) Source(3, 42) + SourceIndex(1) +8 >Emitted(99, 43) Source(3, 43) + SourceIndex(1) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(100, 5) Source(4, 5) + SourceIndex(1) +2 >Emitted(100, 6) Source(4, 6) + SourceIndex(1) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(101, 5) Source(5, 1) + SourceIndex(1) +2 >Emitted(101, 13) Source(5, 2) + SourceIndex(1) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(102, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(102, 2) Source(5, 2) + SourceIndex(1) +3 >Emitted(102, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(102, 6) Source(5, 2) + SourceIndex(1) +--- +>>>//# sourceMappingURL=second-output.js.map + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: first-output.d.ts +mapUrl: first-output.d.ts.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.d.ts +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,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"} + +//// [/src/first/bin/first-output.js.map.baseline.txt] +=================================================================== +JsFile: first-output.js +mapUrl: first-output.js.map +sourceRoot: +sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/first/bin/first-output.js +sourceFile:../first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +>>>//# sourceMappingURL=first-output.js.map + +//// [/src/first/first_PART1.ts] +/*@internal*/ interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + +class normalC { + /*@internal*/ constructor() { } + /*@internal*/ prop: string; + /*@internal*/ method() { } + /*@internal*/ get c() { return 10; } + /*@internal*/ set c(val: number) { } +} +namespace normalN { + /*@internal*/ export class C { } + /*@internal*/ export function foo() {} + /*@internal*/ export namespace someNamespace { export class C {} } + /*@internal*/ export namespace someOther.something { export class someClass {} } + /*@internal*/ export import someImport = someNamespace.C; + /*@internal*/ export type internalType = internalC; + /*@internal*/ export const internalConst = 10; + /*@internal*/ export enum internalEnum { a, b, c } +} +/*@internal*/ class internalC {} +/*@internal*/ function internalfoo() {} +/*@internal*/ namespace internalNamespace { export class someClass {} } +/*@internal*/ namespace internalOther.something { export class someClass {} } +/*@internal*/ import internalImport = internalNamespace.someClass; +/*@internal*/ type internalType = internalC; +/*@internal*/ const internalConst = 10; +/*@internal*/ enum internalEnum { a, b, c } + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map +declare namespace N { +} +declare namespace N { +} +declare class normalC { + constructor(); + prop: string; + method(): void; + c: number; +} +declare namespace normalN { + class C { + } + function foo(): void; + namespace someNamespace { + class C { + } + } + namespace someOther.something { + class someClass { + } + } + export import someImport = someNamespace.C; + type internalType = internalC; + const internalConst = 10; + enum internalEnum { + a = 0, + b = 1, + c = 2 + } +} +declare class internalC { +} +declare function internalfoo(): void; +declare namespace internalNamespace { + class someClass { + } +} +declare namespace internalOther.something { + class someClass { + } +} +import internalImport = internalNamespace.someClass; +declare type internalType = internalC; +declare const internalConst = 10; +declare enum internalEnum { + a = 0, + b = 1, + c = 2 +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACF,CAAC,EACM,MAAM;CAClC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd;;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] +=================================================================== +JsFile: third-output.d.ts +mapUrl: third-output.d.ts.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>interface TheFirst { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^ +1 >/*@internal*/ +2 >interface +3 > TheFirst +1 >Emitted(1, 1) Source(1, 15) + SourceIndex(0) +2 >Emitted(1, 11) Source(1, 25) + SourceIndex(0) +3 >Emitted(1, 19) Source(1, 33) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +--- +>>>declare const s = "Hello, world"; +1-> +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +1-> + > + > +2 > +3 > const +4 > s +5 > = "Hello, world" +6 > ; +1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0) +3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0) +4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0) +5 >Emitted(4, 33) Source(5, 25) + SourceIndex(0) +6 >Emitted(4, 34) Source(5, 26) + SourceIndex(0) +--- +>>>interface NoJsForHereEither { +1 > +2 >^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +1 > + > + > +2 >interface +3 > NoJsForHereEither +1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0) +3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0) +--- +>>> none: any; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^ +5 > ^ +1 > { + > +2 > none +3 > : +4 > any +5 > ; +1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>declare function f(): string; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^^^^^^^^^^^^^-> +1-> +2 >function +3 > f +4 > () { + > return "JS does hoists"; + > } +1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1) +3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1) +4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.d.ts.map +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> +2 >namespace +3 > N +4 > +1->Emitted(10, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2) +3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2) +4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > // Comment text + >} +1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2) +--- +>>>declare namespace N { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^ +1-> + > + > +2 >namespace +3 > N +4 > +1->Emitted(12, 1) Source(5, 1) + SourceIndex(2) +2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2) +3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2) +4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1 >{ + > function f() { + > console.log('testing'); + > } + > + > f(); + >} +1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2) +--- +>>>declare class normalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^ +1-> + > + > +2 >class +3 > normalC +1->Emitted(14, 1) Source(13, 1) + SourceIndex(2) +2 >Emitted(14, 15) Source(13, 7) + SourceIndex(2) +3 >Emitted(14, 22) Source(13, 14) + SourceIndex(2) +--- +>>> constructor(); +>>> prop: string; +1 >^^^^ +2 > ^^^^ +3 > ^^ +4 > ^^^^^^ +5 > ^ +6 > ^^^-> +1 > { + > /*@internal*/ constructor() { } + > /*@internal*/ +2 > prop +3 > : +4 > string +5 > ; +1 >Emitted(16, 5) Source(15, 19) + SourceIndex(2) +2 >Emitted(16, 9) Source(15, 23) + SourceIndex(2) +3 >Emitted(16, 11) Source(15, 25) + SourceIndex(2) +4 >Emitted(16, 17) Source(15, 31) + SourceIndex(2) +5 >Emitted(16, 18) Source(15, 32) + SourceIndex(2) +--- +>>> method(): void; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^-> +1-> + > /*@internal*/ +2 > method +1->Emitted(17, 5) Source(16, 19) + SourceIndex(2) +2 >Emitted(17, 11) Source(16, 25) + SourceIndex(2) +--- +>>> c: number; +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^ +1->() { } + > /*@internal*/ get +2 > c +3 > () { return 10; } + > /*@internal*/ set c(val: +4 > number +1->Emitted(18, 5) Source(17, 23) + SourceIndex(2) +2 >Emitted(18, 6) Source(17, 24) + SourceIndex(2) +3 >Emitted(18, 8) Source(18, 30) + SourceIndex(2) +4 >Emitted(18, 14) Source(18, 36) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >) { } + >} +1 >Emitted(19, 2) Source(19, 2) + SourceIndex(2) +--- +>>>declare namespace normalN { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^ +1-> + > +2 >namespace +3 > normalN +4 > +1->Emitted(20, 1) Source(20, 1) + SourceIndex(2) +2 >Emitted(20, 19) Source(20, 11) + SourceIndex(2) +3 >Emitted(20, 26) Source(20, 18) + SourceIndex(2) +4 >Emitted(20, 27) Source(20, 19) + SourceIndex(2) +--- +>>> class C { +1 >^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ + > /*@internal*/ +2 > export class +3 > C +1 >Emitted(21, 5) Source(21, 19) + SourceIndex(2) +2 >Emitted(21, 11) Source(21, 32) + SourceIndex(2) +3 >Emitted(21, 12) Source(21, 33) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^-> +1 > { } +1 >Emitted(22, 6) Source(21, 37) + SourceIndex(2) +--- +>>> function foo(): void; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^ +5 > ^^^^^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () {} +1->Emitted(23, 5) Source(22, 19) + SourceIndex(2) +2 >Emitted(23, 14) Source(22, 35) + SourceIndex(2) +3 >Emitted(23, 17) Source(22, 38) + SourceIndex(2) +4 >Emitted(23, 26) Source(22, 43) + SourceIndex(2) +--- +>>> namespace someNamespace { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > +1->Emitted(24, 5) Source(23, 19) + SourceIndex(2) +2 >Emitted(24, 15) Source(23, 36) + SourceIndex(2) +3 >Emitted(24, 28) Source(23, 49) + SourceIndex(2) +4 >Emitted(24, 29) Source(23, 50) + SourceIndex(2) +--- +>>> class C { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^ +1 >{ +2 > export class +3 > C +1 >Emitted(25, 9) Source(23, 52) + SourceIndex(2) +2 >Emitted(25, 15) Source(23, 65) + SourceIndex(2) +3 >Emitted(25, 16) Source(23, 66) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(26, 10) Source(23, 69) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(27, 6) Source(23, 71) + SourceIndex(2) +--- +>>> namespace someOther.something { +1->^^^^ +2 > ^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + > /*@internal*/ +2 > export namespace +3 > someOther +4 > . +5 > something +6 > +1->Emitted(28, 5) Source(24, 19) + SourceIndex(2) +2 >Emitted(28, 15) Source(24, 36) + SourceIndex(2) +3 >Emitted(28, 24) Source(24, 45) + SourceIndex(2) +4 >Emitted(28, 25) Source(24, 46) + SourceIndex(2) +5 >Emitted(28, 34) Source(24, 55) + SourceIndex(2) +6 >Emitted(28, 35) Source(24, 56) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(29, 9) Source(24, 58) + SourceIndex(2) +2 >Emitted(29, 15) Source(24, 71) + SourceIndex(2) +3 >Emitted(29, 24) Source(24, 80) + SourceIndex(2) +--- +>>> } +1 >^^^^^^^^^ +1 > {} +1 >Emitted(30, 10) Source(24, 83) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(31, 6) Source(24, 85) + SourceIndex(2) +--- +>>> export import someImport = someNamespace.C; +1->^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^ +4 > ^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^ +7 > ^ +8 > ^ +9 > ^ +1-> + > /*@internal*/ +2 > export +3 > import +4 > someImport +5 > = +6 > someNamespace +7 > . +8 > C +9 > ; +1->Emitted(32, 5) Source(25, 19) + SourceIndex(2) +2 >Emitted(32, 11) Source(25, 25) + SourceIndex(2) +3 >Emitted(32, 19) Source(25, 33) + SourceIndex(2) +4 >Emitted(32, 29) Source(25, 43) + SourceIndex(2) +5 >Emitted(32, 32) Source(25, 46) + SourceIndex(2) +6 >Emitted(32, 45) Source(25, 59) + SourceIndex(2) +7 >Emitted(32, 46) Source(25, 60) + SourceIndex(2) +8 >Emitted(32, 47) Source(25, 61) + SourceIndex(2) +9 >Emitted(32, 48) Source(25, 62) + SourceIndex(2) +--- +>>> type internalType = internalC; +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + > /*@internal*/ +2 > export type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(33, 5) Source(26, 19) + SourceIndex(2) +2 >Emitted(33, 10) Source(26, 31) + SourceIndex(2) +3 >Emitted(33, 22) Source(26, 43) + SourceIndex(2) +4 >Emitted(33, 25) Source(26, 46) + SourceIndex(2) +5 >Emitted(33, 34) Source(26, 55) + SourceIndex(2) +6 >Emitted(33, 35) Source(26, 56) + SourceIndex(2) +--- +>>> const internalConst = 10; +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1 > + > /*@internal*/ export +2 > const +3 > internalConst +4 > = 10 +5 > ; +1 >Emitted(34, 5) Source(27, 26) + SourceIndex(2) +2 >Emitted(34, 11) Source(27, 32) + SourceIndex(2) +3 >Emitted(34, 24) Source(27, 45) + SourceIndex(2) +4 >Emitted(34, 29) Source(27, 50) + SourceIndex(2) +5 >Emitted(34, 30) Source(27, 51) + SourceIndex(2) +--- +>>> enum internalEnum { +1 >^^^^ +2 > ^^^^^ +3 > ^^^^^^^^^^^^ +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum +1 >Emitted(35, 5) Source(28, 19) + SourceIndex(2) +2 >Emitted(35, 10) Source(28, 31) + SourceIndex(2) +3 >Emitted(35, 22) Source(28, 43) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(36, 9) Source(28, 46) + SourceIndex(2) +2 >Emitted(36, 10) Source(28, 47) + SourceIndex(2) +3 >Emitted(36, 14) Source(28, 47) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(37, 9) Source(28, 49) + SourceIndex(2) +2 >Emitted(37, 10) Source(28, 50) + SourceIndex(2) +3 >Emitted(37, 14) Source(28, 50) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(38, 9) Source(28, 52) + SourceIndex(2) +2 >Emitted(38, 10) Source(28, 53) + SourceIndex(2) +3 >Emitted(38, 14) Source(28, 53) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > } +1 >Emitted(39, 6) Source(28, 55) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + >} +1 >Emitted(40, 2) Source(29, 2) + SourceIndex(2) +--- +>>>declare class internalC { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> + >/*@internal*/ +2 >class +3 > internalC +1->Emitted(41, 1) Source(30, 15) + SourceIndex(2) +2 >Emitted(41, 15) Source(30, 21) + SourceIndex(2) +3 >Emitted(41, 24) Source(30, 30) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > {} +1 >Emitted(42, 2) Source(30, 33) + SourceIndex(2) +--- +>>>declare function internalfoo(): void; +1-> +2 >^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^^^^^ +5 > ^-> +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () {} +1->Emitted(43, 1) Source(31, 15) + SourceIndex(2) +2 >Emitted(43, 18) Source(31, 24) + SourceIndex(2) +3 >Emitted(43, 29) Source(31, 35) + SourceIndex(2) +4 >Emitted(43, 38) Source(31, 40) + SourceIndex(2) +--- +>>>declare namespace internalNamespace { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > +1->Emitted(44, 1) Source(32, 15) + SourceIndex(2) +2 >Emitted(44, 19) Source(32, 25) + SourceIndex(2) +3 >Emitted(44, 36) Source(32, 42) + SourceIndex(2) +4 >Emitted(44, 37) Source(32, 43) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(45, 5) Source(32, 45) + SourceIndex(2) +2 >Emitted(45, 11) Source(32, 58) + SourceIndex(2) +3 >Emitted(45, 20) Source(32, 67) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(46, 6) Source(32, 70) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(47, 2) Source(32, 72) + SourceIndex(2) +--- +>>>declare namespace internalOther.something { +1-> +2 >^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^ +6 > ^ +1-> + >/*@internal*/ +2 >namespace +3 > internalOther +4 > . +5 > something +6 > +1->Emitted(48, 1) Source(33, 15) + SourceIndex(2) +2 >Emitted(48, 19) Source(33, 25) + SourceIndex(2) +3 >Emitted(48, 32) Source(33, 38) + SourceIndex(2) +4 >Emitted(48, 33) Source(33, 39) + SourceIndex(2) +5 >Emitted(48, 42) Source(33, 48) + SourceIndex(2) +6 >Emitted(48, 43) Source(33, 49) + SourceIndex(2) +--- +>>> class someClass { +1 >^^^^ +2 > ^^^^^^ +3 > ^^^^^^^^^ +1 >{ +2 > export class +3 > someClass +1 >Emitted(49, 5) Source(33, 51) + SourceIndex(2) +2 >Emitted(49, 11) Source(33, 64) + SourceIndex(2) +3 >Emitted(49, 20) Source(33, 73) + SourceIndex(2) +--- +>>> } +1 >^^^^^ +1 > {} +1 >Emitted(50, 6) Source(33, 76) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(51, 2) Source(33, 78) + SourceIndex(2) +--- +>>>import internalImport = internalNamespace.someClass; +1-> +2 >^^^^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(52, 1) Source(34, 15) + SourceIndex(2) +2 >Emitted(52, 8) Source(34, 22) + SourceIndex(2) +3 >Emitted(52, 22) Source(34, 36) + SourceIndex(2) +4 >Emitted(52, 25) Source(34, 39) + SourceIndex(2) +5 >Emitted(52, 42) Source(34, 56) + SourceIndex(2) +6 >Emitted(52, 43) Source(34, 57) + SourceIndex(2) +7 >Emitted(52, 52) Source(34, 66) + SourceIndex(2) +8 >Emitted(52, 53) Source(34, 67) + SourceIndex(2) +--- +>>>declare type internalType = internalC; +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 >type +3 > internalType +4 > = +5 > internalC +6 > ; +1 >Emitted(53, 1) Source(35, 15) + SourceIndex(2) +2 >Emitted(53, 14) Source(35, 20) + SourceIndex(2) +3 >Emitted(53, 26) Source(35, 32) + SourceIndex(2) +4 >Emitted(53, 29) Source(35, 35) + SourceIndex(2) +5 >Emitted(53, 38) Source(35, 44) + SourceIndex(2) +6 >Emitted(53, 39) Source(35, 45) + SourceIndex(2) +--- +>>>declare const internalConst = 10; +1 > +2 >^^^^^^^^ +3 > ^^^^^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^ +1 > + >/*@internal*/ +2 > +3 > const +4 > internalConst +5 > = 10 +6 > ; +1 >Emitted(54, 1) Source(36, 15) + SourceIndex(2) +2 >Emitted(54, 9) Source(36, 15) + SourceIndex(2) +3 >Emitted(54, 15) Source(36, 21) + SourceIndex(2) +4 >Emitted(54, 28) Source(36, 34) + SourceIndex(2) +5 >Emitted(54, 33) Source(36, 39) + SourceIndex(2) +6 >Emitted(54, 34) Source(36, 40) + SourceIndex(2) +--- +>>>declare enum internalEnum { +1 > +2 >^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +1 > + >/*@internal*/ +2 >enum +3 > internalEnum +1 >Emitted(55, 1) Source(37, 15) + SourceIndex(2) +2 >Emitted(55, 14) Source(37, 20) + SourceIndex(2) +3 >Emitted(55, 26) Source(37, 32) + SourceIndex(2) +--- +>>> a = 0, +1 >^^^^ +2 > ^ +3 > ^^^^ +4 > ^^-> +1 > { +2 > a +3 > +1 >Emitted(56, 5) Source(37, 35) + SourceIndex(2) +2 >Emitted(56, 6) Source(37, 36) + SourceIndex(2) +3 >Emitted(56, 10) Source(37, 36) + SourceIndex(2) +--- +>>> b = 1, +1->^^^^ +2 > ^ +3 > ^^^^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(57, 5) Source(37, 38) + SourceIndex(2) +2 >Emitted(57, 6) Source(37, 39) + SourceIndex(2) +3 >Emitted(57, 10) Source(37, 39) + SourceIndex(2) +--- +>>> c = 2 +1->^^^^ +2 > ^ +3 > ^^^^ +1->, +2 > c +3 > +1->Emitted(58, 5) Source(37, 41) + SourceIndex(2) +2 >Emitted(58, 6) Source(37, 42) + SourceIndex(2) +3 >Emitted(58, 10) Source(37, 42) + SourceIndex(2) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^-> +1 > } +1 >Emitted(59, 2) Source(37, 44) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>declare class C { +1-> +2 >^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^-> +1-> +2 >class +3 > C +1->Emitted(60, 1) Source(1, 1) + SourceIndex(3) +2 >Emitted(60, 15) Source(1, 7) + SourceIndex(3) +3 >Emitted(60, 16) Source(1, 8) + SourceIndex(3) +--- +>>> doSomething(): void; +1->^^^^ +2 > ^^^^^^^^^^^ +1-> { + > +2 > doSomething +1->Emitted(61, 5) Source(2, 5) + SourceIndex(3) +2 >Emitted(61, 16) Source(2, 16) + SourceIndex(3) +--- +>>>} +1 >^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 >() { + > console.log("something got done"); + > } + >} +1 >Emitted(62, 2) Source(5, 2) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.d.ts +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.d.ts.map +>>>declare var c: C; +1-> +2 >^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > +3 > var +4 > c +5 > = new C() +6 > ; +1->Emitted(64, 1) Source(1, 1) + SourceIndex(4) +2 >Emitted(64, 9) Source(1, 1) + SourceIndex(4) +3 >Emitted(64, 13) Source(1, 5) + SourceIndex(4) +4 >Emitted(64, 14) Source(1, 6) + SourceIndex(4) +5 >Emitted(64, 17) Source(1, 16) + SourceIndex(4) +6 >Emitted(64, 18) Source(1, 17) + SourceIndex(4) +--- +>>>//# 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 N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var normalC = (function () { + function normalC() { + } + normalC.prototype.method = function () { }; + Object.defineProperty(normalC.prototype, "c", { + get: function () { return 10; }, + set: function (val) { }, + enumerable: true, + configurable: true + }); + return normalC; +}()); +var normalN; +(function (normalN) { + var C = (function () { + function C() { + } + return C; + }()); + normalN.C = C; + function foo() { } + normalN.foo = foo; + var someNamespace; + (function (someNamespace) { + var C = (function () { + function C() { + } + return C; + }()); + someNamespace.C = C; + })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); + var someOther; + (function (someOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = someOther.something || (someOther.something = {})); + })(someOther = normalN.someOther || (normalN.someOther = {})); + normalN.someImport = someNamespace.C; + normalN.internalConst = 10; + var internalEnum; + (function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; + })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +})(normalN || (normalN = {})); +var internalC = (function () { + function internalC() { + } + return internalC; +}()); +function internalfoo() { } +var internalNamespace; +(function (internalNamespace) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + internalNamespace.someClass = someClass; +})(internalNamespace || (internalNamespace = {})); +var internalOther; +(function (internalOther) { + var something; + (function (something) { + var someClass = (function () { + function someClass() { + } + return someClass; + }()); + something.someClass = someClass; + })(something = internalOther.something || (internalOther.something = {})); +})(internalOther || (internalOther = {})); +var internalImport = internalNamespace.someClass; +var internalConst = 10; +var internalEnum; +(function (internalEnum) { + internalEnum[internalEnum["a"] = 0] = "a"; + internalEnum[internalEnum["b"] = 1] = "b"; + internalEnum[internalEnum["c"] = 2] = "c"; +})(internalEnum || (internalEnum = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,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;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] +=================================================================== +JsFile: third-output.js +mapUrl: third-output.js.map +sourceRoot: +sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts +=================================================================== +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_PART1.ts +------------------------------------------------------------------- +>>>var s = "Hello, world"; +1 > +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^ +6 > ^ +1 >/*@internal*/ interface TheFirst { + > none: any; + >} + > + > +2 >const +3 > s +4 > = +5 > "Hello, world" +6 > ; +1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0) +3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0) +4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0) +5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0) +6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0) +--- +>>>console.log(s); +1 > +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^ +8 > ^ +9 > ^^^-> +1 > + > + >interface NoJsForHereEither { + > none: any; + >} + > + > +2 >console +3 > . +4 > log +5 > ( +6 > s +7 > ) +8 > ; +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0) +3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0) +5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0) +8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part2.ts +------------------------------------------------------------------- +>>>console.log(f()); +1-> +2 >^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^ +1-> +2 >console +3 > . +4 > log +5 > ( +6 > f +7 > () +8 > ) +9 > ; +1->Emitted(3, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1) +3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) +4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1) +5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1) +6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1) +7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1) +8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1) +9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../first/first_part3.ts +------------------------------------------------------------------- +>>>function f() { +1 > +2 >^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^-> +1 > +2 >function +3 > f +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2) +2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2) +3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2) +--- +>>> return "JS does hoists"; +1->^^^^ +2 > ^^^^^^^ +3 > ^^^^^^^^^^^^^^^^ +4 > ^ +1->() { + > +2 > return +3 > "JS does hoists" +4 > ; +1->Emitted(5, 5) Source(2, 5) + SourceIndex(2) +2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2) +3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2) +4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2) +--- +>>>} +1 > +2 >^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > + > +2 >} +1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2) +2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=first-output.js.map +>>>var N; +1-> +2 >^^^^ +3 > ^ +4 > ^ +5 > ^^^^^^^^^^-> +1->namespace N { + > // Comment text + >} + > + > +2 >namespace +3 > N +4 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(8, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3) +3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3) +4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3) +--- +>>>(function (N) { +1-> +2 >^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > N +1->Emitted(9, 1) Source(5, 1) + SourceIndex(3) +2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3) +3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3) +--- +>>> function f() { +1->^^^^ +2 > ^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^-> +1-> { + > +2 > function +3 > f +1->Emitted(10, 5) Source(6, 5) + SourceIndex(3) +2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3) +3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3) +--- +>>> console.log('testing'); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^ +7 > ^ +8 > ^ +1->() { + > +2 > console +3 > . +4 > log +5 > ( +6 > 'testing' +7 > ) +8 > ; +1->Emitted(11, 9) Source(7, 9) + SourceIndex(3) +2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3) +3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3) +4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3) +5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3) +6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3) +7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3) +8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3) +--- +>>> } +1 >^^^^ +2 > ^ +3 > ^^^^-> +1 > + > +2 > } +1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3) +--- +>>> f(); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^ +5 > ^^^^^^^^^^^-> +1-> + > + > +2 > f +3 > () +4 > ; +1->Emitted(13, 5) Source(10, 5) + SourceIndex(3) +2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3) +3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3) +4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3) +--- +>>>})(N || (N = {})); +1-> +2 >^ +3 > ^^ +4 > ^ +5 > ^^^^^ +6 > ^ +7 > ^^^^^^^^ +8 > ^^^^^^^^^^^-> +1-> + > +2 >} +3 > +4 > N +5 > +6 > N +7 > { + > function f() { + > console.log('testing'); + > } + > + > f(); + > } +1->Emitted(14, 1) Source(11, 1) + SourceIndex(3) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3) +3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3) +4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3) +5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3) +6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3) +7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3) +--- +>>>var normalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > + > +1->Emitted(15, 1) Source(13, 1) + SourceIndex(3) +--- +>>> function normalC() { +1->^^^^ +2 > ^^-> +1->class normalC { + > /*@internal*/ +1->Emitted(16, 5) Source(14, 19) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->constructor() { +2 > } +1->Emitted(17, 5) Source(14, 35) + SourceIndex(3) +2 >Emitted(17, 6) Source(14, 36) + SourceIndex(3) +--- +>>> normalC.prototype.method = function () { }; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^^ +5 > ^ +6 > ^^^^^^-> +1-> + > /*@internal*/ prop: string; + > /*@internal*/ +2 > method +3 > +4 > method() { +5 > } +1->Emitted(18, 5) Source(16, 19) + SourceIndex(3) +2 >Emitted(18, 29) Source(16, 25) + SourceIndex(3) +3 >Emitted(18, 32) Source(16, 19) + SourceIndex(3) +4 >Emitted(18, 46) Source(16, 30) + SourceIndex(3) +5 >Emitted(18, 47) Source(16, 31) + SourceIndex(3) +--- +>>> Object.defineProperty(normalC.prototype, "c", { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^^^^^^ +1-> + > /*@internal*/ +2 > get +3 > c +1->Emitted(19, 5) Source(17, 19) + SourceIndex(3) +2 >Emitted(19, 27) Source(17, 23) + SourceIndex(3) +3 >Emitted(19, 49) Source(17, 24) + SourceIndex(3) +--- +>>> get: function () { return 10; }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^ +5 > ^ +6 > ^ +7 > ^ +1 > +2 > get c() { +3 > return +4 > 10 +5 > ; +6 > +7 > } +1 >Emitted(20, 14) Source(17, 19) + SourceIndex(3) +2 >Emitted(20, 28) Source(17, 29) + SourceIndex(3) +3 >Emitted(20, 35) Source(17, 36) + SourceIndex(3) +4 >Emitted(20, 37) Source(17, 38) + SourceIndex(3) +5 >Emitted(20, 38) Source(17, 39) + SourceIndex(3) +6 >Emitted(20, 39) Source(17, 40) + SourceIndex(3) +7 >Emitted(20, 40) Source(17, 41) + SourceIndex(3) +--- +>>> set: function (val) { }, +1 >^^^^^^^^^^^^^ +2 > ^^^^^^^^^^ +3 > ^^^ +4 > ^^^^ +5 > ^ +1 > + > /*@internal*/ +2 > set c( +3 > val: number +4 > ) { +5 > } +1 >Emitted(21, 14) Source(18, 19) + SourceIndex(3) +2 >Emitted(21, 24) Source(18, 25) + SourceIndex(3) +3 >Emitted(21, 27) Source(18, 36) + SourceIndex(3) +4 >Emitted(21, 31) Source(18, 40) + SourceIndex(3) +5 >Emitted(21, 32) Source(18, 41) + SourceIndex(3) +--- +>>> enumerable: true, +>>> configurable: true +>>> }); +1 >^^^^^^^ +2 > ^^^^^^^^^^^^^-> +1 > +1 >Emitted(24, 8) Source(17, 41) + SourceIndex(3) +--- +>>> return normalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^ +1-> + > /*@internal*/ set c(val: number) { } + > +2 > } +1->Emitted(25, 5) Source(19, 1) + SourceIndex(3) +2 >Emitted(25, 19) Source(19, 2) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > class normalC { + > /*@internal*/ constructor() { } + > /*@internal*/ prop: string; + > /*@internal*/ method() { } + > /*@internal*/ get c() { return 10; } + > /*@internal*/ set c(val: number) { } + > } +1 >Emitted(26, 1) Source(19, 1) + SourceIndex(3) +2 >Emitted(26, 2) Source(19, 2) + SourceIndex(3) +3 >Emitted(26, 2) Source(13, 1) + SourceIndex(3) +4 >Emitted(26, 6) Source(19, 2) + SourceIndex(3) +--- +>>>var normalN; +1-> +2 >^^^^ +3 > ^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > +2 >namespace +3 > normalN +4 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1->Emitted(27, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(27, 5) Source(20, 11) + SourceIndex(3) +3 >Emitted(27, 12) Source(20, 18) + SourceIndex(3) +4 >Emitted(27, 13) Source(29, 2) + SourceIndex(3) +--- +>>>(function (normalN) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^ +4 > ^^^^^^^^^-> +1-> +2 >namespace +3 > normalN +1->Emitted(28, 1) Source(20, 1) + SourceIndex(3) +2 >Emitted(28, 12) Source(20, 11) + SourceIndex(3) +3 >Emitted(28, 19) Source(20, 18) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { + > /*@internal*/ +1->Emitted(29, 5) Source(21, 19) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(30, 9) Source(21, 19) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(31, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(31, 10) Source(21, 37) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(32, 9) Source(21, 36) + SourceIndex(3) +2 >Emitted(32, 17) Source(21, 37) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C { } +1 >Emitted(33, 5) Source(21, 36) + SourceIndex(3) +2 >Emitted(33, 6) Source(21, 37) + SourceIndex(3) +3 >Emitted(33, 6) Source(21, 19) + SourceIndex(3) +4 >Emitted(33, 10) Source(21, 37) + SourceIndex(3) +--- +>>> normalN.C = C; +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^-> +1-> +2 > C +3 > { } +4 > +1->Emitted(34, 5) Source(21, 32) + SourceIndex(3) +2 >Emitted(34, 14) Source(21, 33) + SourceIndex(3) +3 >Emitted(34, 18) Source(21, 37) + SourceIndex(3) +4 >Emitted(34, 19) Source(21, 37) + SourceIndex(3) +--- +>>> function foo() { } +1->^^^^ +2 > ^^^^^^^^^ +3 > ^^^ +4 > ^^^^^ +5 > ^ +6 > ^-> +1-> + > /*@internal*/ +2 > export function +3 > foo +4 > () { +5 > } +1->Emitted(35, 5) Source(22, 19) + SourceIndex(3) +2 >Emitted(35, 14) Source(22, 35) + SourceIndex(3) +3 >Emitted(35, 17) Source(22, 38) + SourceIndex(3) +4 >Emitted(35, 22) Source(22, 42) + SourceIndex(3) +5 >Emitted(35, 23) Source(22, 43) + SourceIndex(3) +--- +>>> normalN.foo = foo; +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^ +4 > ^ +5 > ^-> +1-> +2 > foo +3 > () {} +4 > +1->Emitted(36, 5) Source(22, 35) + SourceIndex(3) +2 >Emitted(36, 16) Source(22, 38) + SourceIndex(3) +3 >Emitted(36, 22) Source(22, 43) + SourceIndex(3) +4 >Emitted(36, 23) Source(22, 43) + SourceIndex(3) +--- +>>> var someNamespace; +1->^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1-> + > /*@internal*/ +2 > export namespace +3 > someNamespace +4 > { export class C {} } +1->Emitted(37, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(37, 9) Source(23, 36) + SourceIndex(3) +3 >Emitted(37, 22) Source(23, 49) + SourceIndex(3) +4 >Emitted(37, 23) Source(23, 71) + SourceIndex(3) +--- +>>> (function (someNamespace) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^-> +1-> +2 > export namespace +3 > someNamespace +1->Emitted(38, 5) Source(23, 19) + SourceIndex(3) +2 >Emitted(38, 16) Source(23, 36) + SourceIndex(3) +3 >Emitted(38, 29) Source(23, 49) + SourceIndex(3) +--- +>>> var C = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(39, 9) Source(23, 52) + SourceIndex(3) +--- +>>> function C() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(40, 13) Source(23, 52) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1->export class C { +2 > } +1->Emitted(41, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(41, 14) Source(23, 69) + SourceIndex(3) +--- +>>> return C; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^ +1-> +2 > } +1->Emitted(42, 13) Source(23, 68) + SourceIndex(3) +2 >Emitted(42, 21) Source(23, 69) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class C {} +1 >Emitted(43, 9) Source(23, 68) + SourceIndex(3) +2 >Emitted(43, 10) Source(23, 69) + SourceIndex(3) +3 >Emitted(43, 10) Source(23, 52) + SourceIndex(3) +4 >Emitted(43, 14) Source(23, 69) + SourceIndex(3) +--- +>>> someNamespace.C = C; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^ +3 > ^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > C +3 > {} +4 > +1->Emitted(44, 9) Source(23, 65) + SourceIndex(3) +2 >Emitted(44, 24) Source(23, 66) + SourceIndex(3) +3 >Emitted(44, 28) Source(23, 69) + SourceIndex(3) +4 >Emitted(44, 29) Source(23, 69) + SourceIndex(3) +--- +>>> })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > someNamespace +5 > +6 > someNamespace +7 > +8 > someNamespace +9 > { export class C {} } +1->Emitted(45, 5) Source(23, 70) + SourceIndex(3) +2 >Emitted(45, 6) Source(23, 71) + SourceIndex(3) +3 >Emitted(45, 8) Source(23, 36) + SourceIndex(3) +4 >Emitted(45, 21) Source(23, 49) + SourceIndex(3) +5 >Emitted(45, 24) Source(23, 36) + SourceIndex(3) +6 >Emitted(45, 45) Source(23, 49) + SourceIndex(3) +7 >Emitted(45, 50) Source(23, 36) + SourceIndex(3) +8 >Emitted(45, 71) Source(23, 49) + SourceIndex(3) +9 >Emitted(45, 79) Source(23, 71) + SourceIndex(3) +--- +>>> var someOther; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export namespace +3 > someOther +4 > .something { export class someClass {} } +1 >Emitted(46, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(46, 9) Source(24, 36) + SourceIndex(3) +3 >Emitted(46, 18) Source(24, 45) + SourceIndex(3) +4 >Emitted(46, 19) Source(24, 85) + SourceIndex(3) +--- +>>> (function (someOther) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +1-> +2 > export namespace +3 > someOther +1->Emitted(47, 5) Source(24, 19) + SourceIndex(3) +2 >Emitted(47, 16) Source(24, 36) + SourceIndex(3) +3 >Emitted(47, 25) Source(24, 45) + SourceIndex(3) +--- +>>> var something; +1 >^^^^^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(48, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(48, 13) Source(24, 46) + SourceIndex(3) +3 >Emitted(48, 22) Source(24, 55) + SourceIndex(3) +4 >Emitted(48, 23) Source(24, 85) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(49, 9) Source(24, 46) + SourceIndex(3) +2 >Emitted(49, 20) Source(24, 46) + SourceIndex(3) +3 >Emitted(49, 29) Source(24, 55) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(50, 13) Source(24, 58) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(51, 17) Source(24, 58) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(52, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(52, 18) Source(24, 83) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(53, 17) Source(24, 82) + SourceIndex(3) +2 >Emitted(53, 33) Source(24, 83) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(54, 13) Source(24, 82) + SourceIndex(3) +2 >Emitted(54, 14) Source(24, 83) + SourceIndex(3) +3 >Emitted(54, 14) Source(24, 58) + SourceIndex(3) +4 >Emitted(54, 18) Source(24, 83) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(55, 13) Source(24, 71) + SourceIndex(3) +2 >Emitted(55, 32) Source(24, 80) + SourceIndex(3) +3 >Emitted(55, 44) Source(24, 83) + SourceIndex(3) +4 >Emitted(55, 45) Source(24, 83) + SourceIndex(3) +--- +>>> })(something = someOther.something || (someOther.something = {})); +1->^^^^^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(56, 9) Source(24, 84) + SourceIndex(3) +2 >Emitted(56, 10) Source(24, 85) + SourceIndex(3) +3 >Emitted(56, 12) Source(24, 46) + SourceIndex(3) +4 >Emitted(56, 21) Source(24, 55) + SourceIndex(3) +5 >Emitted(56, 24) Source(24, 46) + SourceIndex(3) +6 >Emitted(56, 43) Source(24, 55) + SourceIndex(3) +7 >Emitted(56, 48) Source(24, 46) + SourceIndex(3) +8 >Emitted(56, 67) Source(24, 55) + SourceIndex(3) +9 >Emitted(56, 75) Source(24, 85) + SourceIndex(3) +--- +>>> })(someOther = normalN.someOther || (normalN.someOther = {})); +1 >^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1 > +2 > } +3 > +4 > someOther +5 > +6 > someOther +7 > +8 > someOther +9 > .something { export class someClass {} } +1 >Emitted(57, 5) Source(24, 84) + SourceIndex(3) +2 >Emitted(57, 6) Source(24, 85) + SourceIndex(3) +3 >Emitted(57, 8) Source(24, 36) + SourceIndex(3) +4 >Emitted(57, 17) Source(24, 45) + SourceIndex(3) +5 >Emitted(57, 20) Source(24, 36) + SourceIndex(3) +6 >Emitted(57, 37) Source(24, 45) + SourceIndex(3) +7 >Emitted(57, 42) Source(24, 36) + SourceIndex(3) +8 >Emitted(57, 59) Source(24, 45) + SourceIndex(3) +9 >Emitted(57, 67) Source(24, 85) + SourceIndex(3) +--- +>>> normalN.someImport = someNamespace.C; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^ +5 > ^ +6 > ^ +7 > ^ +1 > + > /*@internal*/ export import +2 > someImport +3 > = +4 > someNamespace +5 > . +6 > C +7 > ; +1 >Emitted(58, 5) Source(25, 33) + SourceIndex(3) +2 >Emitted(58, 23) Source(25, 43) + SourceIndex(3) +3 >Emitted(58, 26) Source(25, 46) + SourceIndex(3) +4 >Emitted(58, 39) Source(25, 59) + SourceIndex(3) +5 >Emitted(58, 40) Source(25, 60) + SourceIndex(3) +6 >Emitted(58, 41) Source(25, 61) + SourceIndex(3) +7 >Emitted(58, 42) Source(25, 62) + SourceIndex(3) +--- +>>> normalN.internalConst = 10; +1 >^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^ +5 > ^ +1 > + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const +2 > internalConst +3 > = +4 > 10 +5 > ; +1 >Emitted(59, 5) Source(27, 32) + SourceIndex(3) +2 >Emitted(59, 26) Source(27, 45) + SourceIndex(3) +3 >Emitted(59, 29) Source(27, 48) + SourceIndex(3) +4 >Emitted(59, 31) Source(27, 50) + SourceIndex(3) +5 >Emitted(59, 32) Source(27, 51) + SourceIndex(3) +--- +>>> var internalEnum; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + > /*@internal*/ +2 > export enum +3 > internalEnum { a, b, c } +1 >Emitted(60, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(60, 9) Source(28, 31) + SourceIndex(3) +3 >Emitted(60, 21) Source(28, 55) + SourceIndex(3) +--- +>>> (function (internalEnum) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > export enum +3 > internalEnum +1->Emitted(61, 5) Source(28, 19) + SourceIndex(3) +2 >Emitted(61, 16) Source(28, 31) + SourceIndex(3) +3 >Emitted(61, 28) Source(28, 43) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(62, 9) Source(28, 46) + SourceIndex(3) +2 >Emitted(62, 50) Source(28, 47) + SourceIndex(3) +3 >Emitted(62, 51) Source(28, 47) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(63, 9) Source(28, 49) + SourceIndex(3) +2 >Emitted(63, 50) Source(28, 50) + SourceIndex(3) +3 >Emitted(63, 51) Source(28, 50) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->, +2 > c +3 > +1->Emitted(64, 9) Source(28, 52) + SourceIndex(3) +2 >Emitted(64, 50) Source(28, 53) + SourceIndex(3) +3 >Emitted(64, 51) Source(28, 53) + SourceIndex(3) +--- +>>> })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > +8 > internalEnum +9 > { a, b, c } +1->Emitted(65, 5) Source(28, 54) + SourceIndex(3) +2 >Emitted(65, 6) Source(28, 55) + SourceIndex(3) +3 >Emitted(65, 8) Source(28, 31) + SourceIndex(3) +4 >Emitted(65, 20) Source(28, 43) + SourceIndex(3) +5 >Emitted(65, 23) Source(28, 31) + SourceIndex(3) +6 >Emitted(65, 43) Source(28, 43) + SourceIndex(3) +7 >Emitted(65, 48) Source(28, 31) + SourceIndex(3) +8 >Emitted(65, 68) Source(28, 43) + SourceIndex(3) +9 >Emitted(65, 76) Source(28, 55) + SourceIndex(3) +--- +>>>})(normalN || (normalN = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^ +7 > ^^^^^^^^ +8 > ^-> +1 > + > +2 >} +3 > +4 > normalN +5 > +6 > normalN +7 > { + > /*@internal*/ export class C { } + > /*@internal*/ export function foo() {} + > /*@internal*/ export namespace someNamespace { export class C {} } + > /*@internal*/ export namespace someOther.something { export class someClass {} } + > /*@internal*/ export import someImport = someNamespace.C; + > /*@internal*/ export type internalType = internalC; + > /*@internal*/ export const internalConst = 10; + > /*@internal*/ export enum internalEnum { a, b, c } + > } +1 >Emitted(66, 1) Source(29, 1) + SourceIndex(3) +2 >Emitted(66, 2) Source(29, 2) + SourceIndex(3) +3 >Emitted(66, 4) Source(20, 11) + SourceIndex(3) +4 >Emitted(66, 11) Source(20, 18) + SourceIndex(3) +5 >Emitted(66, 16) Source(20, 11) + SourceIndex(3) +6 >Emitted(66, 23) Source(20, 18) + SourceIndex(3) +7 >Emitted(66, 31) Source(29, 2) + SourceIndex(3) +--- +>>>var internalC = (function () { +1-> +2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + >/*@internal*/ +1->Emitted(67, 1) Source(30, 15) + SourceIndex(3) +--- +>>> function internalC() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(68, 5) Source(30, 15) + SourceIndex(3) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->class internalC { +2 > } +1->Emitted(69, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(69, 6) Source(30, 33) + SourceIndex(3) +--- +>>> return internalC; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(70, 5) Source(30, 32) + SourceIndex(3) +2 >Emitted(70, 21) Source(30, 33) + SourceIndex(3) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class internalC {} +1 >Emitted(71, 1) Source(30, 32) + SourceIndex(3) +2 >Emitted(71, 2) Source(30, 33) + SourceIndex(3) +3 >Emitted(71, 2) Source(30, 15) + SourceIndex(3) +4 >Emitted(71, 6) Source(30, 33) + SourceIndex(3) +--- +>>>function internalfoo() { } +1-> +2 >^^^^^^^^^ +3 > ^^^^^^^^^^^ +4 > ^^^^^ +5 > ^ +1-> + >/*@internal*/ +2 >function +3 > internalfoo +4 > () { +5 > } +1->Emitted(72, 1) Source(31, 15) + SourceIndex(3) +2 >Emitted(72, 10) Source(31, 24) + SourceIndex(3) +3 >Emitted(72, 21) Source(31, 35) + SourceIndex(3) +4 >Emitted(72, 26) Source(31, 39) + SourceIndex(3) +5 >Emitted(72, 27) Source(31, 40) + SourceIndex(3) +--- +>>>var internalNamespace; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalNamespace +4 > { export class someClass {} } +1 >Emitted(73, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(73, 5) Source(32, 25) + SourceIndex(3) +3 >Emitted(73, 22) Source(32, 42) + SourceIndex(3) +4 >Emitted(73, 23) Source(32, 72) + SourceIndex(3) +--- +>>>(function (internalNamespace) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^^^^^ +4 > ^^^^^^^-> +1-> +2 >namespace +3 > internalNamespace +1->Emitted(74, 1) Source(32, 15) + SourceIndex(3) +2 >Emitted(74, 12) Source(32, 25) + SourceIndex(3) +3 >Emitted(74, 29) Source(32, 42) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(75, 5) Source(32, 45) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(76, 9) Source(32, 45) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(77, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(77, 10) Source(32, 70) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(78, 9) Source(32, 69) + SourceIndex(3) +2 >Emitted(78, 25) Source(32, 70) + SourceIndex(3) +--- +>>> }()); +1 >^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(79, 5) Source(32, 69) + SourceIndex(3) +2 >Emitted(79, 6) Source(32, 70) + SourceIndex(3) +3 >Emitted(79, 6) Source(32, 45) + SourceIndex(3) +4 >Emitted(79, 10) Source(32, 70) + SourceIndex(3) +--- +>>> internalNamespace.someClass = someClass; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(80, 5) Source(32, 58) + SourceIndex(3) +2 >Emitted(80, 32) Source(32, 67) + SourceIndex(3) +3 >Emitted(80, 44) Source(32, 70) + SourceIndex(3) +4 >Emitted(80, 45) Source(32, 70) + SourceIndex(3) +--- +>>>})(internalNamespace || (internalNamespace = {})); +1-> +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^^^^^ +7 > ^^^^^^^^ +1-> +2 >} +3 > +4 > internalNamespace +5 > +6 > internalNamespace +7 > { export class someClass {} } +1->Emitted(81, 1) Source(32, 71) + SourceIndex(3) +2 >Emitted(81, 2) Source(32, 72) + SourceIndex(3) +3 >Emitted(81, 4) Source(32, 25) + SourceIndex(3) +4 >Emitted(81, 21) Source(32, 42) + SourceIndex(3) +5 >Emitted(81, 26) Source(32, 25) + SourceIndex(3) +6 >Emitted(81, 43) Source(32, 42) + SourceIndex(3) +7 >Emitted(81, 51) Source(32, 72) + SourceIndex(3) +--- +>>>var internalOther; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >namespace +3 > internalOther +4 > .something { export class someClass {} } +1 >Emitted(82, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(82, 5) Source(33, 25) + SourceIndex(3) +3 >Emitted(82, 18) Source(33, 38) + SourceIndex(3) +4 >Emitted(82, 19) Source(33, 78) + SourceIndex(3) +--- +>>>(function (internalOther) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^^ +1-> +2 >namespace +3 > internalOther +1->Emitted(83, 1) Source(33, 15) + SourceIndex(3) +2 >Emitted(83, 12) Source(33, 25) + SourceIndex(3) +3 >Emitted(83, 25) Source(33, 38) + SourceIndex(3) +--- +>>> var something; +1 >^^^^ +2 > ^^^^ +3 > ^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^-> +1 >. +2 > +3 > something +4 > { export class someClass {} } +1 >Emitted(84, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(84, 9) Source(33, 39) + SourceIndex(3) +3 >Emitted(84, 18) Source(33, 48) + SourceIndex(3) +4 >Emitted(84, 19) Source(33, 78) + SourceIndex(3) +--- +>>> (function (something) { +1->^^^^ +2 > ^^^^^^^^^^^ +3 > ^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^-> +1-> +2 > +3 > something +1->Emitted(85, 5) Source(33, 39) + SourceIndex(3) +2 >Emitted(85, 16) Source(33, 39) + SourceIndex(3) +3 >Emitted(85, 25) Source(33, 48) + SourceIndex(3) +--- +>>> var someClass = (function () { +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> { +1->Emitted(86, 9) Source(33, 51) + SourceIndex(3) +--- +>>> function someClass() { +1->^^^^^^^^^^^^ +2 > ^^-> +1-> +1->Emitted(87, 13) Source(33, 51) + SourceIndex(3) +--- +>>> } +1->^^^^^^^^^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^-> +1->export class someClass { +2 > } +1->Emitted(88, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(88, 14) Source(33, 76) + SourceIndex(3) +--- +>>> return someClass; +1->^^^^^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^ +1-> +2 > } +1->Emitted(89, 13) Source(33, 75) + SourceIndex(3) +2 >Emitted(89, 29) Source(33, 76) + SourceIndex(3) +--- +>>> }()); +1 >^^^^^^^^ +2 > ^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 > } +3 > +4 > export class someClass {} +1 >Emitted(90, 9) Source(33, 75) + SourceIndex(3) +2 >Emitted(90, 10) Source(33, 76) + SourceIndex(3) +3 >Emitted(90, 10) Source(33, 51) + SourceIndex(3) +4 >Emitted(90, 14) Source(33, 76) + SourceIndex(3) +--- +>>> something.someClass = someClass; +1->^^^^^^^^ +2 > ^^^^^^^^^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 > someClass +3 > {} +4 > +1->Emitted(91, 9) Source(33, 64) + SourceIndex(3) +2 >Emitted(91, 28) Source(33, 73) + SourceIndex(3) +3 >Emitted(91, 40) Source(33, 76) + SourceIndex(3) +4 >Emitted(91, 41) Source(33, 76) + SourceIndex(3) +--- +>>> })(something = internalOther.something || (internalOther.something = {})); +1->^^^^ +2 > ^ +3 > ^^ +4 > ^^^^^^^^^ +5 > ^^^ +6 > ^^^^^^^^^^^^^^^^^^^^^^^ +7 > ^^^^^ +8 > ^^^^^^^^^^^^^^^^^^^^^^^ +9 > ^^^^^^^^ +1-> +2 > } +3 > +4 > something +5 > +6 > something +7 > +8 > something +9 > { export class someClass {} } +1->Emitted(92, 5) Source(33, 77) + SourceIndex(3) +2 >Emitted(92, 6) Source(33, 78) + SourceIndex(3) +3 >Emitted(92, 8) Source(33, 39) + SourceIndex(3) +4 >Emitted(92, 17) Source(33, 48) + SourceIndex(3) +5 >Emitted(92, 20) Source(33, 39) + SourceIndex(3) +6 >Emitted(92, 43) Source(33, 48) + SourceIndex(3) +7 >Emitted(92, 48) Source(33, 39) + SourceIndex(3) +8 >Emitted(92, 71) Source(33, 48) + SourceIndex(3) +9 >Emitted(92, 79) Source(33, 78) + SourceIndex(3) +--- +>>>})(internalOther || (internalOther = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^^ +7 > ^^^^^^^^ +8 > ^^^^^^^^-> +1 > +2 >} +3 > +4 > internalOther +5 > +6 > internalOther +7 > .something { export class someClass {} } +1 >Emitted(93, 1) Source(33, 77) + SourceIndex(3) +2 >Emitted(93, 2) Source(33, 78) + SourceIndex(3) +3 >Emitted(93, 4) Source(33, 25) + SourceIndex(3) +4 >Emitted(93, 17) Source(33, 38) + SourceIndex(3) +5 >Emitted(93, 22) Source(33, 25) + SourceIndex(3) +6 >Emitted(93, 35) Source(33, 38) + SourceIndex(3) +7 >Emitted(93, 43) Source(33, 78) + SourceIndex(3) +--- +>>>var internalImport = internalNamespace.someClass; +1-> +2 >^^^^ +3 > ^^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^^^^^^^^^^^^^^^^ +6 > ^ +7 > ^^^^^^^^^ +8 > ^ +1-> + >/*@internal*/ +2 >import +3 > internalImport +4 > = +5 > internalNamespace +6 > . +7 > someClass +8 > ; +1->Emitted(94, 1) Source(34, 15) + SourceIndex(3) +2 >Emitted(94, 5) Source(34, 22) + SourceIndex(3) +3 >Emitted(94, 19) Source(34, 36) + SourceIndex(3) +4 >Emitted(94, 22) Source(34, 39) + SourceIndex(3) +5 >Emitted(94, 39) Source(34, 56) + SourceIndex(3) +6 >Emitted(94, 40) Source(34, 57) + SourceIndex(3) +7 >Emitted(94, 49) Source(34, 66) + SourceIndex(3) +8 >Emitted(94, 50) Source(34, 67) + SourceIndex(3) +--- +>>>var internalConst = 10; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^^ +4 > ^^^ +5 > ^^ +6 > ^ +1 > + >/*@internal*/ type internalType = internalC; + >/*@internal*/ +2 >const +3 > internalConst +4 > = +5 > 10 +6 > ; +1 >Emitted(95, 1) Source(36, 15) + SourceIndex(3) +2 >Emitted(95, 5) Source(36, 21) + SourceIndex(3) +3 >Emitted(95, 18) Source(36, 34) + SourceIndex(3) +4 >Emitted(95, 21) Source(36, 37) + SourceIndex(3) +5 >Emitted(95, 23) Source(36, 39) + SourceIndex(3) +6 >Emitted(95, 24) Source(36, 40) + SourceIndex(3) +--- +>>>var internalEnum; +1 > +2 >^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^-> +1 > + >/*@internal*/ +2 >enum +3 > internalEnum { a, b, c } +1 >Emitted(96, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(96, 5) Source(37, 20) + SourceIndex(3) +3 >Emitted(96, 17) Source(37, 44) + SourceIndex(3) +--- +>>>(function (internalEnum) { +1-> +2 >^^^^^^^^^^^ +3 > ^^^^^^^^^^^^ +4 > ^^^^^^^^^^^^^^^^^^^^^^^^-> +1-> +2 >enum +3 > internalEnum +1->Emitted(97, 1) Source(37, 15) + SourceIndex(3) +2 >Emitted(97, 12) Source(37, 20) + SourceIndex(3) +3 >Emitted(97, 24) Source(37, 32) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["a"] = 0] = "a"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1-> { +2 > a +3 > +1->Emitted(98, 5) Source(37, 35) + SourceIndex(3) +2 >Emitted(98, 46) Source(37, 36) + SourceIndex(3) +3 >Emitted(98, 47) Source(37, 36) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["b"] = 1] = "b"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +4 > ^-> +1->, +2 > b +3 > +1->Emitted(99, 5) Source(37, 38) + SourceIndex(3) +2 >Emitted(99, 46) Source(37, 39) + SourceIndex(3) +3 >Emitted(99, 47) Source(37, 39) + SourceIndex(3) +--- +>>> internalEnum[internalEnum["c"] = 2] = "c"; +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^ +1->, +2 > c +3 > +1->Emitted(100, 5) Source(37, 41) + SourceIndex(3) +2 >Emitted(100, 46) Source(37, 42) + SourceIndex(3) +3 >Emitted(100, 47) Source(37, 42) + SourceIndex(3) +--- +>>>})(internalEnum || (internalEnum = {})); +1 > +2 >^ +3 > ^^ +4 > ^^^^^^^^^^^^ +5 > ^^^^^ +6 > ^^^^^^^^^^^^ +7 > ^^^^^^^^ +1 > +2 >} +3 > +4 > internalEnum +5 > +6 > internalEnum +7 > { a, b, c } +1 >Emitted(101, 1) Source(37, 43) + SourceIndex(3) +2 >Emitted(101, 2) Source(37, 44) + SourceIndex(3) +3 >Emitted(101, 4) Source(37, 20) + SourceIndex(3) +4 >Emitted(101, 16) Source(37, 32) + SourceIndex(3) +5 >Emitted(101, 21) Source(37, 20) + SourceIndex(3) +6 >Emitted(101, 33) Source(37, 32) + SourceIndex(3) +7 >Emitted(101, 41) Source(37, 44) + SourceIndex(3) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../../second/second_part2.ts +------------------------------------------------------------------- +>>>var C = (function () { +1 > +2 >^^^^^^^^^^^^^^^^^^^-> +1 > +1 >Emitted(102, 1) Source(1, 1) + SourceIndex(4) +--- +>>> function C() { +1->^^^^ +2 > ^^-> +1-> +1->Emitted(103, 5) Source(1, 1) + SourceIndex(4) +--- +>>> } +1->^^^^ +2 > ^ +3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1->class C { + > doSomething() { + > console.log("something got done"); + > } + > +2 > } +1->Emitted(104, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(104, 6) Source(5, 2) + SourceIndex(4) +--- +>>> C.prototype.doSomething = function () { +1->^^^^ +2 > ^^^^^^^^^^^^^^^^^^^^^^^ +3 > ^^^ +4 > ^^^^^^^^^^^^^-> +1-> +2 > doSomething +3 > +1->Emitted(105, 5) Source(2, 5) + SourceIndex(4) +2 >Emitted(105, 28) Source(2, 16) + SourceIndex(4) +3 >Emitted(105, 31) Source(2, 5) + SourceIndex(4) +--- +>>> console.log("something got done"); +1->^^^^^^^^ +2 > ^^^^^^^ +3 > ^ +4 > ^^^ +5 > ^ +6 > ^^^^^^^^^^^^^^^^^^^^ +7 > ^ +8 > ^ +1->doSomething() { + > +2 > console +3 > . +4 > log +5 > ( +6 > "something got done" +7 > ) +8 > ; +1->Emitted(106, 9) Source(3, 9) + SourceIndex(4) +2 >Emitted(106, 16) Source(3, 16) + SourceIndex(4) +3 >Emitted(106, 17) Source(3, 17) + SourceIndex(4) +4 >Emitted(106, 20) Source(3, 20) + SourceIndex(4) +5 >Emitted(106, 21) Source(3, 21) + SourceIndex(4) +6 >Emitted(106, 41) Source(3, 41) + SourceIndex(4) +7 >Emitted(106, 42) Source(3, 42) + SourceIndex(4) +8 >Emitted(106, 43) Source(3, 43) + SourceIndex(4) +--- +>>> }; +1 >^^^^ +2 > ^ +3 > ^^^^^^^^^-> +1 > + > +2 > } +1 >Emitted(107, 5) Source(4, 5) + SourceIndex(4) +2 >Emitted(107, 6) Source(4, 6) + SourceIndex(4) +--- +>>> return C; +1->^^^^ +2 > ^^^^^^^^ +1-> + > +2 > } +1->Emitted(108, 5) Source(5, 1) + SourceIndex(4) +2 >Emitted(108, 13) Source(5, 2) + SourceIndex(4) +--- +>>>}()); +1 > +2 >^ +3 > +4 > ^^^^ +5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +1 > +2 >} +3 > +4 > class C { + > doSomething() { + > console.log("something got done"); + > } + > } +1 >Emitted(109, 1) Source(5, 1) + SourceIndex(4) +2 >Emitted(109, 2) Source(5, 2) + SourceIndex(4) +3 >Emitted(109, 2) Source(1, 1) + SourceIndex(4) +4 >Emitted(109, 6) Source(5, 2) + SourceIndex(4) +--- +------------------------------------------------------------------- +emittedFile:/src/third/thirdjs/output/third-output.js +sourceFile:../../third_part1.ts +------------------------------------------------------------------- +>>>//# sourceMappingURL=second-output.js.map +>>>var c = new C(); +1-> +2 >^^^^ +3 > ^ +4 > ^^^ +5 > ^^^^ +6 > ^ +7 > ^^ +8 > ^ +9 > ^-> +1-> +2 >var +3 > c +4 > = +5 > new +6 > C +7 > () +8 > ; +1->Emitted(111, 1) Source(1, 1) + SourceIndex(5) +2 >Emitted(111, 5) Source(1, 5) + SourceIndex(5) +3 >Emitted(111, 6) Source(1, 6) + SourceIndex(5) +4 >Emitted(111, 9) Source(1, 9) + SourceIndex(5) +5 >Emitted(111, 13) Source(1, 13) + SourceIndex(5) +6 >Emitted(111, 14) Source(1, 14) + SourceIndex(5) +7 >Emitted(111, 16) Source(1, 16) + SourceIndex(5) +8 >Emitted(111, 17) Source(1, 17) + SourceIndex(5) +--- +>>>c.doSomething(); +1-> +2 >^ +3 > ^ +4 > ^^^^^^^^^^^ +5 > ^^ +6 > ^ +7 > ^^^^^^^^^^^^^^^^^^^^^^^-> +1-> + > +2 >c +3 > . +4 > doSomething +5 > () +6 > ; +1->Emitted(112, 1) Source(2, 1) + SourceIndex(5) +2 >Emitted(112, 2) Source(2, 2) + SourceIndex(5) +3 >Emitted(112, 3) Source(2, 3) + SourceIndex(5) +4 >Emitted(112, 14) Source(2, 14) + SourceIndex(5) +5 >Emitted(112, 16) Source(2, 16) + SourceIndex(5) +6 >Emitted(112, 17) Source(2, 17) + SourceIndex(5) +--- +>>>//# sourceMappingURL=third-output.js.map + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, +"stripInternal": true + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + +