160 lines
4.7 KiB
Plaintext
160 lines
4.7 KiB
Plaintext
===================================================================
|
|
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 () {
|
|
>>> var extendStatics = function (d, b) {
|
|
>>> extendStatics = Object.setPrototypeOf ||
|
|
>>> ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
>>> function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
>>> return extendStatics(d, b);
|
|
>>> };
|
|
>>> return function (d, b) {
|
|
>>> if (typeof b !== "function" && b !== null)
|
|
>>> throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
>>> extendStatics(d, b);
|
|
>>> 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";
|
|
>>> Object.defineProperty(exports, "__esModule", { value: true });
|
|
>>> exports.A = void 0;
|
|
>>> var A = /** @class */ (function () {
|
|
1 >^^^^
|
|
2 > ^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
1 >Emitted(20, 5) Source(1, 1) + SourceIndex(0)
|
|
---
|
|
>>> function A() {
|
|
1->^^^^^^^^
|
|
2 > ^^->
|
|
1->
|
|
1->Emitted(21, 9) Source(1, 1) + SourceIndex(0)
|
|
---
|
|
>>> }
|
|
1->^^^^^^^^
|
|
2 > ^
|
|
3 > ^^^^^^^^^->
|
|
1->export class A {
|
|
2 > }
|
|
1->Emitted(22, 9) Source(1, 18) + SourceIndex(0)
|
|
2 >Emitted(22, 10) Source(1, 19) + SourceIndex(0)
|
|
---
|
|
>>> return A;
|
|
1->^^^^^^^^
|
|
2 > ^^^^^^^^
|
|
1->
|
|
2 > }
|
|
1->Emitted(23, 9) Source(1, 18) + SourceIndex(0)
|
|
2 >Emitted(23, 17) Source(1, 19) + SourceIndex(0)
|
|
---
|
|
>>> }());
|
|
1 >^^^^
|
|
2 > ^
|
|
3 >
|
|
4 > ^^^^
|
|
5 > ^^^^^^^^^^->
|
|
1 >
|
|
2 > }
|
|
3 >
|
|
4 > export class A { }
|
|
1 >Emitted(24, 5) Source(1, 18) + SourceIndex(0)
|
|
2 >Emitted(24, 6) Source(1, 19) + SourceIndex(0)
|
|
3 >Emitted(24, 6) Source(1, 1) + SourceIndex(0)
|
|
4 >Emitted(24, 10) Source(1, 19) + SourceIndex(0)
|
|
---
|
|
>>> exports.A = A;
|
|
1->^^^^
|
|
2 > ^^^^^^^^^^^^^^
|
|
1->
|
|
2 > A
|
|
1->Emitted(25, 5) Source(1, 14) + SourceIndex(0)
|
|
2 >Emitted(25, 19) Source(1, 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";
|
|
>>> Object.defineProperty(exports, "__esModule", { value: true });
|
|
>>> exports.B = void 0;
|
|
>>> var B = /** @class */ (function (_super) {
|
|
1 >^^^^
|
|
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
1 >import {A} from "./ref/a";
|
|
>
|
|
1 >Emitted(31, 5) Source(2, 1) + SourceIndex(1)
|
|
---
|
|
>>> __extends(B, _super);
|
|
1->^^^^^^^^
|
|
2 > ^^^^^^^^^^^^^^^^^^^^^
|
|
1->export class B extends
|
|
2 > A
|
|
1->Emitted(32, 9) Source(2, 24) + SourceIndex(1)
|
|
2 >Emitted(32, 30) Source(2, 25) + SourceIndex(1)
|
|
---
|
|
>>> function B() {
|
|
1 >^^^^^^^^
|
|
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
1 >Emitted(33, 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(35, 9) Source(2, 28) + SourceIndex(1)
|
|
2 >Emitted(35, 10) Source(2, 29) + SourceIndex(1)
|
|
---
|
|
>>> return B;
|
|
1->^^^^^^^^
|
|
2 > ^^^^^^^^
|
|
1->
|
|
2 > }
|
|
1->Emitted(36, 9) Source(2, 28) + SourceIndex(1)
|
|
2 >Emitted(36, 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(37, 5) Source(2, 28) + SourceIndex(1)
|
|
2 >Emitted(37, 6) Source(2, 29) + SourceIndex(1)
|
|
3 >Emitted(37, 6) Source(2, 1) + SourceIndex(1)
|
|
4 >Emitted(37, 7) Source(2, 24) + SourceIndex(1)
|
|
5 >Emitted(37, 12) Source(2, 25) + SourceIndex(1)
|
|
6 >Emitted(37, 15) Source(2, 29) + SourceIndex(1)
|
|
---
|
|
>>> exports.B = B;
|
|
1->^^^^
|
|
2 > ^^^^^^^^^^^^^^
|
|
1->
|
|
2 > B
|
|
1->Emitted(38, 5) Source(2, 14) + SourceIndex(1)
|
|
2 >Emitted(38, 19) Source(2, 15) + SourceIndex(1)
|
|
---
|
|
>>>});
|
|
>>>//# sourceMappingURL=all.js.map |