File: bpSpan_arrayLiteralExpressions.baseline

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (142 lines) | stat: -rw-r--r-- 5,040 bytes parent folder | download | duplicates (7)
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142

1  >var a = [10, 20, 30];

    ~~~~~~~~~~~~~~~~~~~~~~                        => Pos: (0 to 21)  SpanInfo: {"start":0,"length":20}
    >var a = [10, 20, 30]
    >:=> (line 1, col 0) to (line 1, col 20)
--------------------------------
2  >function foo(a: number) {

    ~~~~~~~~~~~~~~~~~~~~~~~~~~                    => Pos: (22 to 47)  SpanInfo: {"start":52,"length":8}
    >return a
    >:=> (line 3, col 4) to (line 3, col 12)
--------------------------------
3  >    return a;

    ~~~~~~~~~~~~~~                                => Pos: (48 to 61)  SpanInfo: {"start":52,"length":8}
    >return a
    >:=> (line 3, col 4) to (line 3, col 12)
--------------------------------
4  >}

    ~~                                            => Pos: (62 to 63)  SpanInfo: {"start":62,"length":1}
    >}
    >:=> (line 4, col 0) to (line 4, col 1)
--------------------------------
5  >a = [foo(30), (function () {

    ~~~~~~~~~~~~~                                 => Pos: (64 to 76)  SpanInfo: {"start":64,"length":49}
    >a = [foo(30), (function () {
    >    return 30;
    >})()]
    >:=> (line 5, col 0) to (line 7, col 5)
5  >a = [foo(30), (function () {

                 ~~~~~~~~~~~~~~~~                 => Pos: (77 to 92)  SpanInfo: {"start":97,"length":9}
    >return 30
    >:=> (line 6, col 4) to (line 6, col 13)
--------------------------------
6  >    return 30;

    ~~~~~~~~~~~~~~~                               => Pos: (93 to 107)  SpanInfo: {"start":97,"length":9}
    >return 30
    >:=> (line 6, col 4) to (line 6, col 13)
--------------------------------
7  >})()];

    ~~~~                                          => Pos: (108 to 111)  SpanInfo: {"start":108,"length":1}
    >}
    >:=> (line 7, col 0) to (line 7, col 1)
7  >})()];

        ~~~                                       => Pos: (112 to 114)  SpanInfo: {"start":64,"length":49}
    >a = [foo(30), (function () {
    >    return 30;
    >})()]
    >:=> (line 5, col 0) to (line 7, col 5)
--------------------------------
8  >function bar() {

    ~~~~~~~~~~~~~~~~~                             => Pos: (115 to 131)  SpanInfo: {"start":136,"length":8}
    >return a
    >:=> (line 9, col 4) to (line 9, col 12)
--------------------------------
9  >    return a;

    ~~~~~~~~~~~~~~                                => Pos: (132 to 145)  SpanInfo: {"start":136,"length":8}
    >return a
    >:=> (line 9, col 4) to (line 9, col 12)
--------------------------------
10 >}

    ~~                                            => Pos: (146 to 147)  SpanInfo: {"start":146,"length":1}
    >}
    >:=> (line 10, col 0) to (line 10, col 1)
--------------------------------
11 >var x = bar()[0];

    ~~~~~~~~~~~~~~~~~~                            => Pos: (148 to 165)  SpanInfo: {"start":148,"length":16}
    >var x = bar()[0]
    >:=> (line 11, col 0) to (line 11, col 16)
--------------------------------
12 >x = (function () {

    ~~~                                           => Pos: (166 to 168)  SpanInfo: {"start":166,"length":40}
    >x = (function () {
    >    return a;
    >})()[x]
    >:=> (line 12, col 0) to (line 14, col 7)
12 >x = (function () {

       ~~~~~~~~~~~~~~~~                           => Pos: (169 to 184)  SpanInfo: {"start":189,"length":8}
    >return a
    >:=> (line 13, col 4) to (line 13, col 12)
--------------------------------
13 >    return a;

    ~~~~~~~~~~~~~~                                => Pos: (185 to 198)  SpanInfo: {"start":189,"length":8}
    >return a
    >:=> (line 13, col 4) to (line 13, col 12)
--------------------------------
14 >})()[x];

    ~~~~                                          => Pos: (199 to 202)  SpanInfo: {"start":199,"length":1}
    >}
    >:=> (line 14, col 0) to (line 14, col 1)
14 >})()[x];

        ~~~~~                                     => Pos: (203 to 207)  SpanInfo: {"start":166,"length":40}
    >x = (function () {
    >    return a;
    >})()[x]
    >:=> (line 12, col 0) to (line 14, col 7)
--------------------------------
15 >a[(function () {

    ~~                                            => Pos: (208 to 209)  SpanInfo: {"start":208,"length":36}
    >a[(function () {
    >    return x;
    >})()]
    >:=> (line 15, col 0) to (line 17, col 5)
15 >a[(function () {

      ~~~~~~~~~~~~~~~                             => Pos: (210 to 224)  SpanInfo: {"start":229,"length":8}
    >return x
    >:=> (line 16, col 4) to (line 16, col 12)
--------------------------------
16 >    return x;

    ~~~~~~~~~~~~~~                                => Pos: (225 to 238)  SpanInfo: {"start":229,"length":8}
    >return x
    >:=> (line 16, col 4) to (line 16, col 12)
--------------------------------
17 >})()];
    ~~~~                                          => Pos: (239 to 242)  SpanInfo: {"start":239,"length":1}
    >}
    >:=> (line 17, col 0) to (line 17, col 1)
17 >})()];
        ~~                                        => Pos: (243 to 244)  SpanInfo: {"start":208,"length":36}
    >a[(function () {
    >    return x;
    >})()]
    >:=> (line 15, col 0) to (line 17, col 5)