1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
|
===================================================================
JsFile: all.js
mapUrl: all.js.map
sourceRoot:
sources: tests/cases/compiler/ref/a.ts,tests/cases/compiler/b.ts
===================================================================
-------------------------------------------------------------------
emittedFile:all.js
sourceFile:tests/cases/compiler/ref/a.ts
-------------------------------------------------------------------
>>>var __extends = (this && this.__extends) || function (d, b) {
>>> for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
>>> function __() { this.constructor = d; }
>>> d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
>>>};
>>>define("ref/a", ["require", "exports"], function (require, exports) {
>>> "use strict";
>>> var A = (function () {
1 >^^^^
2 > ^^^^^^^^^^^^^^^^^^^->
1 >
>
1 >Emitted(8, 5) Source(2, 1) + SourceIndex(0)
---
>>> function A() {
1->^^^^^^^^
2 > ^^->
1->
1->Emitted(9, 9) Source(2, 1) + SourceIndex(0)
---
>>> }
1->^^^^^^^^
2 > ^
3 > ^^^^^^^^^->
1->export class A {
2 > }
1->Emitted(10, 9) Source(2, 18) + SourceIndex(0)
2 >Emitted(10, 10) Source(2, 19) + SourceIndex(0)
---
>>> return A;
1->^^^^^^^^
2 > ^^^^^^^^
1->
2 > }
1->Emitted(11, 9) Source(2, 18) + SourceIndex(0)
2 >Emitted(11, 17) Source(2, 19) + SourceIndex(0)
---
>>> }());
1 >^^^^
2 > ^
3 >
4 > ^^^^
5 > ^^^^^^^^^^->
1 >
2 > }
3 >
4 > export class A { }
1 >Emitted(12, 5) Source(2, 18) + SourceIndex(0)
2 >Emitted(12, 6) Source(2, 19) + SourceIndex(0)
3 >Emitted(12, 6) Source(2, 1) + SourceIndex(0)
4 >Emitted(12, 10) Source(2, 19) + SourceIndex(0)
---
>>> exports.A = A;
1->^^^^
2 > ^^^^^^^^^^^^^^
1->
2 > A
1->Emitted(13, 5) Source(2, 14) + SourceIndex(0)
2 >Emitted(13, 19) Source(2, 15) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:all.js
sourceFile:tests/cases/compiler/b.ts
-------------------------------------------------------------------
>>>});
>>>define("b", ["require", "exports", "ref/a"], function (require, exports, a_1) {
>>> "use strict";
>>> var B = (function (_super) {
1 >^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >import {A} from "./ref/a";
>
1 >Emitted(17, 5) Source(2, 1) + SourceIndex(1)
---
>>> __extends(B, _super);
1->^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^
1->export class B extends
2 > A
1->Emitted(18, 9) Source(2, 24) + SourceIndex(1)
2 >Emitted(18, 30) Source(2, 25) + SourceIndex(1)
---
>>> function B() {
1 >^^^^^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
1 >Emitted(19, 9) Source(2, 1) + SourceIndex(1)
---
>>> return _super !== null && _super.apply(this, arguments) || this;
>>> }
1->^^^^^^^^
2 > ^
3 > ^^^^^^^^^->
1->export class B extends A {
2 > }
1->Emitted(21, 9) Source(2, 28) + SourceIndex(1)
2 >Emitted(21, 10) Source(2, 29) + SourceIndex(1)
---
>>> return B;
1->^^^^^^^^
2 > ^^^^^^^^
1->
2 > }
1->Emitted(22, 9) Source(2, 28) + SourceIndex(1)
2 >Emitted(22, 17) Source(2, 29) + SourceIndex(1)
---
>>> }(a_1.A));
1 >^^^^
2 > ^
3 >
4 > ^
5 > ^^^^^
6 > ^^^
7 > ^^^^^->
1 >
2 > }
3 >
4 > export class B extends
5 > A
6 > { }
1 >Emitted(23, 5) Source(2, 28) + SourceIndex(1)
2 >Emitted(23, 6) Source(2, 29) + SourceIndex(1)
3 >Emitted(23, 6) Source(2, 1) + SourceIndex(1)
4 >Emitted(23, 7) Source(2, 24) + SourceIndex(1)
5 >Emitted(23, 12) Source(2, 25) + SourceIndex(1)
6 >Emitted(23, 15) Source(2, 29) + SourceIndex(1)
---
>>> exports.B = B;
1->^^^^
2 > ^^^^^^^^^^^^^^
1->
2 > B
1->Emitted(24, 5) Source(2, 14) + SourceIndex(1)
2 >Emitted(24, 19) Source(2, 15) + SourceIndex(1)
---
>>>});
>>>//# sourceMappingURL=all.js.map
|