File: bpSpan_switch.baseline

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (244 lines) | stat: -rw-r--r-- 8,803 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244

1  >var x = 10;

    ~~~~~~~~~~~~                                  => Pos: (0 to 11)  SpanInfo: {"start":0,"length":10}
    >var x = 10
    >:=> (line 1, col 0) to (line 1, col 10)
--------------------------------
2  >switch (x) {

    ~~~~~~~~~~~~~                                 => Pos: (12 to 24)  SpanInfo: {"start":12,"length":10}
    >switch (x)
    >:=> (line 2, col 0) to (line 2, col 10)
--------------------------------
3  >    case 5:

    ~~~~~~~~~~~~                                  => Pos: (25 to 36)  SpanInfo: {"start":45,"length":3}
    >x++
    >:=> (line 4, col 8) to (line 4, col 11)
--------------------------------
4  >        x++;

    ~~~~~~~~~~~~~                                 => Pos: (37 to 49)  SpanInfo: {"start":45,"length":3}
    >x++
    >:=> (line 4, col 8) to (line 4, col 11)
--------------------------------
5  >        break;

    ~~~~~~~~~~~~~~~                               => Pos: (50 to 64)  SpanInfo: {"start":58,"length":5}
    >break
    >:=> (line 5, col 8) to (line 5, col 13)
--------------------------------
6  >    case 10:

    ~~~~~~~~~~~~~                                 => Pos: (65 to 77)  SpanInfo: {"start":100,"length":3}
    >x--
    >:=> (line 8, col 12) to (line 8, col 15)
--------------------------------
7  >        {

    ~~~~~~~~~~                                    => Pos: (78 to 87)  SpanInfo: {"start":100,"length":3}
    >x--
    >:=> (line 8, col 12) to (line 8, col 15)
--------------------------------
8  >            x--;

    ~~~~~~~~~~~~~~~~~                             => Pos: (88 to 104)  SpanInfo: {"start":100,"length":3}
    >x--
    >:=> (line 8, col 12) to (line 8, col 15)
--------------------------------
9  >            break;

    ~~~~~~~~~~~~~~~~~~~                           => Pos: (105 to 123)  SpanInfo: {"start":117,"length":5}
    >break
    >:=> (line 9, col 12) to (line 9, col 17)
--------------------------------
10 >        }

    ~~~~~~~~~~                                    => Pos: (124 to 133)  SpanInfo: {"start":117,"length":5}
    >break
    >:=> (line 9, col 12) to (line 9, col 17)
--------------------------------
11 >    default:

    ~~~~~~~~~~~~~                                 => Pos: (134 to 146)  SpanInfo: {"start":155,"length":9}
    >x = x *10
    >:=> (line 12, col 8) to (line 12, col 17)
--------------------------------
12 >        x = x *10;

    ~~~~~~~~~~~~~~~~~~~                           => Pos: (147 to 165)  SpanInfo: {"start":155,"length":9}
    >x = x *10
    >:=> (line 12, col 8) to (line 12, col 17)
--------------------------------
13 >}

    ~~                                            => Pos: (166 to 167)  SpanInfo: {"start":155,"length":9}
    >x = x *10
    >:=> (line 12, col 8) to (line 12, col 17)
--------------------------------
14 >switch (x)

    ~~~~~~~~~~~                                   => Pos: (168 to 178)  SpanInfo: {"start":168,"length":10}
    >switch (x)
    >:=> (line 14, col 0) to (line 14, col 10)
--------------------------------
15 >{

    ~~                                            => Pos: (179 to 180)  SpanInfo: {"start":201,"length":3}
    >x++
    >:=> (line 17, col 8) to (line 17, col 11)
--------------------------------
16 >    case 5:

    ~~~~~~~~~~~~                                  => Pos: (181 to 192)  SpanInfo: {"start":201,"length":3}
    >x++
    >:=> (line 17, col 8) to (line 17, col 11)
--------------------------------
17 >        x++;

    ~~~~~~~~~~~~~                                 => Pos: (193 to 205)  SpanInfo: {"start":201,"length":3}
    >x++
    >:=> (line 17, col 8) to (line 17, col 11)
--------------------------------
18 >        break;

    ~~~~~~~~~~~~~~~                               => Pos: (206 to 220)  SpanInfo: {"start":214,"length":5}
    >break
    >:=> (line 18, col 8) to (line 18, col 13)
--------------------------------
19 >    case 10:

    ~~~~~~~~~~~~~                                 => Pos: (221 to 233)  SpanInfo: {"start":256,"length":3}
    >x--
    >:=> (line 21, col 12) to (line 21, col 15)
--------------------------------
20 >        {

    ~~~~~~~~~~                                    => Pos: (234 to 243)  SpanInfo: {"start":256,"length":3}
    >x--
    >:=> (line 21, col 12) to (line 21, col 15)
--------------------------------
21 >            x--;

    ~~~~~~~~~~~~~~~~~                             => Pos: (244 to 260)  SpanInfo: {"start":256,"length":3}
    >x--
    >:=> (line 21, col 12) to (line 21, col 15)
--------------------------------
22 >            break;

    ~~~~~~~~~~~~~~~~~~~                           => Pos: (261 to 279)  SpanInfo: {"start":273,"length":5}
    >break
    >:=> (line 22, col 12) to (line 22, col 17)
--------------------------------
23 >        }

    ~~~~~~~~~~                                    => Pos: (280 to 289)  SpanInfo: {"start":273,"length":5}
    >break
    >:=> (line 22, col 12) to (line 22, col 17)
--------------------------------
24 >    default:

    ~~~~~~~~~~~~~                                 => Pos: (290 to 302)  SpanInfo: {"start":325,"length":10}
    >x = x * 10
    >:=> (line 26, col 12) to (line 26, col 22)
--------------------------------
25 >        {

    ~~~~~~~~~~                                    => Pos: (303 to 312)  SpanInfo: {"start":325,"length":10}
    >x = x * 10
    >:=> (line 26, col 12) to (line 26, col 22)
--------------------------------
26 >            x = x * 10;

    ~~~~~~~~~~~~~~~~~~~~~~~~                      => Pos: (313 to 336)  SpanInfo: {"start":325,"length":10}
    >x = x * 10
    >:=> (line 26, col 12) to (line 26, col 22)
--------------------------------
27 >        }

    ~~~~~~~~~~                                    => Pos: (337 to 346)  SpanInfo: {"start":325,"length":10}
    >x = x * 10
    >:=> (line 26, col 12) to (line 26, col 22)
--------------------------------
28 >}

    ~~                                            => Pos: (347 to 348)  SpanInfo: {"start":325,"length":10}
    >x = x * 10
    >:=> (line 26, col 12) to (line 26, col 22)
--------------------------------
29 >switch ((function foo() {

    ~~~~~~~~                                      => Pos: (349 to 356)  SpanInfo: {"start":349,"length":50}
    >switch ((function foo() {
    >    return x * 30;
    >})())
    >:=> (line 29, col 0) to (line 31, col 5)
29 >switch ((function foo() {

            ~~~~~~~~~~~~~~~~~~                    => Pos: (357 to 374)  SpanInfo: {"start":379,"length":13}
    >return x * 30
    >:=> (line 30, col 4) to (line 30, col 17)
--------------------------------
30 >    return x * 30;

    ~~~~~~~~~~~~~~~~~~~                           => Pos: (375 to 393)  SpanInfo: {"start":379,"length":13}
    >return x * 30
    >:=> (line 30, col 4) to (line 30, col 17)
--------------------------------
31 >})()) {

    ~~~~                                          => Pos: (394 to 397)  SpanInfo: {"start":394,"length":1}
    >}
    >:=> (line 31, col 0) to (line 31, col 1)
31 >})()) {

        ~                                         => Pos: (398 to 398)  SpanInfo: {"start":349,"length":50}
    >switch ((function foo() {
    >    return x * 30;
    >})())
    >:=> (line 29, col 0) to (line 31, col 5)
31 >})()) {

         ~~~                                      => Pos: (399 to 401)  SpanInfo: {"start":466,"length":3}
    >x++
    >:=> (line 35, col 8) to (line 35, col 11)
--------------------------------
32 >    case (function bar() {

    ~~~~~~~~                                      => Pos: (402 to 409)  SpanInfo: {"start":466,"length":3}
    >x++
    >:=> (line 35, col 8) to (line 35, col 11)
32 >    case (function bar() {

            ~~~~~~~~~~~~~~~~~~~                   => Pos: (410 to 428)  SpanInfo: {"start":437,"length":9}
    >return 30
    >:=> (line 33, col 8) to (line 33, col 17)
--------------------------------
33 >        return 30;

    ~~~~~~~~~~~~~~~~~~~                           => Pos: (429 to 447)  SpanInfo: {"start":437,"length":9}
    >return 30
    >:=> (line 33, col 8) to (line 33, col 17)
--------------------------------
34 >    })():

    ~~~~~~~~                                      => Pos: (448 to 455)  SpanInfo: {"start":452,"length":1}
    >}
    >:=> (line 34, col 4) to (line 34, col 5)
34 >    })():

            ~~                                    => Pos: (456 to 457)  SpanInfo: {"start":466,"length":3}
    >x++
    >:=> (line 35, col 8) to (line 35, col 11)
--------------------------------
35 >        x++;

    ~~~~~~~~~~~~~                                 => Pos: (458 to 470)  SpanInfo: {"start":466,"length":3}
    >x++
    >:=> (line 35, col 8) to (line 35, col 11)
--------------------------------
36 >}
    ~                                             => Pos: (471 to 471)  SpanInfo: {"start":466,"length":3}
    >x++
    >:=> (line 35, col 8) to (line 35, col 11)