114 lines
3.1 KiB
Text
114 lines
3.1 KiB
Text
|
===================================================================
|
||
|
JsFile: computedPropertyNamesSourceMap1.js
|
||
|
mapUrl: computedPropertyNamesSourceMap1.js.map
|
||
|
sourceRoot:
|
||
|
sources: computedPropertyNamesSourceMap1.ts
|
||
|
===================================================================
|
||
|
-------------------------------------------------------------------
|
||
|
emittedFile:tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap1.js
|
||
|
sourceFile:computedPropertyNamesSourceMap1.ts
|
||
|
-------------------------------------------------------------------
|
||
|
>>>var C = (function () {
|
||
|
1 >
|
||
|
2 >^^^^
|
||
|
3 > ^
|
||
|
4 > ^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
2 >class
|
||
|
3 > C
|
||
|
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||
|
2 >Emitted(1, 5) Source(1, 7) + SourceIndex(0)
|
||
|
3 >Emitted(1, 6) Source(1, 8) + SourceIndex(0)
|
||
|
---
|
||
|
>>> function C() {
|
||
|
1->^^^^
|
||
|
2 > ^^^^^^^^^
|
||
|
3 > ^
|
||
|
1->
|
||
|
2 > class
|
||
|
3 > C
|
||
|
1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) name (C)
|
||
|
2 >Emitted(2, 14) Source(1, 7) + SourceIndex(0) name (C)
|
||
|
3 >Emitted(2, 15) Source(1, 8) + SourceIndex(0) name (C)
|
||
|
---
|
||
|
>>> }
|
||
|
1 >^^^^
|
||
|
2 > ^
|
||
|
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||
|
1 > {
|
||
|
> ["hello"]() {
|
||
|
> debugger;
|
||
|
> }
|
||
|
>
|
||
|
2 > }
|
||
|
1 >Emitted(3, 5) Source(5, 1) + SourceIndex(0) name (C.constructor)
|
||
|
2 >Emitted(3, 6) Source(5, 2) + SourceIndex(0) name (C.constructor)
|
||
|
---
|
||
|
>>> C.prototype["hello"] = function () {
|
||
|
1->^^^^
|
||
|
2 > ^^^^^^^^^^^^
|
||
|
3 > ^^^^^^^
|
||
|
4 > ^
|
||
|
5 > ^^^
|
||
|
1->
|
||
|
2 > [
|
||
|
3 > "hello"
|
||
|
4 > ]
|
||
|
5 >
|
||
|
1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) name (C)
|
||
|
2 >Emitted(4, 17) Source(2, 6) + SourceIndex(0) name (C)
|
||
|
3 >Emitted(4, 24) Source(2, 13) + SourceIndex(0) name (C)
|
||
|
4 >Emitted(4, 25) Source(2, 14) + SourceIndex(0) name (C)
|
||
|
5 >Emitted(4, 28) Source(2, 5) + SourceIndex(0) name (C)
|
||
|
---
|
||
|
>>> debugger;
|
||
|
1 >^^^^^^^^
|
||
|
2 > ^^^^^^^^
|
||
|
3 > ^
|
||
|
1 >["hello"]() {
|
||
|
>
|
||
|
2 > debugger
|
||
|
3 > ;
|
||
|
1 >Emitted(5, 9) Source(3, 9) + SourceIndex(0) name (C["hello"])
|
||
|
2 >Emitted(5, 17) Source(3, 17) + SourceIndex(0) name (C["hello"])
|
||
|
3 >Emitted(5, 18) Source(3, 18) + SourceIndex(0) name (C["hello"])
|
||
|
---
|
||
|
>>> };
|
||
|
1 >^^^^
|
||
|
2 > ^
|
||
|
3 > ^^^^^^^^^->
|
||
|
1 >
|
||
|
>
|
||
|
2 > }
|
||
|
1 >Emitted(6, 5) Source(4, 5) + SourceIndex(0) name (C["hello"])
|
||
|
2 >Emitted(6, 6) Source(4, 6) + SourceIndex(0) name (C["hello"])
|
||
|
---
|
||
|
>>> return C;
|
||
|
1->^^^^
|
||
|
2 > ^^^^^^^^
|
||
|
1->
|
||
|
>
|
||
|
2 > }
|
||
|
1->Emitted(7, 5) Source(5, 1) + SourceIndex(0) name (C)
|
||
|
2 >Emitted(7, 13) Source(5, 2) + SourceIndex(0) name (C)
|
||
|
---
|
||
|
>>>})();
|
||
|
1 >
|
||
|
2 >^
|
||
|
3 >
|
||
|
4 > ^^^^
|
||
|
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
2 >}
|
||
|
3 >
|
||
|
4 > class C {
|
||
|
> ["hello"]() {
|
||
|
> debugger;
|
||
|
> }
|
||
|
> }
|
||
|
1 >Emitted(8, 1) Source(5, 1) + SourceIndex(0) name (C)
|
||
|
2 >Emitted(8, 2) Source(5, 2) + SourceIndex(0) name (C)
|
||
|
3 >Emitted(8, 2) Source(1, 1) + SourceIndex(0)
|
||
|
4 >Emitted(8, 6) Source(5, 2) + SourceIndex(0)
|
||
|
---
|
||
|
>>>//# sourceMappingURL=computedPropertyNamesSourceMap1.js.map
|