135 lines
No EOL
3.6 KiB
Text
135 lines
No EOL
3.6 KiB
Text
===================================================================
|
|
JsFile: ES5For-of25.js
|
|
mapUrl: ES5For-of25.js.map
|
|
sourceRoot:
|
|
sources: ES5For-of25.ts
|
|
===================================================================
|
|
-------------------------------------------------------------------
|
|
emittedFile:tests/cases/conformance/statements/for-ofStatements/ES5For-of25.js
|
|
sourceFile:ES5For-of25.ts
|
|
-------------------------------------------------------------------
|
|
>>>var a = [1, 2, 3];
|
|
1 >
|
|
2 >^^^^
|
|
3 > ^
|
|
4 > ^^^
|
|
5 > ^
|
|
6 > ^
|
|
7 > ^^
|
|
8 > ^
|
|
9 > ^^
|
|
10> ^
|
|
11> ^
|
|
12> ^
|
|
13> ^^^^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
2 >var
|
|
3 > a
|
|
4 > =
|
|
5 > [
|
|
6 > 1
|
|
7 > ,
|
|
8 > 2
|
|
9 > ,
|
|
10> 3
|
|
11> ]
|
|
12> ;
|
|
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
|
2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0)
|
|
3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0)
|
|
4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0)
|
|
5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0)
|
|
6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0)
|
|
7 >Emitted(1, 13) Source(1, 13) + SourceIndex(0)
|
|
8 >Emitted(1, 14) Source(1, 14) + SourceIndex(0)
|
|
9 >Emitted(1, 16) Source(1, 16) + SourceIndex(0)
|
|
10>Emitted(1, 17) Source(1, 17) + SourceIndex(0)
|
|
11>Emitted(1, 18) Source(1, 18) + SourceIndex(0)
|
|
12>Emitted(1, 19) Source(1, 19) + SourceIndex(0)
|
|
---
|
|
>>>for (var _i = 0; _i < a.length; _i++) {
|
|
1->
|
|
2 >^^^
|
|
3 > ^
|
|
4 > ^
|
|
5 > ^^^^^^^^^^
|
|
6 > ^^
|
|
7 > ^^^^^^^^^^^^^
|
|
8 > ^^
|
|
9 > ^^^^
|
|
10> ^
|
|
1->
|
|
>
|
|
2 >for
|
|
3 >
|
|
4 > (var v of
|
|
5 > a
|
|
6 >
|
|
7 > var v
|
|
8 >
|
|
9 > var v of a
|
|
10> )
|
|
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
|
|
2 >Emitted(2, 4) Source(2, 4) + SourceIndex(0)
|
|
3 >Emitted(2, 5) Source(2, 5) + SourceIndex(0)
|
|
4 >Emitted(2, 6) Source(2, 15) + SourceIndex(0)
|
|
5 >Emitted(2, 16) Source(2, 16) + SourceIndex(0)
|
|
6 >Emitted(2, 18) Source(2, 6) + SourceIndex(0)
|
|
7 >Emitted(2, 31) Source(2, 11) + SourceIndex(0)
|
|
8 >Emitted(2, 33) Source(2, 6) + SourceIndex(0)
|
|
9 >Emitted(2, 37) Source(2, 16) + SourceIndex(0)
|
|
10>Emitted(2, 38) Source(2, 17) + SourceIndex(0)
|
|
---
|
|
>>> var v = a[_i];
|
|
1 >^^^^
|
|
2 > ^^^^
|
|
3 > ^
|
|
4 > ^^^
|
|
5 > ^
|
|
6 > ^^^^
|
|
1 >
|
|
2 > var
|
|
3 > v
|
|
4 > of
|
|
5 > a
|
|
6 >
|
|
1 >Emitted(3, 5) Source(2, 6) + SourceIndex(0)
|
|
2 >Emitted(3, 9) Source(2, 10) + SourceIndex(0)
|
|
3 >Emitted(3, 10) Source(2, 11) + SourceIndex(0)
|
|
4 >Emitted(3, 13) Source(2, 15) + SourceIndex(0)
|
|
5 >Emitted(3, 14) Source(2, 16) + SourceIndex(0)
|
|
6 >Emitted(3, 18) Source(2, 11) + SourceIndex(0)
|
|
---
|
|
>>> v;
|
|
1 >^^^^
|
|
2 > ^
|
|
3 > ^
|
|
4 > ^->
|
|
1 > of a) {
|
|
>
|
|
2 > v
|
|
3 > ;
|
|
1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0)
|
|
2 >Emitted(4, 6) Source(3, 6) + SourceIndex(0)
|
|
3 >Emitted(4, 7) Source(3, 7) + SourceIndex(0)
|
|
---
|
|
>>> a;
|
|
1->^^^^
|
|
2 > ^
|
|
3 > ^
|
|
1->
|
|
>
|
|
2 > a
|
|
3 > ;
|
|
1->Emitted(5, 5) Source(4, 5) + SourceIndex(0)
|
|
2 >Emitted(5, 6) Source(4, 6) + SourceIndex(0)
|
|
3 >Emitted(5, 7) Source(4, 7) + SourceIndex(0)
|
|
---
|
|
>>>}
|
|
1 >^
|
|
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
|
1 >
|
|
>}
|
|
1 >Emitted(6, 2) Source(5, 2) + SourceIndex(0)
|
|
---
|
|
>>>//# sourceMappingURL=ES5For-of25.js.map |