File: bpSpan_functions.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 (372 lines) | stat: -rw-r--r-- 15,912 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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372

1  >var greetings = 0;

    ~~~~~~~~~~~~~~~~~~~                           => Pos: (0 to 18)  SpanInfo: {"start":0,"length":17}
    >var greetings = 0
    >:=> (line 1, col 0) to (line 1, col 17)
--------------------------------
2  >function greet(greeting: string): number {

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   => Pos: (19 to 61)  SpanInfo: {"start":66,"length":11}
    >greetings++
    >:=> (line 3, col 4) to (line 3, col 15)
--------------------------------
3  >    greetings++;

    ~~~~~~~~~~~~~~~~~                             => Pos: (62 to 78)  SpanInfo: {"start":66,"length":11}
    >greetings++
    >:=> (line 3, col 4) to (line 3, col 15)
--------------------------------
4  >    return greetings;

    ~~~~~~~~~~~~~~~~~~~~~~                        => Pos: (79 to 100)  SpanInfo: {"start":83,"length":16}
    >return greetings
    >:=> (line 4, col 4) to (line 4, col 20)
--------------------------------
5  >}

    ~~                                            => Pos: (101 to 102)  SpanInfo: {"start":101,"length":1}
    >}
    >:=> (line 5, col 0) to (line 5, col 1)
--------------------------------
6  >function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             => Pos: (103 to 135)  SpanInfo: {"start":196,"length":11}
    >greetings++
    >:=> (line 7, col 4) to (line 7, col 15)
6  >function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                     ~~~~~~~~~~~~~~~~~~~~=> Pos: (136 to 155)  SpanInfo: {"start":137,"length":6}
    >n = 10
    >:=> (line 6, col 34) to (line 6, col 40)
6  >function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (156 to 188)  SpanInfo: {"start":157,"length":23}
    >...restParams: string[]
    >:=> (line 6, col 54) to (line 6, col 77)
6  >function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                                                                          ~~~=> Pos: (189 to 191)  SpanInfo: {"start":196,"length":11}
    >greetings++
    >:=> (line 7, col 4) to (line 7, col 15)
--------------------------------
7  >    greetings++;

    ~~~~~~~~~~~~~~~~~                             => Pos: (192 to 208)  SpanInfo: {"start":196,"length":11}
    >greetings++
    >:=> (line 7, col 4) to (line 7, col 15)
--------------------------------
8  >    return greetings;

    ~~~~~~~~~~~~~~~~~~~~~~                        => Pos: (209 to 230)  SpanInfo: {"start":213,"length":16}
    >return greetings
    >:=> (line 8, col 4) to (line 8, col 20)
--------------------------------
9  >}

    ~~                                            => Pos: (231 to 232)  SpanInfo: {"start":231,"length":1}
    >}
    >:=> (line 9, col 0) to (line 9, col 1)
--------------------------------
10 >function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                => Pos: (233 to 262)  SpanInfo: {"start":315,"length":6}
    >return
    >:=> (line 12, col 4) to (line 12, col 10)
10 >function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

                                  ~~~~~~~~~~~~~~~~~~~~=> Pos: (263 to 282)  SpanInfo: {"start":264,"length":6}
    >n = 10
    >:=> (line 10, col 31) to (line 10, col 37)
10 >function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (283 to 308)  SpanInfo: {"start":284,"length":23}
    >...restParams: string[]
    >:=> (line 10, col 51) to (line 10, col 74)
--------------------------------
11 >{

    ~~                                            => Pos: (309 to 310)  SpanInfo: {"start":315,"length":6}
    >return
    >:=> (line 12, col 4) to (line 12, col 10)
--------------------------------
12 >    return;

    ~~~~~~~~~~~~                                  => Pos: (311 to 322)  SpanInfo: {"start":315,"length":6}
    >return
    >:=> (line 12, col 4) to (line 12, col 10)
--------------------------------
13 >}

    ~~                                            => Pos: (323 to 324)  SpanInfo: {"start":323,"length":1}
    >}
    >:=> (line 13, col 0) to (line 13, col 1)
--------------------------------
14 >module m {

    ~~~~~~~~~~~                                   => Pos: (325 to 335)  SpanInfo: {"start":325,"length":389}
    >module m {
    >    var greetings = 0;
    >    function greet(greeting: string): number {
    >        greetings++;
    >        return greetings;
    >    }
    >    function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {
    >        greetings++;
    >        return greetings;
    >    }
    >    function foo(greeting: string, n = 10, x?: string, ...restParams: string[])
    >    {
    >        return;
    >    }
    >}
    >:=> (line 14, col 0) to (line 28, col 1)
--------------------------------
15 >    var greetings = 0;

    ~~~~~~~~~~~~~~~~~~~~~~~                       => Pos: (336 to 358)  SpanInfo: {"start":340,"length":17}
    >var greetings = 0
    >:=> (line 15, col 4) to (line 15, col 21)
--------------------------------
16 >    function greet(greeting: string): number {

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (359 to 405)  SpanInfo: {"start":414,"length":11}
    >greetings++
    >:=> (line 17, col 8) to (line 17, col 19)
--------------------------------
17 >        greetings++;

    ~~~~~~~~~~~~~~~~~~~~~                         => Pos: (406 to 426)  SpanInfo: {"start":414,"length":11}
    >greetings++
    >:=> (line 17, col 8) to (line 17, col 19)
--------------------------------
18 >        return greetings;

    ~~~~~~~~~~~~~~~~~~~~~~~~~~                    => Pos: (427 to 452)  SpanInfo: {"start":435,"length":16}
    >return greetings
    >:=> (line 18, col 8) to (line 18, col 24)
--------------------------------
19 >    }

    ~~~~~~                                        => Pos: (453 to 458)  SpanInfo: {"start":457,"length":1}
    >}
    >:=> (line 19, col 4) to (line 19, col 5)
--------------------------------
20 >    function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         => Pos: (459 to 495)  SpanInfo: {"start":560,"length":11}
    >greetings++
    >:=> (line 21, col 8) to (line 21, col 19)
20 >    function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                         ~~~~~~~~~~~~~~~~~~~~=> Pos: (496 to 515)  SpanInfo: {"start":497,"length":6}
    >n = 10
    >:=> (line 20, col 38) to (line 20, col 44)
20 >    function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (516 to 548)  SpanInfo: {"start":517,"length":23}
    >...restParams: string[]
    >:=> (line 20, col 58) to (line 20, col 81)
20 >    function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                                                                              ~~~=> Pos: (549 to 551)  SpanInfo: {"start":560,"length":11}
    >greetings++
    >:=> (line 21, col 8) to (line 21, col 19)
--------------------------------
21 >        greetings++;

    ~~~~~~~~~~~~~~~~~~~~~                         => Pos: (552 to 572)  SpanInfo: {"start":560,"length":11}
    >greetings++
    >:=> (line 21, col 8) to (line 21, col 19)
--------------------------------
22 >        return greetings;

    ~~~~~~~~~~~~~~~~~~~~~~~~~~                    => Pos: (573 to 598)  SpanInfo: {"start":581,"length":16}
    >return greetings
    >:=> (line 22, col 8) to (line 22, col 24)
--------------------------------
23 >    }

    ~~~~~~                                        => Pos: (599 to 604)  SpanInfo: {"start":603,"length":1}
    >}
    >:=> (line 23, col 4) to (line 23, col 5)
--------------------------------
24 >    function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            => Pos: (605 to 638)  SpanInfo: {"start":699,"length":6}
    >return
    >:=> (line 26, col 8) to (line 26, col 14)
24 >    function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

                                      ~~~~~~~~~~~~~~~~~~~~=> Pos: (639 to 658)  SpanInfo: {"start":640,"length":6}
    >n = 10
    >:=> (line 24, col 35) to (line 24, col 41)
24 >    function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

                                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (659 to 684)  SpanInfo: {"start":660,"length":23}
    >...restParams: string[]
    >:=> (line 24, col 55) to (line 24, col 78)
--------------------------------
25 >    {

    ~~~~~~                                        => Pos: (685 to 690)  SpanInfo: {"start":699,"length":6}
    >return
    >:=> (line 26, col 8) to (line 26, col 14)
--------------------------------
26 >        return;

    ~~~~~~~~~~~~~~~~                              => Pos: (691 to 706)  SpanInfo: {"start":699,"length":6}
    >return
    >:=> (line 26, col 8) to (line 26, col 14)
--------------------------------
27 >    }

    ~~~~~~                                        => Pos: (707 to 712)  SpanInfo: {"start":711,"length":1}
    >}
    >:=> (line 27, col 4) to (line 27, col 5)
--------------------------------
28 >}

    ~~                                            => Pos: (713 to 714)  SpanInfo: {"start":713,"length":1}
    >}
    >:=> (line 28, col 0) to (line 28, col 1)
--------------------------------
29 >module m1 {

    ~~~~~~~~~~~~                                  => Pos: (715 to 726)  SpanInfo: {"start":715,"length":411}
    >module m1 {
    >    var greetings = 0;
    >    export function greet(greeting: string): number {
    >        greetings++;
    >        return greetings;
    >    }
    >    export function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {
    >        greetings++;
    >        return greetings;
    >    }
    >    export function foo(greeting: string, n = 10, x?: string, ...restParams: string[])
    >    {
    >        return;
    >    }
    >}
    >:=> (line 29, col 0) to (line 43, col 1)
--------------------------------
30 >    var greetings = 0;

    ~~~~~~~~~~~~~~~~~~~~~~~                       => Pos: (727 to 749)  SpanInfo: {"start":731,"length":17}
    >var greetings = 0
    >:=> (line 30, col 4) to (line 30, col 21)
--------------------------------
31 >    export function greet(greeting: string): number {

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (750 to 803)  SpanInfo: {"start":754,"length":102}
    >export function greet(greeting: string): number {
    >        greetings++;
    >        return greetings;
    >    }
    >:=> (line 31, col 4) to (line 34, col 5)
--------------------------------
32 >        greetings++;

    ~~~~~~~~~~~~~~~~~~~~~                         => Pos: (804 to 824)  SpanInfo: {"start":812,"length":11}
    >greetings++
    >:=> (line 32, col 8) to (line 32, col 19)
--------------------------------
33 >        return greetings;

    ~~~~~~~~~~~~~~~~~~~~~~~~~~                    => Pos: (825 to 850)  SpanInfo: {"start":833,"length":16}
    >return greetings
    >:=> (line 33, col 8) to (line 33, col 24)
--------------------------------
34 >    }

    ~~~~~~                                        => Pos: (851 to 856)  SpanInfo: {"start":855,"length":1}
    >}
    >:=> (line 34, col 4) to (line 34, col 5)
--------------------------------
35 >    export function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  => Pos: (857 to 900)  SpanInfo: {"start":861,"length":148}
    >export function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {
    >        greetings++;
    >        return greetings;
    >    }
    >:=> (line 35, col 4) to (line 38, col 5)
35 >    export function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                                ~~~~~~~~~~~~~~~~~~~~=> Pos: (901 to 920)  SpanInfo: {"start":902,"length":6}
    >n = 10
    >:=> (line 35, col 45) to (line 35, col 51)
35 >    export function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (921 to 953)  SpanInfo: {"start":922,"length":23}
    >...restParams: string[]
    >:=> (line 35, col 65) to (line 35, col 88)
35 >    export function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {

                                                                                                     ~~~=> Pos: (954 to 956)  SpanInfo: {"start":861,"length":148}
    >export function greet2(greeting: string, n = 10, x?: string, ...restParams: string[]): number {
    >        greetings++;
    >        return greetings;
    >    }
    >:=> (line 35, col 4) to (line 38, col 5)
--------------------------------
36 >        greetings++;

    ~~~~~~~~~~~~~~~~~~~~~                         => Pos: (957 to 977)  SpanInfo: {"start":965,"length":11}
    >greetings++
    >:=> (line 36, col 8) to (line 36, col 19)
--------------------------------
37 >        return greetings;

    ~~~~~~~~~~~~~~~~~~~~~~~~~~                    => Pos: (978 to 1003)  SpanInfo: {"start":986,"length":16}
    >return greetings
    >:=> (line 37, col 8) to (line 37, col 24)
--------------------------------
38 >    }

    ~~~~~~                                        => Pos: (1004 to 1009)  SpanInfo: {"start":1008,"length":1}
    >}
    >:=> (line 38, col 4) to (line 38, col 5)
--------------------------------
39 >    export function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     => Pos: (1010 to 1050)  SpanInfo: {"start":1014,"length":110}
    >export function foo(greeting: string, n = 10, x?: string, ...restParams: string[])
    >    {
    >        return;
    >    }
    >:=> (line 39, col 4) to (line 42, col 5)
39 >    export function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

                                             ~~~~~~~~~~~~~~~~~~~~=> Pos: (1051 to 1070)  SpanInfo: {"start":1052,"length":6}
    >n = 10
    >:=> (line 39, col 42) to (line 39, col 48)
39 >    export function foo(greeting: string, n = 10, x?: string, ...restParams: string[])

                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1071 to 1096)  SpanInfo: {"start":1072,"length":23}
    >...restParams: string[]
    >:=> (line 39, col 62) to (line 39, col 85)
--------------------------------
40 >    {

    ~~~~~~                                        => Pos: (1097 to 1102)  SpanInfo: {"start":1111,"length":6}
    >return
    >:=> (line 41, col 8) to (line 41, col 14)
--------------------------------
41 >        return;

    ~~~~~~~~~~~~~~~~                              => Pos: (1103 to 1118)  SpanInfo: {"start":1111,"length":6}
    >return
    >:=> (line 41, col 8) to (line 41, col 14)
--------------------------------
42 >    }

    ~~~~~~                                        => Pos: (1119 to 1124)  SpanInfo: {"start":1123,"length":1}
    >}
    >:=> (line 42, col 4) to (line 42, col 5)
--------------------------------
43 >}
    ~                                             => Pos: (1125 to 1125)  SpanInfo: {"start":1125,"length":1}
    >}
    >:=> (line 43, col 0) to (line 43, col 1)