File: bpSpan_ifElse.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 (159 lines) | stat: -rw-r--r-- 5,564 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

1  >var i = 10;

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

    ~~~~~~~~~~~~~~~                               => Pos: (12 to 26)  SpanInfo: {"start":12,"length":12}
    >if (i == 10)
    >:=> (line 2, col 0) to (line 2, col 12)
--------------------------------
3  >    i++;

    ~~~~~~~~~                                     => Pos: (27 to 35)  SpanInfo: {"start":31,"length":3}
    >i++
    >:=> (line 3, col 4) to (line 3, col 7)
--------------------------------
4  >} else

    ~                                             => Pos: (36 to 36)  SpanInfo: {"start":31,"length":3}
    >i++
    >:=> (line 3, col 4) to (line 3, col 7)
4  >} else

     ~~~~~~                                       => Pos: (37 to 42)  SpanInfo: undefined
--------------------------------
5  >{

    ~~                                            => Pos: (43 to 44)  SpanInfo: undefined
--------------------------------
6  >}

    ~~                                            => Pos: (45 to 46)  SpanInfo: undefined
--------------------------------
7  >if (i == 10)

    ~~~~~~~~~~~~~                                 => Pos: (47 to 59)  SpanInfo: {"start":47,"length":12}
    >if (i == 10)
    >:=> (line 7, col 0) to (line 7, col 12)
--------------------------------
8  >{

    ~~                                            => Pos: (60 to 61)  SpanInfo: {"start":66,"length":3}
    >i++
    >:=> (line 9, col 4) to (line 9, col 7)
--------------------------------
9  >    i++;

    ~~~~~~~~~                                     => Pos: (62 to 70)  SpanInfo: {"start":66,"length":3}
    >i++
    >:=> (line 9, col 4) to (line 9, col 7)
--------------------------------
10 >}

    ~~                                            => Pos: (71 to 72)  SpanInfo: {"start":66,"length":3}
    >i++
    >:=> (line 9, col 4) to (line 9, col 7)
--------------------------------
11 >else if (i == 20) {

    ~~~~~~~~~~~~~~~~~~~~                          => Pos: (73 to 92)  SpanInfo: {"start":78,"length":12}
    >if (i == 20)
    >:=> (line 11, col 5) to (line 11, col 17)
--------------------------------
12 >    i--;

    ~~~~~~~~~                                     => Pos: (93 to 101)  SpanInfo: {"start":97,"length":3}
    >i--
    >:=> (line 12, col 4) to (line 12, col 7)
--------------------------------
13 >} else if (i == 30) {

    ~                                             => Pos: (102 to 102)  SpanInfo: {"start":97,"length":3}
    >i--
    >:=> (line 12, col 4) to (line 12, col 7)
13 >} else if (i == 30) {

     ~~~~~~~~~~~~~~~~~~~~~                        => Pos: (103 to 123)  SpanInfo: {"start":109,"length":12}
    >if (i == 30)
    >:=> (line 13, col 7) to (line 13, col 19)
--------------------------------
14 >    i += 70;

    ~~~~~~~~~~~~~                                 => Pos: (124 to 136)  SpanInfo: {"start":128,"length":7}
    >i += 70
    >:=> (line 14, col 4) to (line 14, col 11)
--------------------------------
15 >} else {

    ~                                             => Pos: (137 to 137)  SpanInfo: {"start":128,"length":7}
    >i += 70
    >:=> (line 14, col 4) to (line 14, col 11)
15 >} else {

     ~~~~~~~~                                     => Pos: (138 to 145)  SpanInfo: {"start":150,"length":3}
    >i--
    >:=> (line 16, col 4) to (line 16, col 7)
--------------------------------
16 >    i--;

    ~~~~~~~~~                                     => Pos: (146 to 154)  SpanInfo: {"start":150,"length":3}
    >i--
    >:=> (line 16, col 4) to (line 16, col 7)
--------------------------------
17 >}

    ~~                                            => Pos: (155 to 156)  SpanInfo: {"start":150,"length":3}
    >i--
    >:=> (line 16, col 4) to (line 16, col 7)
--------------------------------
18 >if (function foo() {

    ~~~~                                          => Pos: (157 to 160)  SpanInfo: {"start":157,"length":41}
    >if (function foo() {
    >    return 30;
    >} ())
    >:=> (line 18, col 0) to (line 20, col 5)
18 >if (function foo() {

        ~~~~~~~~~~~~~~~~~                         => Pos: (161 to 177)  SpanInfo: {"start":182,"length":9}
    >return 30
    >:=> (line 19, col 4) to (line 19, col 13)
--------------------------------
19 >    return 30;

    ~~~~~~~~~~~~~~~                               => Pos: (178 to 192)  SpanInfo: {"start":182,"length":9}
    >return 30
    >:=> (line 19, col 4) to (line 19, col 13)
--------------------------------
20 >} ()) {

    ~~~~                                          => Pos: (193 to 196)  SpanInfo: {"start":193,"length":1}
    >}
    >:=> (line 20, col 0) to (line 20, col 1)
20 >} ()) {

        ~                                         => Pos: (197 to 197)  SpanInfo: {"start":157,"length":41}
    >if (function foo() {
    >    return 30;
    >} ())
    >:=> (line 18, col 0) to (line 20, col 5)
20 >} ()) {

         ~~~                                      => Pos: (198 to 200)  SpanInfo: {"start":205,"length":3}
    >i++
    >:=> (line 21, col 4) to (line 21, col 7)
--------------------------------
21 >    i++;

    ~~~~~~~~~                                     => Pos: (201 to 209)  SpanInfo: {"start":205,"length":3}
    >i++
    >:=> (line 21, col 4) to (line 21, col 7)
--------------------------------
22 >}
    ~                                             => Pos: (210 to 210)  SpanInfo: {"start":205,"length":3}
    >i++
    >:=> (line 21, col 4) to (line 21, col 7)