149 lines
No EOL
3.9 KiB
Text
149 lines
No EOL
3.9 KiB
Text
===================================================================
|
|
JsFile: es5-umd2.js
|
|
mapUrl: es5-umd2.js.map
|
|
sourceRoot:
|
|
sources: es5-umd2.ts
|
|
===================================================================
|
|
-------------------------------------------------------------------
|
|
emittedFile:tests/cases/compiler/es5-umd2.js
|
|
sourceFile:es5-umd2.ts
|
|
-------------------------------------------------------------------
|
|
>>>(function (deps, factory) {
|
|
>>> if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
>>> var v = factory(require, exports); if (v !== undefined) module.exports = v;
|
|
>>> }
|
|
>>> else if (typeof define === 'function' && define.amd) {
|
|
>>> define(deps, factory);
|
|
>>> }
|
|
>>>})(["require", "exports"], function (require, exports) {
|
|
>>> var A = (function () {
|
|
1 >^^^^
|
|
2 > ^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
>
|
|
1 >Emitted(9, 5) Source(2, 1) + SourceIndex(0)
|
|
---
|
|
>>> function A() {
|
|
1->^^^^^^^^
|
|
2 > ^^->
|
|
1->export class A
|
|
>{
|
|
>
|
|
1->Emitted(10, 9) Source(4, 5) + SourceIndex(0) name (A)
|
|
---
|
|
>>> }
|
|
1->^^^^^^^^
|
|
2 > ^
|
|
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
1->constructor ()
|
|
> {
|
|
>
|
|
>
|
|
2 > }
|
|
1->Emitted(11, 9) Source(7, 5) + SourceIndex(0) name (A.constructor)
|
|
2 >Emitted(11, 10) Source(7, 6) + SourceIndex(0) name (A.constructor)
|
|
---
|
|
>>> A.prototype.B = function () {
|
|
1->^^^^^^^^
|
|
2 > ^^^^^^^^^^^^^
|
|
3 > ^^^
|
|
1->
|
|
>
|
|
> public
|
|
2 > B
|
|
3 >
|
|
1->Emitted(12, 9) Source(9, 12) + SourceIndex(0) name (A)
|
|
2 >Emitted(12, 22) Source(9, 13) + SourceIndex(0) name (A)
|
|
3 >Emitted(12, 25) Source(9, 5) + SourceIndex(0) name (A)
|
|
---
|
|
>>> return 42;
|
|
1 >^^^^^^^^^^^^
|
|
2 > ^^^^^^
|
|
3 > ^
|
|
4 > ^^
|
|
5 > ^
|
|
1 >public B()
|
|
> {
|
|
>
|
|
2 > return
|
|
3 >
|
|
4 > 42
|
|
5 > ;
|
|
1 >Emitted(13, 13) Source(11, 9) + SourceIndex(0) name (A.B)
|
|
2 >Emitted(13, 19) Source(11, 15) + SourceIndex(0) name (A.B)
|
|
3 >Emitted(13, 20) Source(11, 16) + SourceIndex(0) name (A.B)
|
|
4 >Emitted(13, 22) Source(11, 18) + SourceIndex(0) name (A.B)
|
|
5 >Emitted(13, 23) Source(11, 19) + SourceIndex(0) name (A.B)
|
|
---
|
|
>>> };
|
|
1 >^^^^^^^^
|
|
2 > ^
|
|
3 > ^^^^^^^^^->
|
|
1 >
|
|
>
|
|
2 > }
|
|
1 >Emitted(14, 9) Source(12, 5) + SourceIndex(0) name (A.B)
|
|
2 >Emitted(14, 10) Source(12, 6) + SourceIndex(0) name (A.B)
|
|
---
|
|
>>> return A;
|
|
1->^^^^^^^^
|
|
2 > ^^^^^^^^
|
|
1->
|
|
>
|
|
2 > }
|
|
1->Emitted(15, 9) Source(13, 1) + SourceIndex(0) name (A)
|
|
2 >Emitted(15, 17) Source(13, 2) + SourceIndex(0) name (A)
|
|
---
|
|
>>> })();
|
|
1 >^^^^
|
|
2 > ^
|
|
3 >
|
|
4 > ^^^^
|
|
5 > ^^^^^^^^^^->
|
|
1 >
|
|
2 > }
|
|
3 >
|
|
4 > export class A
|
|
> {
|
|
> constructor ()
|
|
> {
|
|
>
|
|
> }
|
|
>
|
|
> public B()
|
|
> {
|
|
> return 42;
|
|
> }
|
|
> }
|
|
1 >Emitted(16, 5) Source(13, 1) + SourceIndex(0) name (A)
|
|
2 >Emitted(16, 6) Source(13, 2) + SourceIndex(0) name (A)
|
|
3 >Emitted(16, 6) Source(2, 1) + SourceIndex(0)
|
|
4 >Emitted(16, 10) Source(13, 2) + SourceIndex(0)
|
|
---
|
|
>>> exports.A = A;
|
|
1->^^^^
|
|
2 > ^^^^^^^^^
|
|
3 > ^^^^
|
|
4 > ^
|
|
1->
|
|
2 > A
|
|
3 >
|
|
> {
|
|
> constructor ()
|
|
> {
|
|
>
|
|
> }
|
|
>
|
|
> public B()
|
|
> {
|
|
> return 42;
|
|
> }
|
|
> }
|
|
4 >
|
|
1->Emitted(17, 5) Source(2, 14) + SourceIndex(0)
|
|
2 >Emitted(17, 14) Source(2, 15) + SourceIndex(0)
|
|
3 >Emitted(17, 18) Source(13, 2) + SourceIndex(0)
|
|
4 >Emitted(17, 19) Source(13, 2) + SourceIndex(0)
|
|
---
|
|
>>>});
|
|
>>>//# sourceMappingURL=es5-umd2.js.map |