1Input:: 2//// [/lib/lib.d.ts] 3/// <reference no-default-lib="true"/> 4interface Boolean {} 5interface Function {} 6interface CallableFunction {} 7interface NewableFunction {} 8interface IArguments {} 9interface Number { toExponential: any; } 10interface Object {} 11interface RegExp {} 12interface String { charAt: any; } 13interface Array<T> { length: number; [n: number]: T; } 14interface ReadonlyArray<T> {} 15declare const console: { log(msg: any): void; }; 16 17//// [/src/first/first_PART1.ts] 18enum TokenFlags { 19 None = 0, 20 /* @internal */ 21 PrecedingLineBreak = 1 << 0, 22 /* @internal */ 23 PrecedingJSDocComment = 1 << 1, 24 /* @internal */ 25 Unterminated = 1 << 2, 26 /* @internal */ 27 ExtendedUnicodeEscape = 1 << 3, 28 Scientific = 1 << 4, 29 Octal = 1 << 5, 30 HexSpecifier = 1 << 6, 31 BinarySpecifier = 1 << 7, 32 OctalSpecifier = 1 << 8, 33 /* @internal */ 34 ContainsSeparator = 1 << 9, 35 /* @internal */ 36 BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier, 37 /* @internal */ 38 NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 39} 40interface TheFirst { 41 none: any; 42} 43 44const s = "Hello, world"; 45 46interface NoJsForHereEither { 47 none: any; 48} 49 50console.log(s); 51 52 53//// [/src/first/first_part2.ts] 54console.log(f()); 55 56 57//// [/src/first/first_part3.ts] 58function f() { 59 return "JS does hoists"; 60} 61 62//// [/src/first/tsconfig.json] 63{ 64 "compilerOptions": { 65 "target": "es5", 66 "composite": true, 67 "removeComments": true, 68 "strict": false, 69 "sourceMap": true, 70 "declarationMap": true, 71 "outFile": "./bin/first-output.js", 72 "skipDefaultLibCheck": true, 73 }, 74 "files": [ 75 "first_PART1.ts", 76 "first_part2.ts", 77 "first_part3.ts" 78 ], 79 "references": [ 80 ] 81} 82 83 84//// [/src/second/second_part1.ts] 85namespace N { 86 // Comment text 87} 88 89namespace N { 90 function f() { 91 console.log('testing'); 92 } 93 94 f(); 95} 96 97 98//// [/src/second/second_part2.ts] 99class C { 100 doSomething() { 101 console.log("something got done"); 102 } 103} 104 105 106//// [/src/second/tsconfig.json] 107{ 108 "compilerOptions": { 109 "target": "es5", 110 "composite": true, 111 "removeComments": true, 112 "strict": false, 113 "sourceMap": true, 114 "declarationMap": true, 115 "declaration": true, 116 "outFile": "../2/second-output.js", 117 "skipDefaultLibCheck": true 118 }, 119 "references": [ 120 ] 121} 122 123 124//// [/src/third/third_part1.ts] 125var c = new C(); 126c.doSomething(); 127 128 129//// [/src/third/tsconfig.json] 130{ 131 "compilerOptions": { 132 "target": "es5", 133 "composite": true, 134 "removeComments": true, 135 "strict": false, 136 "sourceMap": true, 137 "declarationMap": true, 138 "declaration": true, 139 "stripInternal": true, 140 "outFile": "./thirdjs/output/third-output.js", 141 "skipDefaultLibCheck": true, 142 }, 143 "files": [ 144 "third_part1.ts" 145 ], 146 "references": [ 147 { "path": "../first", "prepend": true }, 148 { "path": "../second", "prepend": true }, 149 ] 150} 151 152 153 154 155Output:: 156/lib/tsc --b /src/third --verbose 157[[90m12:00:00 AM[0m] Projects in this build: 158 * src/first/tsconfig.json 159 * src/second/tsconfig.json 160 * src/third/tsconfig.json 161 162[[90m12:00:00 AM[0m] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist 163 164[[90m12:00:00 AM[0m] Building project '/src/first/tsconfig.json'... 165 166[[90m12:00:00 AM[0m] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist 167 168[[90m12:00:00 AM[0m] Building project '/src/second/tsconfig.json'... 169 170[[90m12:00:00 AM[0m] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist 171 172[[90m12:00:00 AM[0m] Building project '/src/third/tsconfig.json'... 173 174exitCode:: ExitStatus.Success 175 176 177//// [/src/2/second-output.d.ts] 178declare namespace N { 179} 180declare namespace N { 181} 182declare class C { 183 doSomething(): void; 184} 185//# sourceMappingURL=second-output.d.ts.map 186 187//// [/src/2/second-output.d.ts.map] 188{"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;ACVD,cAAM,CAAC;IACH,WAAW;CAGd"} 189 190//// [/src/2/second-output.d.ts.map.baseline.txt] 191=================================================================== 192JsFile: second-output.d.ts 193mapUrl: second-output.d.ts.map 194sourceRoot: 195sources: ../second/second_part1.ts,../second/second_part2.ts 196=================================================================== 197------------------------------------------------------------------- 198emittedFile:/src/2/second-output.d.ts 199sourceFile:../second/second_part1.ts 200------------------------------------------------------------------- 201>>>declare namespace N { 2021 > 2032 >^^^^^^^^^^^^^^^^^^ 2043 > ^ 2054 > ^ 2061 > 2072 >namespace 2083 > N 2094 > 2101 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) 2112 >Emitted(1, 19) Source(1, 11) + SourceIndex(0) 2123 >Emitted(1, 20) Source(1, 12) + SourceIndex(0) 2134 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) 214--- 215>>>} 2161 >^ 2172 > ^^^^^^^^^^^^^^^^^^^^^-> 2181 >{ 219 > // Comment text 220 >} 2211 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) 222--- 223>>>declare namespace N { 2241-> 2252 >^^^^^^^^^^^^^^^^^^ 2263 > ^ 2274 > ^ 2281-> 229 > 230 > 2312 >namespace 2323 > N 2334 > 2341->Emitted(3, 1) Source(5, 1) + SourceIndex(0) 2352 >Emitted(3, 19) Source(5, 11) + SourceIndex(0) 2363 >Emitted(3, 20) Source(5, 12) + SourceIndex(0) 2374 >Emitted(3, 21) Source(5, 13) + SourceIndex(0) 238--- 239>>>} 2401 >^ 2412 > ^^^^^^^^^^^^^^^^^-> 2421 >{ 243 > function f() { 244 > console.log('testing'); 245 > } 246 > 247 > f(); 248 >} 2491 >Emitted(4, 2) Source(11, 2) + SourceIndex(0) 250--- 251------------------------------------------------------------------- 252emittedFile:/src/2/second-output.d.ts 253sourceFile:../second/second_part2.ts 254------------------------------------------------------------------- 255>>>declare class C { 2561-> 2572 >^^^^^^^^^^^^^^ 2583 > ^ 2594 > ^^^^^^^^^^-> 2601-> 2612 >class 2623 > C 2631->Emitted(5, 1) Source(1, 1) + SourceIndex(1) 2642 >Emitted(5, 15) Source(1, 7) + SourceIndex(1) 2653 >Emitted(5, 16) Source(1, 8) + SourceIndex(1) 266--- 267>>> doSomething(): void; 2681->^^^^ 2692 > ^^^^^^^^^^^ 2701-> { 271 > 2722 > doSomething 2731->Emitted(6, 5) Source(2, 5) + SourceIndex(1) 2742 >Emitted(6, 16) Source(2, 16) + SourceIndex(1) 275--- 276>>>} 2771 >^ 2782 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 2791 >() { 280 > console.log("something got done"); 281 > } 282 >} 2831 >Emitted(7, 2) Source(5, 2) + SourceIndex(1) 284--- 285>>>//# sourceMappingURL=second-output.d.ts.map 286 287//// [/src/2/second-output.js] 288var N; 289(function (N) { 290 function f() { 291 console.log('testing'); 292 } 293 f(); 294})(N || (N = {})); 295var C = (function () { 296 function C() { 297 } 298 C.prototype.doSomething = function () { 299 console.log("something got done"); 300 }; 301 return C; 302}()); 303//# sourceMappingURL=second-output.js.map 304 305//// [/src/2/second-output.js.map] 306{"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;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} 307 308//// [/src/2/second-output.js.map.baseline.txt] 309=================================================================== 310JsFile: second-output.js 311mapUrl: second-output.js.map 312sourceRoot: 313sources: ../second/second_part1.ts,../second/second_part2.ts 314=================================================================== 315------------------------------------------------------------------- 316emittedFile:/src/2/second-output.js 317sourceFile:../second/second_part1.ts 318------------------------------------------------------------------- 319>>>var N; 3201 > 3212 >^^^^ 3223 > ^ 3234 > ^ 3245 > ^^^^^^^^^^-> 3251 >namespace N { 326 > // Comment text 327 >} 328 > 329 > 3302 >namespace 3313 > N 3324 > { 333 > function f() { 334 > console.log('testing'); 335 > } 336 > 337 > f(); 338 > } 3391 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) 3402 >Emitted(1, 5) Source(5, 11) + SourceIndex(0) 3413 >Emitted(1, 6) Source(5, 12) + SourceIndex(0) 3424 >Emitted(1, 7) Source(11, 2) + SourceIndex(0) 343--- 344>>>(function (N) { 3451-> 3462 >^^^^^^^^^^^ 3473 > ^ 3484 > ^^^^^^^-> 3491-> 3502 >namespace 3513 > N 3521->Emitted(2, 1) Source(5, 1) + SourceIndex(0) 3532 >Emitted(2, 12) Source(5, 11) + SourceIndex(0) 3543 >Emitted(2, 13) Source(5, 12) + SourceIndex(0) 355--- 356>>> function f() { 3571->^^^^ 3582 > ^^^^^^^^^ 3593 > ^ 3604 > ^^^^^^^^^^^^^^^^^^-> 3611-> { 362 > 3632 > function 3643 > f 3651->Emitted(3, 5) Source(6, 5) + SourceIndex(0) 3662 >Emitted(3, 14) Source(6, 14) + SourceIndex(0) 3673 >Emitted(3, 15) Source(6, 15) + SourceIndex(0) 368--- 369>>> console.log('testing'); 3701->^^^^^^^^ 3712 > ^^^^^^^ 3723 > ^ 3734 > ^^^ 3745 > ^ 3756 > ^^^^^^^^^ 3767 > ^ 3778 > ^ 3781->() { 379 > 3802 > console 3813 > . 3824 > log 3835 > ( 3846 > 'testing' 3857 > ) 3868 > ; 3871->Emitted(4, 9) Source(7, 9) + SourceIndex(0) 3882 >Emitted(4, 16) Source(7, 16) + SourceIndex(0) 3893 >Emitted(4, 17) Source(7, 17) + SourceIndex(0) 3904 >Emitted(4, 20) Source(7, 20) + SourceIndex(0) 3915 >Emitted(4, 21) Source(7, 21) + SourceIndex(0) 3926 >Emitted(4, 30) Source(7, 30) + SourceIndex(0) 3937 >Emitted(4, 31) Source(7, 31) + SourceIndex(0) 3948 >Emitted(4, 32) Source(7, 32) + SourceIndex(0) 395--- 396>>> } 3971 >^^^^ 3982 > ^ 3993 > ^^^^-> 4001 > 401 > 4022 > } 4031 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) 4042 >Emitted(5, 6) Source(8, 6) + SourceIndex(0) 405--- 406>>> f(); 4071->^^^^ 4082 > ^ 4093 > ^^ 4104 > ^ 4115 > ^^^^^^^^^^^-> 4121-> 413 > 414 > 4152 > f 4163 > () 4174 > ; 4181->Emitted(6, 5) Source(10, 5) + SourceIndex(0) 4192 >Emitted(6, 6) Source(10, 6) + SourceIndex(0) 4203 >Emitted(6, 8) Source(10, 8) + SourceIndex(0) 4214 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) 422--- 423>>>})(N || (N = {})); 4241-> 4252 >^ 4263 > ^^ 4274 > ^ 4285 > ^^^^^ 4296 > ^ 4307 > ^^^^^^^^ 4318 > ^^^^^-> 4321-> 433 > 4342 >} 4353 > 4364 > N 4375 > 4386 > N 4397 > { 440 > function f() { 441 > console.log('testing'); 442 > } 443 > 444 > f(); 445 > } 4461->Emitted(7, 1) Source(11, 1) + SourceIndex(0) 4472 >Emitted(7, 2) Source(11, 2) + SourceIndex(0) 4483 >Emitted(7, 4) Source(5, 11) + SourceIndex(0) 4494 >Emitted(7, 5) Source(5, 12) + SourceIndex(0) 4505 >Emitted(7, 10) Source(5, 11) + SourceIndex(0) 4516 >Emitted(7, 11) Source(5, 12) + SourceIndex(0) 4527 >Emitted(7, 19) Source(11, 2) + SourceIndex(0) 453--- 454------------------------------------------------------------------- 455emittedFile:/src/2/second-output.js 456sourceFile:../second/second_part2.ts 457------------------------------------------------------------------- 458>>>var C = (function () { 4591-> 4602 >^^^^^^^^^^^^^^^^^^^-> 4611-> 4621->Emitted(8, 1) Source(1, 1) + SourceIndex(1) 463--- 464>>> function C() { 4651->^^^^ 4662 > ^^-> 4671-> 4681->Emitted(9, 5) Source(1, 1) + SourceIndex(1) 469--- 470>>> } 4711->^^^^ 4722 > ^ 4733 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 4741->class C { 475 > doSomething() { 476 > console.log("something got done"); 477 > } 478 > 4792 > } 4801->Emitted(10, 5) Source(5, 1) + SourceIndex(1) 4812 >Emitted(10, 6) Source(5, 2) + SourceIndex(1) 482--- 483>>> C.prototype.doSomething = function () { 4841->^^^^ 4852 > ^^^^^^^^^^^^^^^^^^^^^^^ 4863 > ^^^ 4874 > ^^^^^^^^^^^^^-> 4881-> 4892 > doSomething 4903 > 4911->Emitted(11, 5) Source(2, 5) + SourceIndex(1) 4922 >Emitted(11, 28) Source(2, 16) + SourceIndex(1) 4933 >Emitted(11, 31) Source(2, 5) + SourceIndex(1) 494--- 495>>> console.log("something got done"); 4961->^^^^^^^^ 4972 > ^^^^^^^ 4983 > ^ 4994 > ^^^ 5005 > ^ 5016 > ^^^^^^^^^^^^^^^^^^^^ 5027 > ^ 5038 > ^ 5041->doSomething() { 505 > 5062 > console 5073 > . 5084 > log 5095 > ( 5106 > "something got done" 5117 > ) 5128 > ; 5131->Emitted(12, 9) Source(3, 9) + SourceIndex(1) 5142 >Emitted(12, 16) Source(3, 16) + SourceIndex(1) 5153 >Emitted(12, 17) Source(3, 17) + SourceIndex(1) 5164 >Emitted(12, 20) Source(3, 20) + SourceIndex(1) 5175 >Emitted(12, 21) Source(3, 21) + SourceIndex(1) 5186 >Emitted(12, 41) Source(3, 41) + SourceIndex(1) 5197 >Emitted(12, 42) Source(3, 42) + SourceIndex(1) 5208 >Emitted(12, 43) Source(3, 43) + SourceIndex(1) 521--- 522>>> }; 5231 >^^^^ 5242 > ^ 5253 > ^^^^^^^^^-> 5261 > 527 > 5282 > } 5291 >Emitted(13, 5) Source(4, 5) + SourceIndex(1) 5302 >Emitted(13, 6) Source(4, 6) + SourceIndex(1) 531--- 532>>> return C; 5331->^^^^ 5342 > ^^^^^^^^ 5351-> 536 > 5372 > } 5381->Emitted(14, 5) Source(5, 1) + SourceIndex(1) 5392 >Emitted(14, 13) Source(5, 2) + SourceIndex(1) 540--- 541>>>}()); 5421 > 5432 >^ 5443 > 5454 > ^^^^ 5465 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 5471 > 5482 >} 5493 > 5504 > class C { 551 > doSomething() { 552 > console.log("something got done"); 553 > } 554 > } 5551 >Emitted(15, 1) Source(5, 1) + SourceIndex(1) 5562 >Emitted(15, 2) Source(5, 2) + SourceIndex(1) 5573 >Emitted(15, 2) Source(1, 1) + SourceIndex(1) 5584 >Emitted(15, 6) Source(5, 2) + SourceIndex(1) 559--- 560>>>//# sourceMappingURL=second-output.js.map 561 562//// [/src/2/second-output.tsbuildinfo] 563{ 564 "bundle": { 565 "commonSourceDirectory": "../second", 566 "sourceFiles": [ 567 "../second/second_part1.ts", 568 "../second/second_part2.ts" 569 ], 570 "js": { 571 "sections": [ 572 { 573 "pos": 0, 574 "end": 285, 575 "kind": "text" 576 } 577 ] 578 }, 579 "dts": { 580 "sections": [ 581 { 582 "pos": 0, 583 "end": 100, 584 "kind": "text" 585 } 586 ] 587 } 588 }, 589 "version": "FakeTSVersion" 590} 591 592//// [/src/2/second-output.tsbuildinfo.baseline.txt] 593====================================================================== 594File:: /src/2/second-output.js 595---------------------------------------------------------------------- 596text: (0-285) 597var N; 598(function (N) { 599 function f() { 600 console.log('testing'); 601 } 602 f(); 603})(N || (N = {})); 604var C = (function () { 605 function C() { 606 } 607 C.prototype.doSomething = function () { 608 console.log("something got done"); 609 }; 610 return C; 611}()); 612 613====================================================================== 614====================================================================== 615File:: /src/2/second-output.d.ts 616---------------------------------------------------------------------- 617text: (0-100) 618declare namespace N { 619} 620declare namespace N { 621} 622declare class C { 623 doSomething(): void; 624} 625 626====================================================================== 627 628//// [/src/first/bin/first-output.d.ts] 629declare enum TokenFlags { 630 None = 0, 631 PrecedingLineBreak = 1, 632 PrecedingJSDocComment = 2, 633 Unterminated = 4, 634 ExtendedUnicodeEscape = 8, 635 Scientific = 16, 636 Octal = 32, 637 HexSpecifier = 64, 638 BinarySpecifier = 128, 639 OctalSpecifier = 256, 640 ContainsSeparator = 512, 641 BinaryOrOctalSpecifier = 384, 642 NumericLiteralFlags = 1008 643} 644interface TheFirst { 645 none: any; 646} 647declare const s = "Hello, world"; 648interface NoJsForHereEither { 649 none: any; 650} 651declare function f(): string; 652//# sourceMappingURL=first-output.d.ts.map 653 654//// [/src/first/bin/first-output.d.ts.map] 655{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET"} 656 657//// [/src/first/bin/first-output.d.ts.map.baseline.txt] 658=================================================================== 659JsFile: first-output.d.ts 660mapUrl: first-output.d.ts.map 661sourceRoot: 662sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts 663=================================================================== 664------------------------------------------------------------------- 665emittedFile:/src/first/bin/first-output.d.ts 666sourceFile:../first_PART1.ts 667------------------------------------------------------------------- 668>>>declare enum TokenFlags { 6691 > 6702 >^^^^^^^^^^^^^ 6713 > ^^^^^^^^^^ 6721 > 6732 >enum 6743 > TokenFlags 6751 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) 6762 >Emitted(1, 14) Source(1, 6) + SourceIndex(0) 6773 >Emitted(1, 24) Source(1, 16) + SourceIndex(0) 678--- 679>>> None = 0, 6801 >^^^^ 6812 > ^^^^ 6823 > ^^^^ 6834 > ^^^^^^^^^^^^^^^^-> 6841 > { 685 > 6862 > None 6873 > = 0 6881 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) 6892 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) 6903 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) 691--- 692>>> PrecedingLineBreak = 1, 6931->^^^^ 6942 > ^^^^^^^^^^^^^^^^^^ 6953 > ^^^^ 6964 > ^^^^^-> 6971->, 698 > /* @internal */ 699 > 7002 > PrecedingLineBreak 7013 > = 1 << 0 7021->Emitted(3, 5) Source(4, 5) + SourceIndex(0) 7032 >Emitted(3, 23) Source(4, 23) + SourceIndex(0) 7043 >Emitted(3, 27) Source(4, 32) + SourceIndex(0) 705--- 706>>> PrecedingJSDocComment = 2, 7071->^^^^ 7082 > ^^^^^^^^^^^^^^^^^^^^^ 7093 > ^^^^ 7101->, 711 > /* @internal */ 712 > 7132 > PrecedingJSDocComment 7143 > = 1 << 1 7151->Emitted(4, 5) Source(6, 5) + SourceIndex(0) 7162 >Emitted(4, 26) Source(6, 26) + SourceIndex(0) 7173 >Emitted(4, 30) Source(6, 35) + SourceIndex(0) 718--- 719>>> Unterminated = 4, 7201 >^^^^ 7212 > ^^^^^^^^^^^^ 7223 > ^^^^ 7234 > ^^^^^^^^^^^-> 7241 >, 725 > /* @internal */ 726 > 7272 > Unterminated 7283 > = 1 << 2 7291 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) 7302 >Emitted(5, 17) Source(8, 17) + SourceIndex(0) 7313 >Emitted(5, 21) Source(8, 26) + SourceIndex(0) 732--- 733>>> ExtendedUnicodeEscape = 8, 7341->^^^^ 7352 > ^^^^^^^^^^^^^^^^^^^^^ 7363 > ^^^^ 7371->, 738 > /* @internal */ 739 > 7402 > ExtendedUnicodeEscape 7413 > = 1 << 3 7421->Emitted(6, 5) Source(10, 5) + SourceIndex(0) 7432 >Emitted(6, 26) Source(10, 26) + SourceIndex(0) 7443 >Emitted(6, 30) Source(10, 35) + SourceIndex(0) 745--- 746>>> Scientific = 16, 7471 >^^^^ 7482 > ^^^^^^^^^^ 7493 > ^^^^^ 7501 >, 751 > 7522 > Scientific 7533 > = 1 << 4 7541 >Emitted(7, 5) Source(11, 5) + SourceIndex(0) 7552 >Emitted(7, 15) Source(11, 15) + SourceIndex(0) 7563 >Emitted(7, 20) Source(11, 24) + SourceIndex(0) 757--- 758>>> Octal = 32, 7591 >^^^^ 7602 > ^^^^^ 7613 > ^^^^^ 7624 > ^^^^^^^^^-> 7631 >, 764 > 7652 > Octal 7663 > = 1 << 5 7671 >Emitted(8, 5) Source(12, 5) + SourceIndex(0) 7682 >Emitted(8, 10) Source(12, 10) + SourceIndex(0) 7693 >Emitted(8, 15) Source(12, 19) + SourceIndex(0) 770--- 771>>> HexSpecifier = 64, 7721->^^^^ 7732 > ^^^^^^^^^^^^ 7743 > ^^^^^ 7754 > ^^^^^^-> 7761->, 777 > 7782 > HexSpecifier 7793 > = 1 << 6 7801->Emitted(9, 5) Source(13, 5) + SourceIndex(0) 7812 >Emitted(9, 17) Source(13, 17) + SourceIndex(0) 7823 >Emitted(9, 22) Source(13, 26) + SourceIndex(0) 783--- 784>>> BinarySpecifier = 128, 7851->^^^^ 7862 > ^^^^^^^^^^^^^^^ 7873 > ^^^^^^ 7884 > ^-> 7891->, 790 > 7912 > BinarySpecifier 7923 > = 1 << 7 7931->Emitted(10, 5) Source(14, 5) + SourceIndex(0) 7942 >Emitted(10, 20) Source(14, 20) + SourceIndex(0) 7953 >Emitted(10, 26) Source(14, 29) + SourceIndex(0) 796--- 797>>> OctalSpecifier = 256, 7981->^^^^ 7992 > ^^^^^^^^^^^^^^ 8003 > ^^^^^^ 8014 > ^^^^^-> 8021->, 803 > 8042 > OctalSpecifier 8053 > = 1 << 8 8061->Emitted(11, 5) Source(15, 5) + SourceIndex(0) 8072 >Emitted(11, 19) Source(15, 19) + SourceIndex(0) 8083 >Emitted(11, 25) Source(15, 28) + SourceIndex(0) 809--- 810>>> ContainsSeparator = 512, 8111->^^^^ 8122 > ^^^^^^^^^^^^^^^^^ 8133 > ^^^^^^ 8144 > ^^^^^^^-> 8151->, 816 > /* @internal */ 817 > 8182 > ContainsSeparator 8193 > = 1 << 9 8201->Emitted(12, 5) Source(17, 5) + SourceIndex(0) 8212 >Emitted(12, 22) Source(17, 22) + SourceIndex(0) 8223 >Emitted(12, 28) Source(17, 31) + SourceIndex(0) 823--- 824>>> BinaryOrOctalSpecifier = 384, 8251->^^^^ 8262 > ^^^^^^^^^^^^^^^^^^^^^^ 8273 > ^^^^^^ 8281->, 829 > /* @internal */ 830 > 8312 > BinaryOrOctalSpecifier 8323 > = BinarySpecifier | OctalSpecifier 8331->Emitted(13, 5) Source(19, 5) + SourceIndex(0) 8342 >Emitted(13, 27) Source(19, 27) + SourceIndex(0) 8353 >Emitted(13, 33) Source(19, 62) + SourceIndex(0) 836--- 837>>> NumericLiteralFlags = 1008 8381 >^^^^ 8392 > ^^^^^^^^^^^^^^^^^^^ 8403 > ^^^^^^^ 8411 >, 842 > /* @internal */ 843 > 8442 > NumericLiteralFlags 8453 > = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 8461 >Emitted(14, 5) Source(21, 5) + SourceIndex(0) 8472 >Emitted(14, 24) Source(21, 24) + SourceIndex(0) 8483 >Emitted(14, 31) Source(21, 105) + SourceIndex(0) 849--- 850>>>} 8511 >^ 8522 > ^^^^^^^^^^^^^^^^^^^^-> 8531 > 854 >} 8551 >Emitted(15, 2) Source(22, 2) + SourceIndex(0) 856--- 857>>>interface TheFirst { 8581-> 8592 >^^^^^^^^^^ 8603 > ^^^^^^^^ 8611-> 862 > 8632 >interface 8643 > TheFirst 8651->Emitted(16, 1) Source(23, 1) + SourceIndex(0) 8662 >Emitted(16, 11) Source(23, 11) + SourceIndex(0) 8673 >Emitted(16, 19) Source(23, 19) + SourceIndex(0) 868--- 869>>> none: any; 8701 >^^^^ 8712 > ^^^^ 8723 > ^^ 8734 > ^^^ 8745 > ^ 8751 > { 876 > 8772 > none 8783 > : 8794 > any 8805 > ; 8811 >Emitted(17, 5) Source(24, 5) + SourceIndex(0) 8822 >Emitted(17, 9) Source(24, 9) + SourceIndex(0) 8833 >Emitted(17, 11) Source(24, 11) + SourceIndex(0) 8844 >Emitted(17, 14) Source(24, 14) + SourceIndex(0) 8855 >Emitted(17, 15) Source(24, 15) + SourceIndex(0) 886--- 887>>>} 8881 >^ 8892 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 8901 > 891 >} 8921 >Emitted(18, 2) Source(25, 2) + SourceIndex(0) 893--- 894>>>declare const s = "Hello, world"; 8951-> 8962 >^^^^^^^^ 8973 > ^^^^^^ 8984 > ^ 8995 > ^^^^^^^^^^^^^^^^^ 9006 > ^ 9011-> 902 > 903 > 9042 > 9053 > const 9064 > s 9075 > = "Hello, world" 9086 > ; 9091->Emitted(19, 1) Source(27, 1) + SourceIndex(0) 9102 >Emitted(19, 9) Source(27, 1) + SourceIndex(0) 9113 >Emitted(19, 15) Source(27, 7) + SourceIndex(0) 9124 >Emitted(19, 16) Source(27, 8) + SourceIndex(0) 9135 >Emitted(19, 33) Source(27, 25) + SourceIndex(0) 9146 >Emitted(19, 34) Source(27, 26) + SourceIndex(0) 915--- 916>>>interface NoJsForHereEither { 9171 > 9182 >^^^^^^^^^^ 9193 > ^^^^^^^^^^^^^^^^^ 9201 > 921 > 922 > 9232 >interface 9243 > NoJsForHereEither 9251 >Emitted(20, 1) Source(29, 1) + SourceIndex(0) 9262 >Emitted(20, 11) Source(29, 11) + SourceIndex(0) 9273 >Emitted(20, 28) Source(29, 28) + SourceIndex(0) 928--- 929>>> none: any; 9301 >^^^^ 9312 > ^^^^ 9323 > ^^ 9334 > ^^^ 9345 > ^ 9351 > { 936 > 9372 > none 9383 > : 9394 > any 9405 > ; 9411 >Emitted(21, 5) Source(30, 5) + SourceIndex(0) 9422 >Emitted(21, 9) Source(30, 9) + SourceIndex(0) 9433 >Emitted(21, 11) Source(30, 11) + SourceIndex(0) 9444 >Emitted(21, 14) Source(30, 14) + SourceIndex(0) 9455 >Emitted(21, 15) Source(30, 15) + SourceIndex(0) 946--- 947>>>} 9481 >^ 9492 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 9501 > 951 >} 9521 >Emitted(22, 2) Source(31, 2) + SourceIndex(0) 953--- 954------------------------------------------------------------------- 955emittedFile:/src/first/bin/first-output.d.ts 956sourceFile:../first_part3.ts 957------------------------------------------------------------------- 958>>>declare function f(): string; 9591-> 9602 >^^^^^^^^^^^^^^^^^ 9613 > ^ 9624 > ^^^^^^^^^^^ 9635 > ^^^^^^^^^^^^-> 9641-> 9652 >function 9663 > f 9674 > () { 968 > return "JS does hoists"; 969 > } 9701->Emitted(23, 1) Source(1, 1) + SourceIndex(2) 9712 >Emitted(23, 18) Source(1, 10) + SourceIndex(2) 9723 >Emitted(23, 19) Source(1, 11) + SourceIndex(2) 9734 >Emitted(23, 30) Source(3, 2) + SourceIndex(2) 974--- 975>>>//# sourceMappingURL=first-output.d.ts.map 976 977//// [/src/first/bin/first-output.js] 978var TokenFlags; 979(function (TokenFlags) { 980 TokenFlags[TokenFlags["None"] = 0] = "None"; 981 TokenFlags[TokenFlags["PrecedingLineBreak"] = 1] = "PrecedingLineBreak"; 982 TokenFlags[TokenFlags["PrecedingJSDocComment"] = 2] = "PrecedingJSDocComment"; 983 TokenFlags[TokenFlags["Unterminated"] = 4] = "Unterminated"; 984 TokenFlags[TokenFlags["ExtendedUnicodeEscape"] = 8] = "ExtendedUnicodeEscape"; 985 TokenFlags[TokenFlags["Scientific"] = 16] = "Scientific"; 986 TokenFlags[TokenFlags["Octal"] = 32] = "Octal"; 987 TokenFlags[TokenFlags["HexSpecifier"] = 64] = "HexSpecifier"; 988 TokenFlags[TokenFlags["BinarySpecifier"] = 128] = "BinarySpecifier"; 989 TokenFlags[TokenFlags["OctalSpecifier"] = 256] = "OctalSpecifier"; 990 TokenFlags[TokenFlags["ContainsSeparator"] = 512] = "ContainsSeparator"; 991 TokenFlags[TokenFlags["BinaryOrOctalSpecifier"] = 384] = "BinaryOrOctalSpecifier"; 992 TokenFlags[TokenFlags["NumericLiteralFlags"] = 1008] = "NumericLiteralFlags"; 993})(TokenFlags || (TokenFlags = {})); 994var s = "Hello, world"; 995console.log(s); 996console.log(f()); 997function f() { 998 return "JS does hoists"; 999} 1000//# sourceMappingURL=first-output.js.map 1001 1002//// [/src/first/bin/first-output.js.map] 1003{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} 1004 1005//// [/src/first/bin/first-output.js.map.baseline.txt] 1006=================================================================== 1007JsFile: first-output.js 1008mapUrl: first-output.js.map 1009sourceRoot: 1010sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts 1011=================================================================== 1012------------------------------------------------------------------- 1013emittedFile:/src/first/bin/first-output.js 1014sourceFile:../first_PART1.ts 1015------------------------------------------------------------------- 1016>>>var TokenFlags; 10171 > 10182 >^^^^ 10193 > ^^^^^^^^^^ 10204 > ^^^^^^^^^^^-> 10211 > 10222 >enum 10233 > TokenFlags { 1024 > None = 0, 1025 > /* @internal */ 1026 > PrecedingLineBreak = 1 << 0, 1027 > /* @internal */ 1028 > PrecedingJSDocComment = 1 << 1, 1029 > /* @internal */ 1030 > Unterminated = 1 << 2, 1031 > /* @internal */ 1032 > ExtendedUnicodeEscape = 1 << 3, 1033 > Scientific = 1 << 4, 1034 > Octal = 1 << 5, 1035 > HexSpecifier = 1 << 6, 1036 > BinarySpecifier = 1 << 7, 1037 > OctalSpecifier = 1 << 8, 1038 > /* @internal */ 1039 > ContainsSeparator = 1 << 9, 1040 > /* @internal */ 1041 > BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier, 1042 > /* @internal */ 1043 > NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 1044 > } 10451 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) 10462 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) 10473 >Emitted(1, 15) Source(22, 2) + SourceIndex(0) 1048--- 1049>>>(function (TokenFlags) { 10501-> 10512 >^^^^^^^^^^^ 10523 > ^^^^^^^^^^ 10534 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 10541-> 10552 >enum 10563 > TokenFlags 10571->Emitted(2, 1) Source(1, 1) + SourceIndex(0) 10582 >Emitted(2, 12) Source(1, 6) + SourceIndex(0) 10593 >Emitted(2, 22) Source(1, 16) + SourceIndex(0) 1060--- 1061>>> TokenFlags[TokenFlags["None"] = 0] = "None"; 10621->^^^^ 10632 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10643 > ^ 10654 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 10661-> { 1067 > 10682 > None = 0 10693 > 10701->Emitted(3, 5) Source(2, 5) + SourceIndex(0) 10712 >Emitted(3, 48) Source(2, 13) + SourceIndex(0) 10723 >Emitted(3, 49) Source(2, 13) + SourceIndex(0) 1073--- 1074>>> TokenFlags[TokenFlags["PrecedingLineBreak"] = 1] = "PrecedingLineBreak"; 10751->^^^^ 10762 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10773 > ^ 10784 > ^^^^^^^-> 10791->, 1080 > /* @internal */ 1081 > 10822 > PrecedingLineBreak = 1 << 0 10833 > 10841->Emitted(4, 5) Source(4, 5) + SourceIndex(0) 10852 >Emitted(4, 76) Source(4, 32) + SourceIndex(0) 10863 >Emitted(4, 77) Source(4, 32) + SourceIndex(0) 1087--- 1088>>> TokenFlags[TokenFlags["PrecedingJSDocComment"] = 2] = "PrecedingJSDocComment"; 10891->^^^^ 10902 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10913 > ^ 10921->, 1093 > /* @internal */ 1094 > 10952 > PrecedingJSDocComment = 1 << 1 10963 > 10971->Emitted(5, 5) Source(6, 5) + SourceIndex(0) 10982 >Emitted(5, 82) Source(6, 35) + SourceIndex(0) 10993 >Emitted(5, 83) Source(6, 35) + SourceIndex(0) 1100--- 1101>>> TokenFlags[TokenFlags["Unterminated"] = 4] = "Unterminated"; 11021 >^^^^ 11032 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11043 > ^ 11054 > ^^^^^^^^^^^^^^^^^^^-> 11061 >, 1107 > /* @internal */ 1108 > 11092 > Unterminated = 1 << 2 11103 > 11111 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) 11122 >Emitted(6, 64) Source(8, 26) + SourceIndex(0) 11133 >Emitted(6, 65) Source(8, 26) + SourceIndex(0) 1114--- 1115>>> TokenFlags[TokenFlags["ExtendedUnicodeEscape"] = 8] = "ExtendedUnicodeEscape"; 11161->^^^^ 11172 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11183 > ^ 11191->, 1120 > /* @internal */ 1121 > 11222 > ExtendedUnicodeEscape = 1 << 3 11233 > 11241->Emitted(7, 5) Source(10, 5) + SourceIndex(0) 11252 >Emitted(7, 82) Source(10, 35) + SourceIndex(0) 11263 >Emitted(7, 83) Source(10, 35) + SourceIndex(0) 1127--- 1128>>> TokenFlags[TokenFlags["Scientific"] = 16] = "Scientific"; 11291 >^^^^ 11302 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11313 > ^ 11321 >, 1133 > 11342 > Scientific = 1 << 4 11353 > 11361 >Emitted(8, 5) Source(11, 5) + SourceIndex(0) 11372 >Emitted(8, 61) Source(11, 24) + SourceIndex(0) 11383 >Emitted(8, 62) Source(11, 24) + SourceIndex(0) 1139--- 1140>>> TokenFlags[TokenFlags["Octal"] = 32] = "Octal"; 11411 >^^^^ 11422 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11433 > ^ 11444 > ^^^^^^^^^^^^^^^-> 11451 >, 1146 > 11472 > Octal = 1 << 5 11483 > 11491 >Emitted(9, 5) Source(12, 5) + SourceIndex(0) 11502 >Emitted(9, 51) Source(12, 19) + SourceIndex(0) 11513 >Emitted(9, 52) Source(12, 19) + SourceIndex(0) 1152--- 1153>>> TokenFlags[TokenFlags["HexSpecifier"] = 64] = "HexSpecifier"; 11541->^^^^ 11552 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11563 > ^ 11574 > ^^^^^^^^-> 11581->, 1159 > 11602 > HexSpecifier = 1 << 6 11613 > 11621->Emitted(10, 5) Source(13, 5) + SourceIndex(0) 11632 >Emitted(10, 65) Source(13, 26) + SourceIndex(0) 11643 >Emitted(10, 66) Source(13, 26) + SourceIndex(0) 1165--- 1166>>> TokenFlags[TokenFlags["BinarySpecifier"] = 128] = "BinarySpecifier"; 11671->^^^^ 11682 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11693 > ^ 11701->, 1171 > 11722 > BinarySpecifier = 1 << 7 11733 > 11741->Emitted(11, 5) Source(14, 5) + SourceIndex(0) 11752 >Emitted(11, 72) Source(14, 29) + SourceIndex(0) 11763 >Emitted(11, 73) Source(14, 29) + SourceIndex(0) 1177--- 1178>>> TokenFlags[TokenFlags["OctalSpecifier"] = 256] = "OctalSpecifier"; 11791 >^^^^ 11802 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11813 > ^ 11824 > ^^^^^^^-> 11831 >, 1184 > 11852 > OctalSpecifier = 1 << 8 11863 > 11871 >Emitted(12, 5) Source(15, 5) + SourceIndex(0) 11882 >Emitted(12, 70) Source(15, 28) + SourceIndex(0) 11893 >Emitted(12, 71) Source(15, 28) + SourceIndex(0) 1190--- 1191>>> TokenFlags[TokenFlags["ContainsSeparator"] = 512] = "ContainsSeparator"; 11921->^^^^ 11932 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11943 > ^ 11954 > ^^^^^^^^^^^-> 11961->, 1197 > /* @internal */ 1198 > 11992 > ContainsSeparator = 1 << 9 12003 > 12011->Emitted(13, 5) Source(17, 5) + SourceIndex(0) 12022 >Emitted(13, 76) Source(17, 31) + SourceIndex(0) 12033 >Emitted(13, 77) Source(17, 31) + SourceIndex(0) 1204--- 1205>>> TokenFlags[TokenFlags["BinaryOrOctalSpecifier"] = 384] = "BinaryOrOctalSpecifier"; 12061->^^^^ 12072 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12083 > ^ 12091->, 1210 > /* @internal */ 1211 > 12122 > BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier 12133 > 12141->Emitted(14, 5) Source(19, 5) + SourceIndex(0) 12152 >Emitted(14, 86) Source(19, 62) + SourceIndex(0) 12163 >Emitted(14, 87) Source(19, 62) + SourceIndex(0) 1217--- 1218>>> TokenFlags[TokenFlags["NumericLiteralFlags"] = 1008] = "NumericLiteralFlags"; 12191 >^^^^ 12202 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12213 > ^ 12221 >, 1223 > /* @internal */ 1224 > 12252 > NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 12263 > 12271 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) 12282 >Emitted(15, 81) Source(21, 105) + SourceIndex(0) 12293 >Emitted(15, 82) Source(21, 105) + SourceIndex(0) 1230--- 1231>>>})(TokenFlags || (TokenFlags = {})); 12321 > 12332 >^ 12343 > ^^ 12354 > ^^^^^^^^^^ 12365 > ^^^^^ 12376 > ^^^^^^^^^^ 12387 > ^^^^^^^^ 12391 > 1240 > 12412 >} 12423 > 12434 > TokenFlags 12445 > 12456 > TokenFlags 12467 > { 1247 > None = 0, 1248 > /* @internal */ 1249 > PrecedingLineBreak = 1 << 0, 1250 > /* @internal */ 1251 > PrecedingJSDocComment = 1 << 1, 1252 > /* @internal */ 1253 > Unterminated = 1 << 2, 1254 > /* @internal */ 1255 > ExtendedUnicodeEscape = 1 << 3, 1256 > Scientific = 1 << 4, 1257 > Octal = 1 << 5, 1258 > HexSpecifier = 1 << 6, 1259 > BinarySpecifier = 1 << 7, 1260 > OctalSpecifier = 1 << 8, 1261 > /* @internal */ 1262 > ContainsSeparator = 1 << 9, 1263 > /* @internal */ 1264 > BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier, 1265 > /* @internal */ 1266 > NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 1267 > } 12681 >Emitted(16, 1) Source(22, 1) + SourceIndex(0) 12692 >Emitted(16, 2) Source(22, 2) + SourceIndex(0) 12703 >Emitted(16, 4) Source(1, 6) + SourceIndex(0) 12714 >Emitted(16, 14) Source(1, 16) + SourceIndex(0) 12725 >Emitted(16, 19) Source(1, 6) + SourceIndex(0) 12736 >Emitted(16, 29) Source(1, 16) + SourceIndex(0) 12747 >Emitted(16, 37) Source(22, 2) + SourceIndex(0) 1275--- 1276>>>var s = "Hello, world"; 12771 > 12782 >^^^^ 12793 > ^ 12804 > ^^^ 12815 > ^^^^^^^^^^^^^^ 12826 > ^ 12831 > 1284 >interface TheFirst { 1285 > none: any; 1286 >} 1287 > 1288 > 12892 >const 12903 > s 12914 > = 12925 > "Hello, world" 12936 > ; 12941 >Emitted(17, 1) Source(27, 1) + SourceIndex(0) 12952 >Emitted(17, 5) Source(27, 7) + SourceIndex(0) 12963 >Emitted(17, 6) Source(27, 8) + SourceIndex(0) 12974 >Emitted(17, 9) Source(27, 11) + SourceIndex(0) 12985 >Emitted(17, 23) Source(27, 25) + SourceIndex(0) 12996 >Emitted(17, 24) Source(27, 26) + SourceIndex(0) 1300--- 1301>>>console.log(s); 13021 > 13032 >^^^^^^^ 13043 > ^ 13054 > ^^^ 13065 > ^ 13076 > ^ 13087 > ^ 13098 > ^ 13109 > ^^^-> 13111 > 1312 > 1313 >interface NoJsForHereEither { 1314 > none: any; 1315 >} 1316 > 1317 > 13182 >console 13193 > . 13204 > log 13215 > ( 13226 > s 13237 > ) 13248 > ; 13251 >Emitted(18, 1) Source(33, 1) + SourceIndex(0) 13262 >Emitted(18, 8) Source(33, 8) + SourceIndex(0) 13273 >Emitted(18, 9) Source(33, 9) + SourceIndex(0) 13284 >Emitted(18, 12) Source(33, 12) + SourceIndex(0) 13295 >Emitted(18, 13) Source(33, 13) + SourceIndex(0) 13306 >Emitted(18, 14) Source(33, 14) + SourceIndex(0) 13317 >Emitted(18, 15) Source(33, 15) + SourceIndex(0) 13328 >Emitted(18, 16) Source(33, 16) + SourceIndex(0) 1333--- 1334------------------------------------------------------------------- 1335emittedFile:/src/first/bin/first-output.js 1336sourceFile:../first_part2.ts 1337------------------------------------------------------------------- 1338>>>console.log(f()); 13391-> 13402 >^^^^^^^ 13413 > ^ 13424 > ^^^ 13435 > ^ 13446 > ^ 13457 > ^^ 13468 > ^ 13479 > ^ 13481-> 13492 >console 13503 > . 13514 > log 13525 > ( 13536 > f 13547 > () 13558 > ) 13569 > ; 13571->Emitted(19, 1) Source(1, 1) + SourceIndex(1) 13582 >Emitted(19, 8) Source(1, 8) + SourceIndex(1) 13593 >Emitted(19, 9) Source(1, 9) + SourceIndex(1) 13604 >Emitted(19, 12) Source(1, 12) + SourceIndex(1) 13615 >Emitted(19, 13) Source(1, 13) + SourceIndex(1) 13626 >Emitted(19, 14) Source(1, 14) + SourceIndex(1) 13637 >Emitted(19, 16) Source(1, 16) + SourceIndex(1) 13648 >Emitted(19, 17) Source(1, 17) + SourceIndex(1) 13659 >Emitted(19, 18) Source(1, 18) + SourceIndex(1) 1366--- 1367------------------------------------------------------------------- 1368emittedFile:/src/first/bin/first-output.js 1369sourceFile:../first_part3.ts 1370------------------------------------------------------------------- 1371>>>function f() { 13721 > 13732 >^^^^^^^^^ 13743 > ^ 13754 > ^^^^^^^^^^^^^^^^^^^-> 13761 > 13772 >function 13783 > f 13791 >Emitted(20, 1) Source(1, 1) + SourceIndex(2) 13802 >Emitted(20, 10) Source(1, 10) + SourceIndex(2) 13813 >Emitted(20, 11) Source(1, 11) + SourceIndex(2) 1382--- 1383>>> return "JS does hoists"; 13841->^^^^ 13852 > ^^^^^^^ 13863 > ^^^^^^^^^^^^^^^^ 13874 > ^ 13881->() { 1389 > 13902 > return 13913 > "JS does hoists" 13924 > ; 13931->Emitted(21, 5) Source(2, 5) + SourceIndex(2) 13942 >Emitted(21, 12) Source(2, 12) + SourceIndex(2) 13953 >Emitted(21, 28) Source(2, 28) + SourceIndex(2) 13964 >Emitted(21, 29) Source(2, 29) + SourceIndex(2) 1397--- 1398>>>} 13991 > 14002 >^ 14013 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 14021 > 1403 > 14042 >} 14051 >Emitted(22, 1) Source(3, 1) + SourceIndex(2) 14062 >Emitted(22, 2) Source(3, 2) + SourceIndex(2) 1407--- 1408>>>//# sourceMappingURL=first-output.js.map 1409 1410//// [/src/first/bin/first-output.tsbuildinfo] 1411{ 1412 "bundle": { 1413 "commonSourceDirectory": "..", 1414 "sourceFiles": [ 1415 "../first_PART1.ts", 1416 "../first_part2.ts", 1417 "../first_part3.ts" 1418 ], 1419 "js": { 1420 "sections": [ 1421 { 1422 "pos": 0, 1423 "end": 1131, 1424 "kind": "text" 1425 } 1426 ] 1427 }, 1428 "dts": { 1429 "sections": [ 1430 { 1431 "pos": 0, 1432 "end": 42, 1433 "kind": "text" 1434 }, 1435 { 1436 "pos": 42, 1437 "end": 156, 1438 "kind": "internal" 1439 }, 1440 { 1441 "pos": 158, 1442 "end": 276, 1443 "kind": "text" 1444 }, 1445 { 1446 "pos": 276, 1447 "end": 371, 1448 "kind": "internal" 1449 }, 1450 { 1451 "pos": 373, 1452 "end": 533, 1453 "kind": "text" 1454 } 1455 ] 1456 } 1457 }, 1458 "version": "FakeTSVersion" 1459} 1460 1461//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] 1462====================================================================== 1463File:: /src/first/bin/first-output.js 1464---------------------------------------------------------------------- 1465text: (0-1131) 1466var TokenFlags; 1467(function (TokenFlags) { 1468 TokenFlags[TokenFlags["None"] = 0] = "None"; 1469 TokenFlags[TokenFlags["PrecedingLineBreak"] = 1] = "PrecedingLineBreak"; 1470 TokenFlags[TokenFlags["PrecedingJSDocComment"] = 2] = "PrecedingJSDocComment"; 1471 TokenFlags[TokenFlags["Unterminated"] = 4] = "Unterminated"; 1472 TokenFlags[TokenFlags["ExtendedUnicodeEscape"] = 8] = "ExtendedUnicodeEscape"; 1473 TokenFlags[TokenFlags["Scientific"] = 16] = "Scientific"; 1474 TokenFlags[TokenFlags["Octal"] = 32] = "Octal"; 1475 TokenFlags[TokenFlags["HexSpecifier"] = 64] = "HexSpecifier"; 1476 TokenFlags[TokenFlags["BinarySpecifier"] = 128] = "BinarySpecifier"; 1477 TokenFlags[TokenFlags["OctalSpecifier"] = 256] = "OctalSpecifier"; 1478 TokenFlags[TokenFlags["ContainsSeparator"] = 512] = "ContainsSeparator"; 1479 TokenFlags[TokenFlags["BinaryOrOctalSpecifier"] = 384] = "BinaryOrOctalSpecifier"; 1480 TokenFlags[TokenFlags["NumericLiteralFlags"] = 1008] = "NumericLiteralFlags"; 1481})(TokenFlags || (TokenFlags = {})); 1482var s = "Hello, world"; 1483console.log(s); 1484console.log(f()); 1485function f() { 1486 return "JS does hoists"; 1487} 1488 1489====================================================================== 1490====================================================================== 1491File:: /src/first/bin/first-output.d.ts 1492---------------------------------------------------------------------- 1493text: (0-42) 1494declare enum TokenFlags { 1495 None = 0, 1496 1497---------------------------------------------------------------------- 1498internal: (42-156) 1499 PrecedingLineBreak = 1, 1500 PrecedingJSDocComment = 2, 1501 Unterminated = 4, 1502 ExtendedUnicodeEscape = 8, 1503---------------------------------------------------------------------- 1504text: (158-276) 1505 Scientific = 16, 1506 Octal = 32, 1507 HexSpecifier = 64, 1508 BinarySpecifier = 128, 1509 OctalSpecifier = 256, 1510 1511---------------------------------------------------------------------- 1512internal: (276-371) 1513 ContainsSeparator = 512, 1514 BinaryOrOctalSpecifier = 384, 1515 NumericLiteralFlags = 1008 1516---------------------------------------------------------------------- 1517text: (373-533) 1518} 1519interface TheFirst { 1520 none: any; 1521} 1522declare const s = "Hello, world"; 1523interface NoJsForHereEither { 1524 none: any; 1525} 1526declare function f(): string; 1527 1528====================================================================== 1529 1530//// [/src/third/thirdjs/output/third-output.d.ts] 1531declare enum TokenFlags { 1532 None = 0, 1533 Scientific = 16, 1534 Octal = 32, 1535 HexSpecifier = 64, 1536 BinarySpecifier = 128, 1537 OctalSpecifier = 256, 1538} 1539interface TheFirst { 1540 none: any; 1541} 1542declare const s = "Hello, world"; 1543interface NoJsForHereEither { 1544 none: any; 1545} 1546declare function f(): string; 1547declare namespace N { 1548} 1549declare namespace N { 1550} 1551declare class C { 1552 doSomething(): void; 1553} 1554declare var c: C; 1555//# sourceMappingURL=third-output.d.ts.map 1556 1557//// [/src/third/thirdjs/output/third-output.d.ts.map] 1558{"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,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} 1559 1560//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt] 1561=================================================================== 1562JsFile: third-output.d.ts 1563mapUrl: third-output.d.ts.map 1564sourceRoot: 1565sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts 1566=================================================================== 1567------------------------------------------------------------------- 1568emittedFile:/src/third/thirdjs/output/third-output.d.ts 1569sourceFile:../../../first/first_PART1.ts 1570------------------------------------------------------------------- 1571>>>declare enum TokenFlags { 15721 > 15732 >^^^^^^^^^^^^^ 15743 > ^^^^^^^^^^ 15751 > 15762 >enum 15773 > TokenFlags 15781 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) 15792 >Emitted(1, 14) Source(1, 6) + SourceIndex(0) 15803 >Emitted(1, 24) Source(1, 16) + SourceIndex(0) 1581--- 1582>>> None = 0, 15831 >^^^^ 15842 > ^^^^ 15853 > ^^^^ 15864 > ^^^^^^^^^-> 15871 > { 1588 > 15892 > None 15903 > = 0 15911 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) 15922 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) 15933 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) 1594--- 1595>>> Scientific = 16, 15961->^^^^ 15972 > ^^^^^^^^^^ 15983 > ^^^^^ 15991->, 1600 > /* @internal */ 1601 > PrecedingLineBreak = 1 << 0, 1602 > /* @internal */ 1603 > PrecedingJSDocComment = 1 << 1, 1604 > /* @internal */ 1605 > Unterminated = 1 << 2, 1606 > /* @internal */ 1607 > ExtendedUnicodeEscape = 1 << 3, 1608 > 16092 > Scientific 16103 > = 1 << 4 16111->Emitted(3, 5) Source(11, 5) + SourceIndex(0) 16122 >Emitted(3, 15) Source(11, 15) + SourceIndex(0) 16133 >Emitted(3, 20) Source(11, 24) + SourceIndex(0) 1614--- 1615>>> Octal = 32, 16161 >^^^^ 16172 > ^^^^^ 16183 > ^^^^^ 16194 > ^^^^^^^^^-> 16201 >, 1621 > 16222 > Octal 16233 > = 1 << 5 16241 >Emitted(4, 5) Source(12, 5) + SourceIndex(0) 16252 >Emitted(4, 10) Source(12, 10) + SourceIndex(0) 16263 >Emitted(4, 15) Source(12, 19) + SourceIndex(0) 1627--- 1628>>> HexSpecifier = 64, 16291->^^^^ 16302 > ^^^^^^^^^^^^ 16313 > ^^^^^ 16324 > ^^^^^^-> 16331->, 1634 > 16352 > HexSpecifier 16363 > = 1 << 6 16371->Emitted(5, 5) Source(13, 5) + SourceIndex(0) 16382 >Emitted(5, 17) Source(13, 17) + SourceIndex(0) 16393 >Emitted(5, 22) Source(13, 26) + SourceIndex(0) 1640--- 1641>>> BinarySpecifier = 128, 16421->^^^^ 16432 > ^^^^^^^^^^^^^^^ 16443 > ^^^^^^ 16454 > ^-> 16461->, 1647 > 16482 > BinarySpecifier 16493 > = 1 << 7 16501->Emitted(6, 5) Source(14, 5) + SourceIndex(0) 16512 >Emitted(6, 20) Source(14, 20) + SourceIndex(0) 16523 >Emitted(6, 26) Source(14, 29) + SourceIndex(0) 1653--- 1654>>> OctalSpecifier = 256, 16551->^^^^ 16562 > ^^^^^^^^^^^^^^ 16573 > ^^^^^^ 16581->, 1659 > 16602 > OctalSpecifier 16613 > = 1 << 8 16621->Emitted(7, 5) Source(15, 5) + SourceIndex(0) 16632 >Emitted(7, 19) Source(15, 19) + SourceIndex(0) 16643 >Emitted(7, 25) Source(15, 28) + SourceIndex(0) 1665--- 1666>>>} 16671 >^ 16682 > ^^^^^^^^^^^^^^^^^^^^-> 16691 >, 1670 > /* @internal */ 1671 > ContainsSeparator = 1 << 9, 1672 > /* @internal */ 1673 > BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier, 1674 > /* @internal */ 1675 > NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 1676 >} 16771 >Emitted(8, 2) Source(22, 2) + SourceIndex(0) 1678--- 1679>>>interface TheFirst { 16801-> 16812 >^^^^^^^^^^ 16823 > ^^^^^^^^ 16831-> 1684 > 16852 >interface 16863 > TheFirst 16871->Emitted(9, 1) Source(23, 1) + SourceIndex(0) 16882 >Emitted(9, 11) Source(23, 11) + SourceIndex(0) 16893 >Emitted(9, 19) Source(23, 19) + SourceIndex(0) 1690--- 1691>>> none: any; 16921 >^^^^ 16932 > ^^^^ 16943 > ^^ 16954 > ^^^ 16965 > ^ 16971 > { 1698 > 16992 > none 17003 > : 17014 > any 17025 > ; 17031 >Emitted(10, 5) Source(24, 5) + SourceIndex(0) 17042 >Emitted(10, 9) Source(24, 9) + SourceIndex(0) 17053 >Emitted(10, 11) Source(24, 11) + SourceIndex(0) 17064 >Emitted(10, 14) Source(24, 14) + SourceIndex(0) 17075 >Emitted(10, 15) Source(24, 15) + SourceIndex(0) 1708--- 1709>>>} 17101 >^ 17112 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 17121 > 1713 >} 17141 >Emitted(11, 2) Source(25, 2) + SourceIndex(0) 1715--- 1716>>>declare const s = "Hello, world"; 17171-> 17182 >^^^^^^^^ 17193 > ^^^^^^ 17204 > ^ 17215 > ^^^^^^^^^^^^^^^^^ 17226 > ^ 17231-> 1724 > 1725 > 17262 > 17273 > const 17284 > s 17295 > = "Hello, world" 17306 > ; 17311->Emitted(12, 1) Source(27, 1) + SourceIndex(0) 17322 >Emitted(12, 9) Source(27, 1) + SourceIndex(0) 17333 >Emitted(12, 15) Source(27, 7) + SourceIndex(0) 17344 >Emitted(12, 16) Source(27, 8) + SourceIndex(0) 17355 >Emitted(12, 33) Source(27, 25) + SourceIndex(0) 17366 >Emitted(12, 34) Source(27, 26) + SourceIndex(0) 1737--- 1738>>>interface NoJsForHereEither { 17391 > 17402 >^^^^^^^^^^ 17413 > ^^^^^^^^^^^^^^^^^ 17421 > 1743 > 1744 > 17452 >interface 17463 > NoJsForHereEither 17471 >Emitted(13, 1) Source(29, 1) + SourceIndex(0) 17482 >Emitted(13, 11) Source(29, 11) + SourceIndex(0) 17493 >Emitted(13, 28) Source(29, 28) + SourceIndex(0) 1750--- 1751>>> none: any; 17521 >^^^^ 17532 > ^^^^ 17543 > ^^ 17554 > ^^^ 17565 > ^ 17571 > { 1758 > 17592 > none 17603 > : 17614 > any 17625 > ; 17631 >Emitted(14, 5) Source(30, 5) + SourceIndex(0) 17642 >Emitted(14, 9) Source(30, 9) + SourceIndex(0) 17653 >Emitted(14, 11) Source(30, 11) + SourceIndex(0) 17664 >Emitted(14, 14) Source(30, 14) + SourceIndex(0) 17675 >Emitted(14, 15) Source(30, 15) + SourceIndex(0) 1768--- 1769>>>} 17701 >^ 17712 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 17721 > 1773 >} 17741 >Emitted(15, 2) Source(31, 2) + SourceIndex(0) 1775--- 1776------------------------------------------------------------------- 1777emittedFile:/src/third/thirdjs/output/third-output.d.ts 1778sourceFile:../../../first/first_part3.ts 1779------------------------------------------------------------------- 1780>>>declare function f(): string; 17811-> 17822 >^^^^^^^^^^^^^^^^^ 17833 > ^ 17844 > ^^^^^^^^^^^ 17851-> 17862 >function 17873 > f 17884 > () { 1789 > return "JS does hoists"; 1790 > } 17911->Emitted(16, 1) Source(1, 1) + SourceIndex(1) 17922 >Emitted(16, 18) Source(1, 10) + SourceIndex(1) 17933 >Emitted(16, 19) Source(1, 11) + SourceIndex(1) 17944 >Emitted(16, 30) Source(3, 2) + SourceIndex(1) 1795--- 1796------------------------------------------------------------------- 1797emittedFile:/src/third/thirdjs/output/third-output.d.ts 1798sourceFile:../../../second/second_part1.ts 1799------------------------------------------------------------------- 1800>>>declare namespace N { 18011 > 18022 >^^^^^^^^^^^^^^^^^^ 18033 > ^ 18044 > ^ 18051 > 18062 >namespace 18073 > N 18084 > 18091 >Emitted(17, 1) Source(1, 1) + SourceIndex(2) 18102 >Emitted(17, 19) Source(1, 11) + SourceIndex(2) 18113 >Emitted(17, 20) Source(1, 12) + SourceIndex(2) 18124 >Emitted(17, 21) Source(1, 13) + SourceIndex(2) 1813--- 1814>>>} 18151 >^ 18162 > ^^^^^^^^^^^^^^^^^^^^^-> 18171 >{ 1818 > // Comment text 1819 >} 18201 >Emitted(18, 2) Source(3, 2) + SourceIndex(2) 1821--- 1822>>>declare namespace N { 18231-> 18242 >^^^^^^^^^^^^^^^^^^ 18253 > ^ 18264 > ^ 18271-> 1828 > 1829 > 18302 >namespace 18313 > N 18324 > 18331->Emitted(19, 1) Source(5, 1) + SourceIndex(2) 18342 >Emitted(19, 19) Source(5, 11) + SourceIndex(2) 18353 >Emitted(19, 20) Source(5, 12) + SourceIndex(2) 18364 >Emitted(19, 21) Source(5, 13) + SourceIndex(2) 1837--- 1838>>>} 18391 >^ 18402 > ^^^^^^^^^^^^^^^^^-> 18411 >{ 1842 > function f() { 1843 > console.log('testing'); 1844 > } 1845 > 1846 > f(); 1847 >} 18481 >Emitted(20, 2) Source(11, 2) + SourceIndex(2) 1849--- 1850------------------------------------------------------------------- 1851emittedFile:/src/third/thirdjs/output/third-output.d.ts 1852sourceFile:../../../second/second_part2.ts 1853------------------------------------------------------------------- 1854>>>declare class C { 18551-> 18562 >^^^^^^^^^^^^^^ 18573 > ^ 18584 > ^^^^^^^^^^-> 18591-> 18602 >class 18613 > C 18621->Emitted(21, 1) Source(1, 1) + SourceIndex(3) 18632 >Emitted(21, 15) Source(1, 7) + SourceIndex(3) 18643 >Emitted(21, 16) Source(1, 8) + SourceIndex(3) 1865--- 1866>>> doSomething(): void; 18671->^^^^ 18682 > ^^^^^^^^^^^ 18691-> { 1870 > 18712 > doSomething 18721->Emitted(22, 5) Source(2, 5) + SourceIndex(3) 18732 >Emitted(22, 16) Source(2, 16) + SourceIndex(3) 1874--- 1875>>>} 18761 >^ 18772 > ^^^^^^^^^^^^^^^^^-> 18781 >() { 1879 > console.log("something got done"); 1880 > } 1881 >} 18821 >Emitted(23, 2) Source(5, 2) + SourceIndex(3) 1883--- 1884------------------------------------------------------------------- 1885emittedFile:/src/third/thirdjs/output/third-output.d.ts 1886sourceFile:../../third_part1.ts 1887------------------------------------------------------------------- 1888>>>declare var c: C; 18891-> 18902 >^^^^^^^^ 18913 > ^^^^ 18924 > ^ 18935 > ^^^ 18946 > ^ 18957 > ^^^^^^^^^^^^^^^^^^^^^^^^-> 18961-> 18972 > 18983 > var 18994 > c 19005 > = new C() 19016 > ; 19021->Emitted(24, 1) Source(1, 1) + SourceIndex(4) 19032 >Emitted(24, 9) Source(1, 1) + SourceIndex(4) 19043 >Emitted(24, 13) Source(1, 5) + SourceIndex(4) 19054 >Emitted(24, 14) Source(1, 6) + SourceIndex(4) 19065 >Emitted(24, 17) Source(1, 16) + SourceIndex(4) 19076 >Emitted(24, 18) Source(1, 17) + SourceIndex(4) 1908--- 1909>>>//# sourceMappingURL=third-output.d.ts.map 1910 1911//// [/src/third/thirdjs/output/third-output.js] 1912var TokenFlags; 1913(function (TokenFlags) { 1914 TokenFlags[TokenFlags["None"] = 0] = "None"; 1915 TokenFlags[TokenFlags["PrecedingLineBreak"] = 1] = "PrecedingLineBreak"; 1916 TokenFlags[TokenFlags["PrecedingJSDocComment"] = 2] = "PrecedingJSDocComment"; 1917 TokenFlags[TokenFlags["Unterminated"] = 4] = "Unterminated"; 1918 TokenFlags[TokenFlags["ExtendedUnicodeEscape"] = 8] = "ExtendedUnicodeEscape"; 1919 TokenFlags[TokenFlags["Scientific"] = 16] = "Scientific"; 1920 TokenFlags[TokenFlags["Octal"] = 32] = "Octal"; 1921 TokenFlags[TokenFlags["HexSpecifier"] = 64] = "HexSpecifier"; 1922 TokenFlags[TokenFlags["BinarySpecifier"] = 128] = "BinarySpecifier"; 1923 TokenFlags[TokenFlags["OctalSpecifier"] = 256] = "OctalSpecifier"; 1924 TokenFlags[TokenFlags["ContainsSeparator"] = 512] = "ContainsSeparator"; 1925 TokenFlags[TokenFlags["BinaryOrOctalSpecifier"] = 384] = "BinaryOrOctalSpecifier"; 1926 TokenFlags[TokenFlags["NumericLiteralFlags"] = 1008] = "NumericLiteralFlags"; 1927})(TokenFlags || (TokenFlags = {})); 1928var s = "Hello, world"; 1929console.log(s); 1930console.log(f()); 1931function f() { 1932 return "JS does hoists"; 1933} 1934var N; 1935(function (N) { 1936 function f() { 1937 console.log('testing'); 1938 } 1939 f(); 1940})(N || (N = {})); 1941var C = (function () { 1942 function C() { 1943 } 1944 C.prototype.doSomething = function () { 1945 console.log("something got done"); 1946 }; 1947 return C; 1948}()); 1949var c = new C(); 1950c.doSomething(); 1951//# sourceMappingURL=third-output.js.map 1952 1953//// [/src/third/thirdjs/output/third-output.js.map] 1954{"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":"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,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;ACVD;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"} 1955 1956//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] 1957=================================================================== 1958JsFile: third-output.js 1959mapUrl: third-output.js.map 1960sourceRoot: 1961sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts 1962=================================================================== 1963------------------------------------------------------------------- 1964emittedFile:/src/third/thirdjs/output/third-output.js 1965sourceFile:../../../first/first_PART1.ts 1966------------------------------------------------------------------- 1967>>>var TokenFlags; 19681 > 19692 >^^^^ 19703 > ^^^^^^^^^^ 19714 > ^^^^^^^^^^^-> 19721 > 19732 >enum 19743 > TokenFlags { 1975 > None = 0, 1976 > /* @internal */ 1977 > PrecedingLineBreak = 1 << 0, 1978 > /* @internal */ 1979 > PrecedingJSDocComment = 1 << 1, 1980 > /* @internal */ 1981 > Unterminated = 1 << 2, 1982 > /* @internal */ 1983 > ExtendedUnicodeEscape = 1 << 3, 1984 > Scientific = 1 << 4, 1985 > Octal = 1 << 5, 1986 > HexSpecifier = 1 << 6, 1987 > BinarySpecifier = 1 << 7, 1988 > OctalSpecifier = 1 << 8, 1989 > /* @internal */ 1990 > ContainsSeparator = 1 << 9, 1991 > /* @internal */ 1992 > BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier, 1993 > /* @internal */ 1994 > NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 1995 > } 19961 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) 19972 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) 19983 >Emitted(1, 15) Source(22, 2) + SourceIndex(0) 1999--- 2000>>>(function (TokenFlags) { 20011-> 20022 >^^^^^^^^^^^ 20033 > ^^^^^^^^^^ 20044 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 20051-> 20062 >enum 20073 > TokenFlags 20081->Emitted(2, 1) Source(1, 1) + SourceIndex(0) 20092 >Emitted(2, 12) Source(1, 6) + SourceIndex(0) 20103 >Emitted(2, 22) Source(1, 16) + SourceIndex(0) 2011--- 2012>>> TokenFlags[TokenFlags["None"] = 0] = "None"; 20131->^^^^ 20142 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20153 > ^ 20164 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 20171-> { 2018 > 20192 > None = 0 20203 > 20211->Emitted(3, 5) Source(2, 5) + SourceIndex(0) 20222 >Emitted(3, 48) Source(2, 13) + SourceIndex(0) 20233 >Emitted(3, 49) Source(2, 13) + SourceIndex(0) 2024--- 2025>>> TokenFlags[TokenFlags["PrecedingLineBreak"] = 1] = "PrecedingLineBreak"; 20261->^^^^ 20272 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20283 > ^ 20294 > ^^^^^^^-> 20301->, 2031 > /* @internal */ 2032 > 20332 > PrecedingLineBreak = 1 << 0 20343 > 20351->Emitted(4, 5) Source(4, 5) + SourceIndex(0) 20362 >Emitted(4, 76) Source(4, 32) + SourceIndex(0) 20373 >Emitted(4, 77) Source(4, 32) + SourceIndex(0) 2038--- 2039>>> TokenFlags[TokenFlags["PrecedingJSDocComment"] = 2] = "PrecedingJSDocComment"; 20401->^^^^ 20412 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20423 > ^ 20431->, 2044 > /* @internal */ 2045 > 20462 > PrecedingJSDocComment = 1 << 1 20473 > 20481->Emitted(5, 5) Source(6, 5) + SourceIndex(0) 20492 >Emitted(5, 82) Source(6, 35) + SourceIndex(0) 20503 >Emitted(5, 83) Source(6, 35) + SourceIndex(0) 2051--- 2052>>> TokenFlags[TokenFlags["Unterminated"] = 4] = "Unterminated"; 20531 >^^^^ 20542 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20553 > ^ 20564 > ^^^^^^^^^^^^^^^^^^^-> 20571 >, 2058 > /* @internal */ 2059 > 20602 > Unterminated = 1 << 2 20613 > 20621 >Emitted(6, 5) Source(8, 5) + SourceIndex(0) 20632 >Emitted(6, 64) Source(8, 26) + SourceIndex(0) 20643 >Emitted(6, 65) Source(8, 26) + SourceIndex(0) 2065--- 2066>>> TokenFlags[TokenFlags["ExtendedUnicodeEscape"] = 8] = "ExtendedUnicodeEscape"; 20671->^^^^ 20682 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20693 > ^ 20701->, 2071 > /* @internal */ 2072 > 20732 > ExtendedUnicodeEscape = 1 << 3 20743 > 20751->Emitted(7, 5) Source(10, 5) + SourceIndex(0) 20762 >Emitted(7, 82) Source(10, 35) + SourceIndex(0) 20773 >Emitted(7, 83) Source(10, 35) + SourceIndex(0) 2078--- 2079>>> TokenFlags[TokenFlags["Scientific"] = 16] = "Scientific"; 20801 >^^^^ 20812 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20823 > ^ 20831 >, 2084 > 20852 > Scientific = 1 << 4 20863 > 20871 >Emitted(8, 5) Source(11, 5) + SourceIndex(0) 20882 >Emitted(8, 61) Source(11, 24) + SourceIndex(0) 20893 >Emitted(8, 62) Source(11, 24) + SourceIndex(0) 2090--- 2091>>> TokenFlags[TokenFlags["Octal"] = 32] = "Octal"; 20921 >^^^^ 20932 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20943 > ^ 20954 > ^^^^^^^^^^^^^^^-> 20961 >, 2097 > 20982 > Octal = 1 << 5 20993 > 21001 >Emitted(9, 5) Source(12, 5) + SourceIndex(0) 21012 >Emitted(9, 51) Source(12, 19) + SourceIndex(0) 21023 >Emitted(9, 52) Source(12, 19) + SourceIndex(0) 2103--- 2104>>> TokenFlags[TokenFlags["HexSpecifier"] = 64] = "HexSpecifier"; 21051->^^^^ 21062 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21073 > ^ 21084 > ^^^^^^^^-> 21091->, 2110 > 21112 > HexSpecifier = 1 << 6 21123 > 21131->Emitted(10, 5) Source(13, 5) + SourceIndex(0) 21142 >Emitted(10, 65) Source(13, 26) + SourceIndex(0) 21153 >Emitted(10, 66) Source(13, 26) + SourceIndex(0) 2116--- 2117>>> TokenFlags[TokenFlags["BinarySpecifier"] = 128] = "BinarySpecifier"; 21181->^^^^ 21192 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21203 > ^ 21211->, 2122 > 21232 > BinarySpecifier = 1 << 7 21243 > 21251->Emitted(11, 5) Source(14, 5) + SourceIndex(0) 21262 >Emitted(11, 72) Source(14, 29) + SourceIndex(0) 21273 >Emitted(11, 73) Source(14, 29) + SourceIndex(0) 2128--- 2129>>> TokenFlags[TokenFlags["OctalSpecifier"] = 256] = "OctalSpecifier"; 21301 >^^^^ 21312 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21323 > ^ 21334 > ^^^^^^^-> 21341 >, 2135 > 21362 > OctalSpecifier = 1 << 8 21373 > 21381 >Emitted(12, 5) Source(15, 5) + SourceIndex(0) 21392 >Emitted(12, 70) Source(15, 28) + SourceIndex(0) 21403 >Emitted(12, 71) Source(15, 28) + SourceIndex(0) 2141--- 2142>>> TokenFlags[TokenFlags["ContainsSeparator"] = 512] = "ContainsSeparator"; 21431->^^^^ 21442 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21453 > ^ 21464 > ^^^^^^^^^^^-> 21471->, 2148 > /* @internal */ 2149 > 21502 > ContainsSeparator = 1 << 9 21513 > 21521->Emitted(13, 5) Source(17, 5) + SourceIndex(0) 21532 >Emitted(13, 76) Source(17, 31) + SourceIndex(0) 21543 >Emitted(13, 77) Source(17, 31) + SourceIndex(0) 2155--- 2156>>> TokenFlags[TokenFlags["BinaryOrOctalSpecifier"] = 384] = "BinaryOrOctalSpecifier"; 21571->^^^^ 21582 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21593 > ^ 21601->, 2161 > /* @internal */ 2162 > 21632 > BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier 21643 > 21651->Emitted(14, 5) Source(19, 5) + SourceIndex(0) 21662 >Emitted(14, 86) Source(19, 62) + SourceIndex(0) 21673 >Emitted(14, 87) Source(19, 62) + SourceIndex(0) 2168--- 2169>>> TokenFlags[TokenFlags["NumericLiteralFlags"] = 1008] = "NumericLiteralFlags"; 21701 >^^^^ 21712 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21723 > ^ 21731 >, 2174 > /* @internal */ 2175 > 21762 > NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 21773 > 21781 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) 21792 >Emitted(15, 81) Source(21, 105) + SourceIndex(0) 21803 >Emitted(15, 82) Source(21, 105) + SourceIndex(0) 2181--- 2182>>>})(TokenFlags || (TokenFlags = {})); 21831 > 21842 >^ 21853 > ^^ 21864 > ^^^^^^^^^^ 21875 > ^^^^^ 21886 > ^^^^^^^^^^ 21897 > ^^^^^^^^ 21901 > 2191 > 21922 >} 21933 > 21944 > TokenFlags 21955 > 21966 > TokenFlags 21977 > { 2198 > None = 0, 2199 > /* @internal */ 2200 > PrecedingLineBreak = 1 << 0, 2201 > /* @internal */ 2202 > PrecedingJSDocComment = 1 << 1, 2203 > /* @internal */ 2204 > Unterminated = 1 << 2, 2205 > /* @internal */ 2206 > ExtendedUnicodeEscape = 1 << 3, 2207 > Scientific = 1 << 4, 2208 > Octal = 1 << 5, 2209 > HexSpecifier = 1 << 6, 2210 > BinarySpecifier = 1 << 7, 2211 > OctalSpecifier = 1 << 8, 2212 > /* @internal */ 2213 > ContainsSeparator = 1 << 9, 2214 > /* @internal */ 2215 > BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier, 2216 > /* @internal */ 2217 > NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator 2218 > } 22191 >Emitted(16, 1) Source(22, 1) + SourceIndex(0) 22202 >Emitted(16, 2) Source(22, 2) + SourceIndex(0) 22213 >Emitted(16, 4) Source(1, 6) + SourceIndex(0) 22224 >Emitted(16, 14) Source(1, 16) + SourceIndex(0) 22235 >Emitted(16, 19) Source(1, 6) + SourceIndex(0) 22246 >Emitted(16, 29) Source(1, 16) + SourceIndex(0) 22257 >Emitted(16, 37) Source(22, 2) + SourceIndex(0) 2226--- 2227>>>var s = "Hello, world"; 22281 > 22292 >^^^^ 22303 > ^ 22314 > ^^^ 22325 > ^^^^^^^^^^^^^^ 22336 > ^ 22341 > 2235 >interface TheFirst { 2236 > none: any; 2237 >} 2238 > 2239 > 22402 >const 22413 > s 22424 > = 22435 > "Hello, world" 22446 > ; 22451 >Emitted(17, 1) Source(27, 1) + SourceIndex(0) 22462 >Emitted(17, 5) Source(27, 7) + SourceIndex(0) 22473 >Emitted(17, 6) Source(27, 8) + SourceIndex(0) 22484 >Emitted(17, 9) Source(27, 11) + SourceIndex(0) 22495 >Emitted(17, 23) Source(27, 25) + SourceIndex(0) 22506 >Emitted(17, 24) Source(27, 26) + SourceIndex(0) 2251--- 2252>>>console.log(s); 22531 > 22542 >^^^^^^^ 22553 > ^ 22564 > ^^^ 22575 > ^ 22586 > ^ 22597 > ^ 22608 > ^ 22619 > ^^^-> 22621 > 2263 > 2264 >interface NoJsForHereEither { 2265 > none: any; 2266 >} 2267 > 2268 > 22692 >console 22703 > . 22714 > log 22725 > ( 22736 > s 22747 > ) 22758 > ; 22761 >Emitted(18, 1) Source(33, 1) + SourceIndex(0) 22772 >Emitted(18, 8) Source(33, 8) + SourceIndex(0) 22783 >Emitted(18, 9) Source(33, 9) + SourceIndex(0) 22794 >Emitted(18, 12) Source(33, 12) + SourceIndex(0) 22805 >Emitted(18, 13) Source(33, 13) + SourceIndex(0) 22816 >Emitted(18, 14) Source(33, 14) + SourceIndex(0) 22827 >Emitted(18, 15) Source(33, 15) + SourceIndex(0) 22838 >Emitted(18, 16) Source(33, 16) + SourceIndex(0) 2284--- 2285------------------------------------------------------------------- 2286emittedFile:/src/third/thirdjs/output/third-output.js 2287sourceFile:../../../first/first_part2.ts 2288------------------------------------------------------------------- 2289>>>console.log(f()); 22901-> 22912 >^^^^^^^ 22923 > ^ 22934 > ^^^ 22945 > ^ 22956 > ^ 22967 > ^^ 22978 > ^ 22989 > ^ 22991-> 23002 >console 23013 > . 23024 > log 23035 > ( 23046 > f 23057 > () 23068 > ) 23079 > ; 23081->Emitted(19, 1) Source(1, 1) + SourceIndex(1) 23092 >Emitted(19, 8) Source(1, 8) + SourceIndex(1) 23103 >Emitted(19, 9) Source(1, 9) + SourceIndex(1) 23114 >Emitted(19, 12) Source(1, 12) + SourceIndex(1) 23125 >Emitted(19, 13) Source(1, 13) + SourceIndex(1) 23136 >Emitted(19, 14) Source(1, 14) + SourceIndex(1) 23147 >Emitted(19, 16) Source(1, 16) + SourceIndex(1) 23158 >Emitted(19, 17) Source(1, 17) + SourceIndex(1) 23169 >Emitted(19, 18) Source(1, 18) + SourceIndex(1) 2317--- 2318------------------------------------------------------------------- 2319emittedFile:/src/third/thirdjs/output/third-output.js 2320sourceFile:../../../first/first_part3.ts 2321------------------------------------------------------------------- 2322>>>function f() { 23231 > 23242 >^^^^^^^^^ 23253 > ^ 23264 > ^^^^^^^^^^^^^^^^^^^-> 23271 > 23282 >function 23293 > f 23301 >Emitted(20, 1) Source(1, 1) + SourceIndex(2) 23312 >Emitted(20, 10) Source(1, 10) + SourceIndex(2) 23323 >Emitted(20, 11) Source(1, 11) + SourceIndex(2) 2333--- 2334>>> return "JS does hoists"; 23351->^^^^ 23362 > ^^^^^^^ 23373 > ^^^^^^^^^^^^^^^^ 23384 > ^ 23391->() { 2340 > 23412 > return 23423 > "JS does hoists" 23434 > ; 23441->Emitted(21, 5) Source(2, 5) + SourceIndex(2) 23452 >Emitted(21, 12) Source(2, 12) + SourceIndex(2) 23463 >Emitted(21, 28) Source(2, 28) + SourceIndex(2) 23474 >Emitted(21, 29) Source(2, 29) + SourceIndex(2) 2348--- 2349>>>} 23501 > 23512 >^ 23523 > ^^^^^^-> 23531 > 2354 > 23552 >} 23561 >Emitted(22, 1) Source(3, 1) + SourceIndex(2) 23572 >Emitted(22, 2) Source(3, 2) + SourceIndex(2) 2358--- 2359------------------------------------------------------------------- 2360emittedFile:/src/third/thirdjs/output/third-output.js 2361sourceFile:../../../second/second_part1.ts 2362------------------------------------------------------------------- 2363>>>var N; 23641-> 23652 >^^^^ 23663 > ^ 23674 > ^ 23685 > ^^^^^^^^^^-> 23691->namespace N { 2370 > // Comment text 2371 >} 2372 > 2373 > 23742 >namespace 23753 > N 23764 > { 2377 > function f() { 2378 > console.log('testing'); 2379 > } 2380 > 2381 > f(); 2382 > } 23831->Emitted(23, 1) Source(5, 1) + SourceIndex(3) 23842 >Emitted(23, 5) Source(5, 11) + SourceIndex(3) 23853 >Emitted(23, 6) Source(5, 12) + SourceIndex(3) 23864 >Emitted(23, 7) Source(11, 2) + SourceIndex(3) 2387--- 2388>>>(function (N) { 23891-> 23902 >^^^^^^^^^^^ 23913 > ^ 23924 > ^^^^^^^-> 23931-> 23942 >namespace 23953 > N 23961->Emitted(24, 1) Source(5, 1) + SourceIndex(3) 23972 >Emitted(24, 12) Source(5, 11) + SourceIndex(3) 23983 >Emitted(24, 13) Source(5, 12) + SourceIndex(3) 2399--- 2400>>> function f() { 24011->^^^^ 24022 > ^^^^^^^^^ 24033 > ^ 24044 > ^^^^^^^^^^^^^^^^^^-> 24051-> { 2406 > 24072 > function 24083 > f 24091->Emitted(25, 5) Source(6, 5) + SourceIndex(3) 24102 >Emitted(25, 14) Source(6, 14) + SourceIndex(3) 24113 >Emitted(25, 15) Source(6, 15) + SourceIndex(3) 2412--- 2413>>> console.log('testing'); 24141->^^^^^^^^ 24152 > ^^^^^^^ 24163 > ^ 24174 > ^^^ 24185 > ^ 24196 > ^^^^^^^^^ 24207 > ^ 24218 > ^ 24221->() { 2423 > 24242 > console 24253 > . 24264 > log 24275 > ( 24286 > 'testing' 24297 > ) 24308 > ; 24311->Emitted(26, 9) Source(7, 9) + SourceIndex(3) 24322 >Emitted(26, 16) Source(7, 16) + SourceIndex(3) 24333 >Emitted(26, 17) Source(7, 17) + SourceIndex(3) 24344 >Emitted(26, 20) Source(7, 20) + SourceIndex(3) 24355 >Emitted(26, 21) Source(7, 21) + SourceIndex(3) 24366 >Emitted(26, 30) Source(7, 30) + SourceIndex(3) 24377 >Emitted(26, 31) Source(7, 31) + SourceIndex(3) 24388 >Emitted(26, 32) Source(7, 32) + SourceIndex(3) 2439--- 2440>>> } 24411 >^^^^ 24422 > ^ 24433 > ^^^^-> 24441 > 2445 > 24462 > } 24471 >Emitted(27, 5) Source(8, 5) + SourceIndex(3) 24482 >Emitted(27, 6) Source(8, 6) + SourceIndex(3) 2449--- 2450>>> f(); 24511->^^^^ 24522 > ^ 24533 > ^^ 24544 > ^ 24555 > ^^^^^^^^^^^-> 24561-> 2457 > 2458 > 24592 > f 24603 > () 24614 > ; 24621->Emitted(28, 5) Source(10, 5) + SourceIndex(3) 24632 >Emitted(28, 6) Source(10, 6) + SourceIndex(3) 24643 >Emitted(28, 8) Source(10, 8) + SourceIndex(3) 24654 >Emitted(28, 9) Source(10, 9) + SourceIndex(3) 2466--- 2467>>>})(N || (N = {})); 24681-> 24692 >^ 24703 > ^^ 24714 > ^ 24725 > ^^^^^ 24736 > ^ 24747 > ^^^^^^^^ 24758 > ^^^^^-> 24761-> 2477 > 24782 >} 24793 > 24804 > N 24815 > 24826 > N 24837 > { 2484 > function f() { 2485 > console.log('testing'); 2486 > } 2487 > 2488 > f(); 2489 > } 24901->Emitted(29, 1) Source(11, 1) + SourceIndex(3) 24912 >Emitted(29, 2) Source(11, 2) + SourceIndex(3) 24923 >Emitted(29, 4) Source(5, 11) + SourceIndex(3) 24934 >Emitted(29, 5) Source(5, 12) + SourceIndex(3) 24945 >Emitted(29, 10) Source(5, 11) + SourceIndex(3) 24956 >Emitted(29, 11) Source(5, 12) + SourceIndex(3) 24967 >Emitted(29, 19) Source(11, 2) + SourceIndex(3) 2497--- 2498------------------------------------------------------------------- 2499emittedFile:/src/third/thirdjs/output/third-output.js 2500sourceFile:../../../second/second_part2.ts 2501------------------------------------------------------------------- 2502>>>var C = (function () { 25031-> 25042 >^^^^^^^^^^^^^^^^^^^-> 25051-> 25061->Emitted(30, 1) Source(1, 1) + SourceIndex(4) 2507--- 2508>>> function C() { 25091->^^^^ 25102 > ^^-> 25111-> 25121->Emitted(31, 5) Source(1, 1) + SourceIndex(4) 2513--- 2514>>> } 25151->^^^^ 25162 > ^ 25173 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 25181->class C { 2519 > doSomething() { 2520 > console.log("something got done"); 2521 > } 2522 > 25232 > } 25241->Emitted(32, 5) Source(5, 1) + SourceIndex(4) 25252 >Emitted(32, 6) Source(5, 2) + SourceIndex(4) 2526--- 2527>>> C.prototype.doSomething = function () { 25281->^^^^ 25292 > ^^^^^^^^^^^^^^^^^^^^^^^ 25303 > ^^^ 25314 > ^^^^^^^^^^^^^-> 25321-> 25332 > doSomething 25343 > 25351->Emitted(33, 5) Source(2, 5) + SourceIndex(4) 25362 >Emitted(33, 28) Source(2, 16) + SourceIndex(4) 25373 >Emitted(33, 31) Source(2, 5) + SourceIndex(4) 2538--- 2539>>> console.log("something got done"); 25401->^^^^^^^^ 25412 > ^^^^^^^ 25423 > ^ 25434 > ^^^ 25445 > ^ 25456 > ^^^^^^^^^^^^^^^^^^^^ 25467 > ^ 25478 > ^ 25481->doSomething() { 2549 > 25502 > console 25513 > . 25524 > log 25535 > ( 25546 > "something got done" 25557 > ) 25568 > ; 25571->Emitted(34, 9) Source(3, 9) + SourceIndex(4) 25582 >Emitted(34, 16) Source(3, 16) + SourceIndex(4) 25593 >Emitted(34, 17) Source(3, 17) + SourceIndex(4) 25604 >Emitted(34, 20) Source(3, 20) + SourceIndex(4) 25615 >Emitted(34, 21) Source(3, 21) + SourceIndex(4) 25626 >Emitted(34, 41) Source(3, 41) + SourceIndex(4) 25637 >Emitted(34, 42) Source(3, 42) + SourceIndex(4) 25648 >Emitted(34, 43) Source(3, 43) + SourceIndex(4) 2565--- 2566>>> }; 25671 >^^^^ 25682 > ^ 25693 > ^^^^^^^^^-> 25701 > 2571 > 25722 > } 25731 >Emitted(35, 5) Source(4, 5) + SourceIndex(4) 25742 >Emitted(35, 6) Source(4, 6) + SourceIndex(4) 2575--- 2576>>> return C; 25771->^^^^ 25782 > ^^^^^^^^ 25791-> 2580 > 25812 > } 25821->Emitted(36, 5) Source(5, 1) + SourceIndex(4) 25832 >Emitted(36, 13) Source(5, 2) + SourceIndex(4) 2584--- 2585>>>}()); 25861 > 25872 >^ 25883 > 25894 > ^^^^ 25905 > ^^^^^^^^^^^^-> 25911 > 25922 >} 25933 > 25944 > class C { 2595 > doSomething() { 2596 > console.log("something got done"); 2597 > } 2598 > } 25991 >Emitted(37, 1) Source(5, 1) + SourceIndex(4) 26002 >Emitted(37, 2) Source(5, 2) + SourceIndex(4) 26013 >Emitted(37, 2) Source(1, 1) + SourceIndex(4) 26024 >Emitted(37, 6) Source(5, 2) + SourceIndex(4) 2603--- 2604------------------------------------------------------------------- 2605emittedFile:/src/third/thirdjs/output/third-output.js 2606sourceFile:../../third_part1.ts 2607------------------------------------------------------------------- 2608>>>var c = new C(); 26091-> 26102 >^^^^ 26113 > ^ 26124 > ^^^ 26135 > ^^^^ 26146 > ^ 26157 > ^^ 26168 > ^ 26179 > ^-> 26181-> 26192 >var 26203 > c 26214 > = 26225 > new 26236 > C 26247 > () 26258 > ; 26261->Emitted(38, 1) Source(1, 1) + SourceIndex(5) 26272 >Emitted(38, 5) Source(1, 5) + SourceIndex(5) 26283 >Emitted(38, 6) Source(1, 6) + SourceIndex(5) 26294 >Emitted(38, 9) Source(1, 9) + SourceIndex(5) 26305 >Emitted(38, 13) Source(1, 13) + SourceIndex(5) 26316 >Emitted(38, 14) Source(1, 14) + SourceIndex(5) 26327 >Emitted(38, 16) Source(1, 16) + SourceIndex(5) 26338 >Emitted(38, 17) Source(1, 17) + SourceIndex(5) 2634--- 2635>>>c.doSomething(); 26361-> 26372 >^ 26383 > ^ 26394 > ^^^^^^^^^^^ 26405 > ^^ 26416 > ^ 26427 > ^^^^^^^^^^^^^^^^^^^^^^^-> 26431-> 2644 > 26452 >c 26463 > . 26474 > doSomething 26485 > () 26496 > ; 26501->Emitted(39, 1) Source(2, 1) + SourceIndex(5) 26512 >Emitted(39, 2) Source(2, 2) + SourceIndex(5) 26523 >Emitted(39, 3) Source(2, 3) + SourceIndex(5) 26534 >Emitted(39, 14) Source(2, 14) + SourceIndex(5) 26545 >Emitted(39, 16) Source(2, 16) + SourceIndex(5) 26556 >Emitted(39, 17) Source(2, 17) + SourceIndex(5) 2656--- 2657>>>//# sourceMappingURL=third-output.js.map 2658 2659//// [/src/third/thirdjs/output/third-output.tsbuildinfo] 2660{ 2661 "bundle": { 2662 "commonSourceDirectory": "../..", 2663 "sourceFiles": [ 2664 "../../third_part1.ts" 2665 ], 2666 "js": { 2667 "sections": [ 2668 { 2669 "pos": 0, 2670 "end": 1131, 2671 "kind": "prepend", 2672 "data": "../../../first/bin/first-output.js", 2673 "texts": [ 2674 { 2675 "pos": 0, 2676 "end": 1131, 2677 "kind": "text" 2678 } 2679 ] 2680 }, 2681 { 2682 "pos": 1131, 2683 "end": 1416, 2684 "kind": "prepend", 2685 "data": "../../../2/second-output.js", 2686 "texts": [ 2687 { 2688 "pos": 1131, 2689 "end": 1416, 2690 "kind": "text" 2691 } 2692 ] 2693 }, 2694 { 2695 "pos": 1416, 2696 "end": 1452, 2697 "kind": "text" 2698 } 2699 ] 2700 }, 2701 "dts": { 2702 "sections": [ 2703 { 2704 "pos": 0, 2705 "end": 320, 2706 "kind": "prepend", 2707 "data": "../../../first/bin/first-output.d.ts", 2708 "texts": [ 2709 { 2710 "pos": 0, 2711 "end": 320, 2712 "kind": "text" 2713 } 2714 ] 2715 }, 2716 { 2717 "pos": 320, 2718 "end": 420, 2719 "kind": "prepend", 2720 "data": "../../../2/second-output.d.ts", 2721 "texts": [ 2722 { 2723 "pos": 320, 2724 "end": 420, 2725 "kind": "text" 2726 } 2727 ] 2728 }, 2729 { 2730 "pos": 420, 2731 "end": 439, 2732 "kind": "text" 2733 } 2734 ] 2735 } 2736 }, 2737 "version": "FakeTSVersion" 2738} 2739 2740//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] 2741====================================================================== 2742File:: /src/third/thirdjs/output/third-output.js 2743---------------------------------------------------------------------- 2744prepend: (0-1131):: ../../../first/bin/first-output.js texts:: 1 2745>>-------------------------------------------------------------------- 2746text: (0-1131) 2747var TokenFlags; 2748(function (TokenFlags) { 2749 TokenFlags[TokenFlags["None"] = 0] = "None"; 2750 TokenFlags[TokenFlags["PrecedingLineBreak"] = 1] = "PrecedingLineBreak"; 2751 TokenFlags[TokenFlags["PrecedingJSDocComment"] = 2] = "PrecedingJSDocComment"; 2752 TokenFlags[TokenFlags["Unterminated"] = 4] = "Unterminated"; 2753 TokenFlags[TokenFlags["ExtendedUnicodeEscape"] = 8] = "ExtendedUnicodeEscape"; 2754 TokenFlags[TokenFlags["Scientific"] = 16] = "Scientific"; 2755 TokenFlags[TokenFlags["Octal"] = 32] = "Octal"; 2756 TokenFlags[TokenFlags["HexSpecifier"] = 64] = "HexSpecifier"; 2757 TokenFlags[TokenFlags["BinarySpecifier"] = 128] = "BinarySpecifier"; 2758 TokenFlags[TokenFlags["OctalSpecifier"] = 256] = "OctalSpecifier"; 2759 TokenFlags[TokenFlags["ContainsSeparator"] = 512] = "ContainsSeparator"; 2760 TokenFlags[TokenFlags["BinaryOrOctalSpecifier"] = 384] = "BinaryOrOctalSpecifier"; 2761 TokenFlags[TokenFlags["NumericLiteralFlags"] = 1008] = "NumericLiteralFlags"; 2762})(TokenFlags || (TokenFlags = {})); 2763var s = "Hello, world"; 2764console.log(s); 2765console.log(f()); 2766function f() { 2767 return "JS does hoists"; 2768} 2769 2770---------------------------------------------------------------------- 2771prepend: (1131-1416):: ../../../2/second-output.js texts:: 1 2772>>-------------------------------------------------------------------- 2773text: (1131-1416) 2774var N; 2775(function (N) { 2776 function f() { 2777 console.log('testing'); 2778 } 2779 f(); 2780})(N || (N = {})); 2781var C = (function () { 2782 function C() { 2783 } 2784 C.prototype.doSomething = function () { 2785 console.log("something got done"); 2786 }; 2787 return C; 2788}()); 2789 2790---------------------------------------------------------------------- 2791text: (1416-1452) 2792var c = new C(); 2793c.doSomething(); 2794 2795====================================================================== 2796====================================================================== 2797File:: /src/third/thirdjs/output/third-output.d.ts 2798---------------------------------------------------------------------- 2799prepend: (0-320):: ../../../first/bin/first-output.d.ts texts:: 1 2800>>-------------------------------------------------------------------- 2801text: (0-320) 2802declare enum TokenFlags { 2803 None = 0, 2804 Scientific = 16, 2805 Octal = 32, 2806 HexSpecifier = 64, 2807 BinarySpecifier = 128, 2808 OctalSpecifier = 256, 2809} 2810interface TheFirst { 2811 none: any; 2812} 2813declare const s = "Hello, world"; 2814interface NoJsForHereEither { 2815 none: any; 2816} 2817declare function f(): string; 2818 2819---------------------------------------------------------------------- 2820prepend: (320-420):: ../../../2/second-output.d.ts texts:: 1 2821>>-------------------------------------------------------------------- 2822text: (320-420) 2823declare namespace N { 2824} 2825declare namespace N { 2826} 2827declare class C { 2828 doSomething(): void; 2829} 2830 2831---------------------------------------------------------------------- 2832text: (420-439) 2833declare var c: C; 2834 2835====================================================================== 2836 2837