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
|
===================================================================
JsFile: test.js
mapUrl: test.js.map
sourceRoot:
sources: test.tsx
===================================================================
-------------------------------------------------------------------
emittedFile:tests/cases/compiler/test.js
sourceFile:test.tsx
-------------------------------------------------------------------
>>>"use strict";
>>>Object.defineProperty(exports, "__esModule", { value: true });
>>>exports.AppComponent = void 0;
>>>class AppComponent {
1 >
2 >^^^^^^
3 > ^^^^^^^^^^^^
4 > ^^^^^^^^^^->
1 >declare module JSX {
> interface IntrinsicElements {
> [s: string]: any;
> }
>}
>
>
2 >export class
3 > AppComponent
1 >Emitted(4, 1) Source(7, 1) + SourceIndex(0)
2 >Emitted(4, 7) Source(7, 14) + SourceIndex(0)
3 >Emitted(4, 19) Source(7, 26) + SourceIndex(0)
---
>>> render(createElement) {
1->^^^^
2 > ^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^
5 > ^^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > render
3 > (
4 > createElement
1->Emitted(5, 5) Source(8, 5) + SourceIndex(0)
2 >Emitted(5, 11) Source(8, 11) + SourceIndex(0)
3 >Emitted(5, 12) Source(8, 12) + SourceIndex(0)
4 >Emitted(5, 25) Source(8, 25) + SourceIndex(0)
---
>>> return createElement("div", null);
1->^^^^^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^
4 > ^
1->) {
>
2 > return
3 > <div />
4 > ;
1->Emitted(6, 9) Source(9, 9) + SourceIndex(0)
2 >Emitted(6, 16) Source(9, 16) + SourceIndex(0)
3 >Emitted(6, 42) Source(9, 23) + SourceIndex(0)
4 >Emitted(6, 43) Source(9, 24) + SourceIndex(0)
---
>>> }
1 >^^^^
2 > ^
1 >
>
2 > }
1 >Emitted(7, 5) Source(10, 5) + SourceIndex(0)
2 >Emitted(7, 6) Source(10, 6) + SourceIndex(0)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>}
1 >Emitted(8, 2) Source(11, 2) + SourceIndex(0)
---
>>>exports.AppComponent = AppComponent;
1->
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1->
2 >export class AppComponent {
> render(createElement) {
> return <div />;
> }
>}
1->Emitted(9, 1) Source(7, 1) + SourceIndex(0)
2 >Emitted(9, 37) Source(11, 2) + SourceIndex(0)
---
>>>//# sourceMappingURL=test.js.map
|