File: bpSpanDestructuringParameterArrayBindingPattern.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 (196 lines) | stat: -rw-r--r-- 8,090 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

1  >declare var console: {

    ~~~~~~~~~~~~~~~~~~~~~~~                       => Pos: (0 to 22)  SpanInfo: undefined
--------------------------------
2  >    log(msg: any): void;

    ~~~~~~~~~~~~~~~~~~~~~~~~~                     => Pos: (23 to 47)  SpanInfo: undefined
--------------------------------
3  >}

    ~~                                            => Pos: (48 to 49)  SpanInfo: undefined
--------------------------------
4  >type Robot = [number, string, string];

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       => Pos: (50 to 88)  SpanInfo: undefined
--------------------------------
5  >var robotA: Robot = [1, "mower", "mowing"];

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  => Pos: (89 to 132)  SpanInfo: {"start":89,"length":42}
    >var robotA: Robot = [1, "mower", "mowing"]
    >:=> (line 5, col 0) to (line 5, col 42)
--------------------------------
6  >function foo1([, nameA]: Robot) {

    ~~~~~~~~~~~~~~                                => Pos: (133 to 146)  SpanInfo: {"start":171,"length":18}
    >console.log(nameA)
    >:=> (line 7, col 4) to (line 7, col 22)
6  >function foo1([, nameA]: Robot) {

                  ~~~~~~~~~~~~~~~~~               => Pos: (147 to 163)  SpanInfo: {"start":150,"length":5}
    >nameA
    >:=> (line 6, col 17) to (line 6, col 22)
6  >function foo1([, nameA]: Robot) {

                                   ~~~            => Pos: (164 to 166)  SpanInfo: {"start":171,"length":18}
    >console.log(nameA)
    >:=> (line 7, col 4) to (line 7, col 22)
--------------------------------
7  >    console.log(nameA);

    ~~~~~~~~~~~~~~~~~~~~~~~~                      => Pos: (167 to 190)  SpanInfo: {"start":171,"length":18}
    >console.log(nameA)
    >:=> (line 7, col 4) to (line 7, col 22)
--------------------------------
8  >}

    ~~                                            => Pos: (191 to 192)  SpanInfo: {"start":191,"length":1}
    >}
    >:=> (line 8, col 0) to (line 8, col 1)
--------------------------------
9  >function foo2([numberB]: Robot) {

    ~~~~~~~~~~~~~~                                => Pos: (193 to 206)  SpanInfo: {"start":231,"length":20}
    >console.log(numberB)
    >:=> (line 10, col 4) to (line 10, col 24)
9  >function foo2([numberB]: Robot) {

                  ~~~~~~~~~~~~~~~~~               => Pos: (207 to 223)  SpanInfo: {"start":208,"length":7}
    >numberB
    >:=> (line 9, col 15) to (line 9, col 22)
9  >function foo2([numberB]: Robot) {

                                   ~~~            => Pos: (224 to 226)  SpanInfo: {"start":231,"length":20}
    >console.log(numberB)
    >:=> (line 10, col 4) to (line 10, col 24)
--------------------------------
10 >    console.log(numberB);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~                    => Pos: (227 to 252)  SpanInfo: {"start":231,"length":20}
    >console.log(numberB)
    >:=> (line 10, col 4) to (line 10, col 24)
--------------------------------
11 >}

    ~~                                            => Pos: (253 to 254)  SpanInfo: {"start":253,"length":1}
    >}
    >:=> (line 11, col 0) to (line 11, col 1)
--------------------------------
12 >function foo3([numberA2, nameA2, skillA2]: Robot) {

    ~~~~~~~~~~~~~~                                => Pos: (255 to 268)  SpanInfo: {"start":311,"length":19}
    >console.log(nameA2)
    >:=> (line 13, col 4) to (line 13, col 23)
12 >function foo3([numberA2, nameA2, skillA2]: Robot) {

                  ~~~~~~~~~~                      => Pos: (269 to 278)  SpanInfo: {"start":270,"length":8}
    >numberA2
    >:=> (line 12, col 15) to (line 12, col 23)
12 >function foo3([numberA2, nameA2, skillA2]: Robot) {

                            ~~~~~~~~              => Pos: (279 to 286)  SpanInfo: {"start":280,"length":6}
    >nameA2
    >:=> (line 12, col 25) to (line 12, col 31)
12 >function foo3([numberA2, nameA2, skillA2]: Robot) {

                                    ~~~~~~~~~~~~~~~~~=> Pos: (287 to 303)  SpanInfo: {"start":288,"length":7}
    >skillA2
    >:=> (line 12, col 33) to (line 12, col 40)
12 >function foo3([numberA2, nameA2, skillA2]: Robot) {

                                                     ~~~=> Pos: (304 to 306)  SpanInfo: {"start":311,"length":19}
    >console.log(nameA2)
    >:=> (line 13, col 4) to (line 13, col 23)
--------------------------------
13 >    console.log(nameA2);

    ~~~~~~~~~~~~~~~~~~~~~~~~~                     => Pos: (307 to 331)  SpanInfo: {"start":311,"length":19}
    >console.log(nameA2)
    >:=> (line 13, col 4) to (line 13, col 23)
--------------------------------
14 >}

    ~~                                            => Pos: (332 to 333)  SpanInfo: {"start":332,"length":1}
    >}
    >:=> (line 14, col 0) to (line 14, col 1)
--------------------------------
15 >function foo4([numberA3, ...robotAInfo]: Robot) {

    ~~~~~~~~~~~~~~                                => Pos: (334 to 347)  SpanInfo: {"start":388,"length":23}
    >console.log(robotAInfo)
    >:=> (line 16, col 4) to (line 16, col 27)
15 >function foo4([numberA3, ...robotAInfo]: Robot) {

                  ~~~~~~~~~~                      => Pos: (348 to 357)  SpanInfo: {"start":349,"length":8}
    >numberA3
    >:=> (line 15, col 15) to (line 15, col 23)
15 >function foo4([numberA3, ...robotAInfo]: Robot) {

                            ~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (358 to 380)  SpanInfo: {"start":359,"length":13}
    >...robotAInfo
    >:=> (line 15, col 25) to (line 15, col 38)
15 >function foo4([numberA3, ...robotAInfo]: Robot) {

                                                   ~~~=> Pos: (381 to 383)  SpanInfo: {"start":388,"length":23}
    >console.log(robotAInfo)
    >:=> (line 16, col 4) to (line 16, col 27)
--------------------------------
16 >    console.log(robotAInfo);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 => Pos: (384 to 412)  SpanInfo: {"start":388,"length":23}
    >console.log(robotAInfo)
    >:=> (line 16, col 4) to (line 16, col 27)
--------------------------------
17 >}

    ~~                                            => Pos: (413 to 414)  SpanInfo: {"start":413,"length":1}
    >}
    >:=> (line 17, col 0) to (line 17, col 1)
--------------------------------
18 >foo1(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (415 to 428)  SpanInfo: {"start":415,"length":12}
    >foo1(robotA)
    >:=> (line 18, col 0) to (line 18, col 12)
--------------------------------
19 >foo1([2, "trimmer", "trimming"]);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            => Pos: (429 to 462)  SpanInfo: {"start":429,"length":32}
    >foo1([2, "trimmer", "trimming"])
    >:=> (line 19, col 0) to (line 19, col 32)
--------------------------------
20 >foo2(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (463 to 476)  SpanInfo: {"start":463,"length":12}
    >foo2(robotA)
    >:=> (line 20, col 0) to (line 20, col 12)
--------------------------------
21 >foo2([2, "trimmer", "trimming"]);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            => Pos: (477 to 510)  SpanInfo: {"start":477,"length":32}
    >foo2([2, "trimmer", "trimming"])
    >:=> (line 21, col 0) to (line 21, col 32)
--------------------------------
22 >foo3(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (511 to 524)  SpanInfo: {"start":511,"length":12}
    >foo3(robotA)
    >:=> (line 22, col 0) to (line 22, col 12)
--------------------------------
23 >foo3([2, "trimmer", "trimming"]);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            => Pos: (525 to 558)  SpanInfo: {"start":525,"length":32}
    >foo3([2, "trimmer", "trimming"])
    >:=> (line 23, col 0) to (line 23, col 32)
--------------------------------
24 >foo4(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (559 to 572)  SpanInfo: {"start":559,"length":12}
    >foo4(robotA)
    >:=> (line 24, col 0) to (line 24, col 12)
--------------------------------
25 >foo4([2, "trimmer", "trimming"]);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             => Pos: (573 to 605)  SpanInfo: {"start":573,"length":32}
    >foo4([2, "trimmer", "trimming"])
    >:=> (line 25, col 0) to (line 25, col 32)