| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":921,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":29,"column":35,"index":921}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (3:21)", |
| 6 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (5:22)", |
| 7 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (7:28)", |
| 8 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (9:31)", |
| 9 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (11:28)", |
| 10 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (13:21)", |
| 11 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (15:32)", |
| 12 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (17:30)", |
| 13 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (19:27)", |
| 14 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (21:28)", |
| 15 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (23:22)", |
| 16 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (25:26)", |
| 17 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (27:25)", |
| 18 |
"SyntaxError: Can not use 'await' as identifier inside a static block. (29:23)" |
| 19 |
], |
| 20 |
"program": { |
| 21 |
"type": "Program", |
| 22 |
"start":0,"end":921,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":29,"column":35,"index":921}}, |
| 23 |
"sourceType": "script", |
| 24 |
"interpreter": null, |
| 25 |
"body": [ |
| 26 |
{ |
| 27 |
"type": "VariableDeclaration", |
| 28 |
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}}, |
| 29 |
"declarations": [ |
| 30 |
{ |
| 31 |
"type": "VariableDeclarator", |
| 32 |
"start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}}, |
| 33 |
"id": { |
| 34 |
"type": "Identifier", |
| 35 |
"start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"C"}, |
| 36 |
"name": "C" |
| 37 |
}, |
| 38 |
"init": null |
| 39 |
} |
| 40 |
], |
| 41 |
"kind": "var", |
| 42 |
"trailingComments": [ |
| 43 |
{ |
| 44 |
"type": "CommentLine", |
| 45 |
"value": " This file enumerates all the disallowed cases, for allowed cases, see await-binding-*", |
| 46 |
"start":7,"end":95,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":88,"index":95}} |
| 47 |
} |
| 48 |
] |
| 49 |
}, |
| 50 |
{ |
| 51 |
"type": "ExpressionStatement", |
| 52 |
"start":96,"end":127,"loc":{"start":{"line":3,"column":0,"index":96},"end":{"line":3,"column":31,"index":127}}, |
| 53 |
"expression": { |
| 54 |
"type": "AssignmentExpression", |
| 55 |
"start":96,"end":126,"loc":{"start":{"line":3,"column":0,"index":96},"end":{"line":3,"column":30,"index":126}}, |
| 56 |
"operator": "=", |
| 57 |
"left": { |
| 58 |
"type": "Identifier", |
| 59 |
"start":96,"end":97,"loc":{"start":{"line":3,"column":0,"index":96},"end":{"line":3,"column":1,"index":97},"identifierName":"C"}, |
| 60 |
"name": "C" |
| 61 |
}, |
| 62 |
"right": { |
| 63 |
"type": "ClassExpression", |
| 64 |
"start":100,"end":126,"loc":{"start":{"line":3,"column":4,"index":100},"end":{"line":3,"column":30,"index":126}}, |
| 65 |
"id": null, |
| 66 |
"superClass": null, |
| 67 |
"body": { |
| 68 |
"type": "ClassBody", |
| 69 |
"start":106,"end":126,"loc":{"start":{"line":3,"column":10,"index":106},"end":{"line":3,"column":30,"index":126}}, |
| 70 |
"body": [ |
| 71 |
{ |
| 72 |
"type": "StaticBlock", |
| 73 |
"start":108,"end":124,"loc":{"start":{"line":3,"column":12,"index":108},"end":{"line":3,"column":28,"index":124}}, |
| 74 |
"body": [ |
| 75 |
{ |
| 76 |
"type": "ExpressionStatement", |
| 77 |
"start":117,"end":122,"loc":{"start":{"line":3,"column":21,"index":117},"end":{"line":3,"column":26,"index":122}}, |
| 78 |
"expression": { |
| 79 |
"type": "Identifier", |
| 80 |
"start":117,"end":122,"loc":{"start":{"line":3,"column":21,"index":117},"end":{"line":3,"column":26,"index":122},"identifierName":"await"}, |
| 81 |
"name": "await" |
| 82 |
} |
| 83 |
} |
| 84 |
] |
| 85 |
} |
| 86 |
] |
| 87 |
} |
| 88 |
} |
| 89 |
}, |
| 90 |
"leadingComments": [ |
| 91 |
{ |
| 92 |
"type": "CommentLine", |
| 93 |
"value": " This file enumerates all the disallowed cases, for allowed cases, see await-binding-*", |
| 94 |
"start":7,"end":95,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":88,"index":95}} |
| 95 |
} |
| 96 |
] |
| 97 |
}, |
| 98 |
{ |
| 99 |
"type": "ExpressionStatement", |
| 100 |
"start":129,"end":162,"loc":{"start":{"line":5,"column":0,"index":129},"end":{"line":5,"column":33,"index":162}}, |
| 101 |
"expression": { |
| 102 |
"type": "AssignmentExpression", |
| 103 |
"start":129,"end":161,"loc":{"start":{"line":5,"column":0,"index":129},"end":{"line":5,"column":32,"index":161}}, |
| 104 |
"operator": "=", |
| 105 |
"left": { |
| 106 |
"type": "Identifier", |
| 107 |
"start":129,"end":130,"loc":{"start":{"line":5,"column":0,"index":129},"end":{"line":5,"column":1,"index":130},"identifierName":"C"}, |
| 108 |
"name": "C" |
| 109 |
}, |
| 110 |
"right": { |
| 111 |
"type": "ClassExpression", |
| 112 |
"start":133,"end":161,"loc":{"start":{"line":5,"column":4,"index":133},"end":{"line":5,"column":32,"index":161}}, |
| 113 |
"id": null, |
| 114 |
"superClass": null, |
| 115 |
"body": { |
| 116 |
"type": "ClassBody", |
| 117 |
"start":139,"end":161,"loc":{"start":{"line":5,"column":10,"index":139},"end":{"line":5,"column":32,"index":161}}, |
| 118 |
"body": [ |
| 119 |
{ |
| 120 |
"type": "StaticBlock", |
| 121 |
"start":141,"end":159,"loc":{"start":{"line":5,"column":12,"index":141},"end":{"line":5,"column":30,"index":159}}, |
| 122 |
"body": [ |
| 123 |
{ |
| 124 |
"type": "ExpressionStatement", |
| 125 |
"start":150,"end":157,"loc":{"start":{"line":5,"column":21,"index":150},"end":{"line":5,"column":28,"index":157}}, |
| 126 |
"expression": { |
| 127 |
"type": "Identifier", |
| 128 |
"start":151,"end":156,"loc":{"start":{"line":5,"column":22,"index":151},"end":{"line":5,"column":27,"index":156},"identifierName":"await"}, |
| 129 |
"name": "await", |
| 130 |
"extra": { |
| 131 |
"parenthesized": true, |
| 132 |
"parenStart": 150 |
| 133 |
} |
| 134 |
} |
| 135 |
} |
| 136 |
] |
| 137 |
} |
| 138 |
] |
| 139 |
} |
| 140 |
} |
| 141 |
} |
| 142 |
}, |
| 143 |
{ |
| 144 |
"type": "ExpressionStatement", |
| 145 |
"start":164,"end":203,"loc":{"start":{"line":7,"column":0,"index":164},"end":{"line":7,"column":39,"index":203}}, |
| 146 |
"expression": { |
| 147 |
"type": "AssignmentExpression", |
| 148 |
"start":164,"end":202,"loc":{"start":{"line":7,"column":0,"index":164},"end":{"line":7,"column":38,"index":202}}, |
| 149 |
"operator": "=", |
| 150 |
"left": { |
| 151 |
"type": "Identifier", |
| 152 |
"start":164,"end":165,"loc":{"start":{"line":7,"column":0,"index":164},"end":{"line":7,"column":1,"index":165},"identifierName":"C"}, |
| 153 |
"name": "C" |
| 154 |
}, |
| 155 |
"right": { |
| 156 |
"type": "ClassExpression", |
| 157 |
"start":168,"end":202,"loc":{"start":{"line":7,"column":4,"index":168},"end":{"line":7,"column":38,"index":202}}, |
| 158 |
"id": null, |
| 159 |
"superClass": null, |
| 160 |
"body": { |
| 161 |
"type": "ClassBody", |
| 162 |
"start":174,"end":202,"loc":{"start":{"line":7,"column":10,"index":174},"end":{"line":7,"column":38,"index":202}}, |
| 163 |
"body": [ |
| 164 |
{ |
| 165 |
"type": "StaticBlock", |
| 166 |
"start":176,"end":200,"loc":{"start":{"line":7,"column":12,"index":176},"end":{"line":7,"column":36,"index":200}}, |
| 167 |
"body": [ |
| 168 |
{ |
| 169 |
"type": "ExpressionStatement", |
| 170 |
"start":185,"end":198,"loc":{"start":{"line":7,"column":21,"index":185},"end":{"line":7,"column":34,"index":198}}, |
| 171 |
"expression": { |
| 172 |
"type": "CallExpression", |
| 173 |
"start":185,"end":198,"loc":{"start":{"line":7,"column":21,"index":185},"end":{"line":7,"column":34,"index":198}}, |
| 174 |
"callee": { |
| 175 |
"type": "Identifier", |
| 176 |
"start":185,"end":190,"loc":{"start":{"line":7,"column":21,"index":185},"end":{"line":7,"column":26,"index":190},"identifierName":"async"}, |
| 177 |
"name": "async" |
| 178 |
}, |
| 179 |
"arguments": [ |
| 180 |
{ |
| 181 |
"type": "Identifier", |
| 182 |
"start":192,"end":197,"loc":{"start":{"line":7,"column":28,"index":192},"end":{"line":7,"column":33,"index":197},"identifierName":"await"}, |
| 183 |
"name": "await" |
| 184 |
} |
| 185 |
] |
| 186 |
} |
| 187 |
} |
| 188 |
] |
| 189 |
} |
| 190 |
] |
| 191 |
} |
| 192 |
} |
| 193 |
} |
| 194 |
}, |
| 195 |
{ |
| 196 |
"type": "ExpressionStatement", |
| 197 |
"start":205,"end":252,"loc":{"start":{"line":9,"column":0,"index":205},"end":{"line":9,"column":47,"index":252}}, |
| 198 |
"expression": { |
| 199 |
"type": "AssignmentExpression", |
| 200 |
"start":205,"end":251,"loc":{"start":{"line":9,"column":0,"index":205},"end":{"line":9,"column":46,"index":251}}, |
| 201 |
"operator": "=", |
| 202 |
"left": { |
| 203 |
"type": "Identifier", |
| 204 |
"start":205,"end":206,"loc":{"start":{"line":9,"column":0,"index":205},"end":{"line":9,"column":1,"index":206},"identifierName":"C"}, |
| 205 |
"name": "C" |
| 206 |
}, |
| 207 |
"right": { |
| 208 |
"type": "ClassExpression", |
| 209 |
"start":209,"end":251,"loc":{"start":{"line":9,"column":4,"index":209},"end":{"line":9,"column":46,"index":251}}, |
| 210 |
"id": null, |
| 211 |
"superClass": null, |
| 212 |
"body": { |
| 213 |
"type": "ClassBody", |
| 214 |
"start":215,"end":251,"loc":{"start":{"line":9,"column":10,"index":215},"end":{"line":9,"column":46,"index":251}}, |
| 215 |
"body": [ |
| 216 |
{ |
| 217 |
"type": "StaticBlock", |
| 218 |
"start":217,"end":249,"loc":{"start":{"line":9,"column":12,"index":217},"end":{"line":9,"column":44,"index":249}}, |
| 219 |
"body": [ |
| 220 |
{ |
| 221 |
"type": "ExpressionStatement", |
| 222 |
"start":226,"end":247,"loc":{"start":{"line":9,"column":21,"index":226},"end":{"line":9,"column":42,"index":247}}, |
| 223 |
"expression": { |
| 224 |
"type": "CallExpression", |
| 225 |
"start":226,"end":247,"loc":{"start":{"line":9,"column":21,"index":226},"end":{"line":9,"column":42,"index":247}}, |
| 226 |
"callee": { |
| 227 |
"type": "Identifier", |
| 228 |
"start":226,"end":231,"loc":{"start":{"line":9,"column":21,"index":226},"end":{"line":9,"column":26,"index":231},"identifierName":"async"}, |
| 229 |
"name": "async" |
| 230 |
}, |
| 231 |
"arguments": [ |
| 232 |
{ |
| 233 |
"type": "ObjectExpression", |
| 234 |
"start":233,"end":246,"loc":{"start":{"line":9,"column":28,"index":233},"end":{"line":9,"column":41,"index":246}}, |
| 235 |
"properties": [ |
| 236 |
{ |
| 237 |
"type": "ObjectProperty", |
| 238 |
"start":235,"end":245,"loc":{"start":{"line":9,"column":30,"index":235},"end":{"line":9,"column":40,"index":245}}, |
| 239 |
"method": false, |
| 240 |
"computed": true, |
| 241 |
"key": { |
| 242 |
"type": "Identifier", |
| 243 |
"start":236,"end":241,"loc":{"start":{"line":9,"column":31,"index":236},"end":{"line":9,"column":36,"index":241},"identifierName":"await"}, |
| 244 |
"name": "await" |
| 245 |
}, |
| 246 |
"shorthand": false, |
| 247 |
"value": { |
| 248 |
"type": "Identifier", |
| 249 |
"start":244,"end":245,"loc":{"start":{"line":9,"column":39,"index":244},"end":{"line":9,"column":40,"index":245},"identifierName":"x"}, |
| 250 |
"name": "x" |
| 251 |
} |
| 252 |
} |
| 253 |
] |
| 254 |
} |
| 255 |
] |
| 256 |
} |
| 257 |
} |
| 258 |
] |
| 259 |
} |
| 260 |
] |
| 261 |
} |
| 262 |
} |
| 263 |
} |
| 264 |
}, |
| 265 |
{ |
| 266 |
"type": "ExpressionStatement", |
| 267 |
"start":254,"end":299,"loc":{"start":{"line":11,"column":0,"index":254},"end":{"line":11,"column":45,"index":299}}, |
| 268 |
"expression": { |
| 269 |
"type": "ArrowFunctionExpression", |
| 270 |
"start":254,"end":298,"loc":{"start":{"line":11,"column":0,"index":254},"end":{"line":11,"column":44,"index":298}}, |
| 271 |
"id": null, |
| 272 |
"generator": false, |
| 273 |
"async": true, |
| 274 |
"params": [ |
| 275 |
{ |
| 276 |
"type": "AssignmentPattern", |
| 277 |
"start":261,"end":291,"loc":{"start":{"line":11,"column":7,"index":261},"end":{"line":11,"column":37,"index":291}}, |
| 278 |
"left": { |
| 279 |
"type": "Identifier", |
| 280 |
"start":261,"end":262,"loc":{"start":{"line":11,"column":7,"index":261},"end":{"line":11,"column":8,"index":262},"identifierName":"x"}, |
| 281 |
"name": "x" |
| 282 |
}, |
| 283 |
"right": { |
| 284 |
"type": "ClassExpression", |
| 285 |
"start":265,"end":291,"loc":{"start":{"line":11,"column":11,"index":265},"end":{"line":11,"column":37,"index":291}}, |
| 286 |
"id": null, |
| 287 |
"superClass": null, |
| 288 |
"body": { |
| 289 |
"type": "ClassBody", |
| 290 |
"start":271,"end":291,"loc":{"start":{"line":11,"column":17,"index":271},"end":{"line":11,"column":37,"index":291}}, |
| 291 |
"body": [ |
| 292 |
{ |
| 293 |
"type": "StaticBlock", |
| 294 |
"start":273,"end":289,"loc":{"start":{"line":11,"column":19,"index":273},"end":{"line":11,"column":35,"index":289}}, |
| 295 |
"body": [ |
| 296 |
{ |
| 297 |
"type": "ExpressionStatement", |
| 298 |
"start":282,"end":287,"loc":{"start":{"line":11,"column":28,"index":282},"end":{"line":11,"column":33,"index":287}}, |
| 299 |
"expression": { |
| 300 |
"type": "Identifier", |
| 301 |
"start":282,"end":287,"loc":{"start":{"line":11,"column":28,"index":282},"end":{"line":11,"column":33,"index":287},"identifierName":"await"}, |
| 302 |
"name": "await" |
| 303 |
} |
| 304 |
} |
| 305 |
] |
| 306 |
} |
| 307 |
] |
| 308 |
} |
| 309 |
} |
| 310 |
} |
| 311 |
], |
| 312 |
"body": { |
| 313 |
"type": "BlockStatement", |
| 314 |
"start":296,"end":298,"loc":{"start":{"line":11,"column":42,"index":296},"end":{"line":11,"column":44,"index":298}}, |
| 315 |
"body": [], |
| 316 |
"directives": [] |
| 317 |
} |
| 318 |
}, |
| 319 |
"trailingComments": [ |
| 320 |
{ |
| 321 |
"type": "CommentLine", |
| 322 |
"value": " await as label is not allowed", |
| 323 |
"start":300,"end":332,"loc":{"start":{"line":12,"column":0,"index":300},"end":{"line":12,"column":32,"index":332}} |
| 324 |
} |
| 325 |
] |
| 326 |
}, |
| 327 |
{ |
| 328 |
"type": "ExpressionStatement", |
| 329 |
"start":333,"end":367,"loc":{"start":{"line":13,"column":0,"index":333},"end":{"line":13,"column":34,"index":367}}, |
| 330 |
"expression": { |
| 331 |
"type": "AssignmentExpression", |
| 332 |
"start":333,"end":366,"loc":{"start":{"line":13,"column":0,"index":333},"end":{"line":13,"column":33,"index":366}}, |
| 333 |
"operator": "=", |
| 334 |
"left": { |
| 335 |
"type": "Identifier", |
| 336 |
"start":333,"end":334,"loc":{"start":{"line":13,"column":0,"index":333},"end":{"line":13,"column":1,"index":334},"identifierName":"C"}, |
| 337 |
"name": "C" |
| 338 |
}, |
| 339 |
"right": { |
| 340 |
"type": "ClassExpression", |
| 341 |
"start":337,"end":366,"loc":{"start":{"line":13,"column":4,"index":337},"end":{"line":13,"column":33,"index":366}}, |
| 342 |
"id": null, |
| 343 |
"superClass": null, |
| 344 |
"body": { |
| 345 |
"type": "ClassBody", |
| 346 |
"start":343,"end":366,"loc":{"start":{"line":13,"column":10,"index":343},"end":{"line":13,"column":33,"index":366}}, |
| 347 |
"body": [ |
| 348 |
{ |
| 349 |
"type": "StaticBlock", |
| 350 |
"start":345,"end":364,"loc":{"start":{"line":13,"column":12,"index":345},"end":{"line":13,"column":31,"index":364}}, |
| 351 |
"body": [ |
| 352 |
{ |
| 353 |
"type": "LabeledStatement", |
| 354 |
"start":354,"end":362,"loc":{"start":{"line":13,"column":21,"index":354},"end":{"line":13,"column":29,"index":362}}, |
| 355 |
"body": { |
| 356 |
"type": "ExpressionStatement", |
| 357 |
"start":361,"end":362,"loc":{"start":{"line":13,"column":28,"index":361},"end":{"line":13,"column":29,"index":362}}, |
| 358 |
"expression": { |
| 359 |
"type": "NumericLiteral", |
| 360 |
"start":361,"end":362,"loc":{"start":{"line":13,"column":28,"index":361},"end":{"line":13,"column":29,"index":362}}, |
| 361 |
"extra": { |
| 362 |
"rawValue": 0, |
| 363 |
"raw": "0" |
| 364 |
}, |
| 365 |
"value": 0 |
| 366 |
} |
| 367 |
}, |
| 368 |
"label": { |
| 369 |
"type": "Identifier", |
| 370 |
"start":354,"end":359,"loc":{"start":{"line":13,"column":21,"index":354},"end":{"line":13,"column":26,"index":359},"identifierName":"await"}, |
| 371 |
"name": "await" |
| 372 |
} |
| 373 |
} |
| 374 |
] |
| 375 |
} |
| 376 |
] |
| 377 |
} |
| 378 |
} |
| 379 |
}, |
| 380 |
"leadingComments": [ |
| 381 |
{ |
| 382 |
"type": "CommentLine", |
| 383 |
"value": " await as label is not allowed", |
| 384 |
"start":300,"end":332,"loc":{"start":{"line":12,"column":0,"index":300},"end":{"line":12,"column":32,"index":332}} |
| 385 |
} |
| 386 |
] |
| 387 |
}, |
| 388 |
{ |
| 389 |
"type": "ExpressionStatement", |
| 390 |
"start":369,"end":414,"loc":{"start":{"line":15,"column":0,"index":369},"end":{"line":15,"column":45,"index":414}}, |
| 391 |
"expression": { |
| 392 |
"type": "AssignmentExpression", |
| 393 |
"start":369,"end":413,"loc":{"start":{"line":15,"column":0,"index":369},"end":{"line":15,"column":44,"index":413}}, |
| 394 |
"operator": "=", |
| 395 |
"left": { |
| 396 |
"type": "Identifier", |
| 397 |
"start":369,"end":370,"loc":{"start":{"line":15,"column":0,"index":369},"end":{"line":15,"column":1,"index":370},"identifierName":"C"}, |
| 398 |
"name": "C" |
| 399 |
}, |
| 400 |
"right": { |
| 401 |
"type": "ClassExpression", |
| 402 |
"start":373,"end":413,"loc":{"start":{"line":15,"column":4,"index":373},"end":{"line":15,"column":44,"index":413}}, |
| 403 |
"id": null, |
| 404 |
"superClass": null, |
| 405 |
"body": { |
| 406 |
"type": "ClassBody", |
| 407 |
"start":379,"end":413,"loc":{"start":{"line":15,"column":10,"index":379},"end":{"line":15,"column":44,"index":413}}, |
| 408 |
"body": [ |
| 409 |
{ |
| 410 |
"type": "StaticBlock", |
| 411 |
"start":381,"end":411,"loc":{"start":{"line":15,"column":12,"index":381},"end":{"line":15,"column":42,"index":411}}, |
| 412 |
"body": [ |
| 413 |
{ |
| 414 |
"type": "ClassDeclaration", |
| 415 |
"start":390,"end":409,"loc":{"start":{"line":15,"column":21,"index":390},"end":{"line":15,"column":40,"index":409}}, |
| 416 |
"id": { |
| 417 |
"type": "Identifier", |
| 418 |
"start":396,"end":397,"loc":{"start":{"line":15,"column":27,"index":396},"end":{"line":15,"column":28,"index":397},"identifierName":"D"}, |
| 419 |
"name": "D" |
| 420 |
}, |
| 421 |
"superClass": null, |
| 422 |
"body": { |
| 423 |
"type": "ClassBody", |
| 424 |
"start":398,"end":409,"loc":{"start":{"line":15,"column":29,"index":398},"end":{"line":15,"column":40,"index":409}}, |
| 425 |
"body": [ |
| 426 |
{ |
| 427 |
"type": "ClassProperty", |
| 428 |
"start":400,"end":407,"loc":{"start":{"line":15,"column":31,"index":400},"end":{"line":15,"column":38,"index":407}}, |
| 429 |
"static": false, |
| 430 |
"computed": true, |
| 431 |
"key": { |
| 432 |
"type": "Identifier", |
| 433 |
"start":401,"end":406,"loc":{"start":{"line":15,"column":32,"index":401},"end":{"line":15,"column":37,"index":406},"identifierName":"await"}, |
| 434 |
"name": "await" |
| 435 |
}, |
| 436 |
"value": null |
| 437 |
} |
| 438 |
] |
| 439 |
} |
| 440 |
} |
| 441 |
] |
| 442 |
} |
| 443 |
] |
| 444 |
} |
| 445 |
} |
| 446 |
}, |
| 447 |
"trailingComments": [ |
| 448 |
{ |
| 449 |
"type": "CommentLine", |
| 450 |
"value": " await binding in function declaration is not allowed", |
| 451 |
"start":415,"end":470,"loc":{"start":{"line":16,"column":0,"index":415},"end":{"line":16,"column":55,"index":470}} |
| 452 |
} |
| 453 |
] |
| 454 |
}, |
| 455 |
{ |
| 456 |
"type": "ExpressionStatement", |
| 457 |
"start":471,"end":516,"loc":{"start":{"line":17,"column":0,"index":471},"end":{"line":17,"column":45,"index":516}}, |
| 458 |
"expression": { |
| 459 |
"type": "AssignmentExpression", |
| 460 |
"start":471,"end":515,"loc":{"start":{"line":17,"column":0,"index":471},"end":{"line":17,"column":44,"index":515}}, |
| 461 |
"operator": "=", |
| 462 |
"left": { |
| 463 |
"type": "Identifier", |
| 464 |
"start":471,"end":472,"loc":{"start":{"line":17,"column":0,"index":471},"end":{"line":17,"column":1,"index":472},"identifierName":"C"}, |
| 465 |
"name": "C" |
| 466 |
}, |
| 467 |
"right": { |
| 468 |
"type": "ClassExpression", |
| 469 |
"start":475,"end":515,"loc":{"start":{"line":17,"column":4,"index":475},"end":{"line":17,"column":44,"index":515}}, |
| 470 |
"id": null, |
| 471 |
"superClass": null, |
| 472 |
"body": { |
| 473 |
"type": "ClassBody", |
| 474 |
"start":481,"end":515,"loc":{"start":{"line":17,"column":10,"index":481},"end":{"line":17,"column":44,"index":515}}, |
| 475 |
"body": [ |
| 476 |
{ |
| 477 |
"type": "StaticBlock", |
| 478 |
"start":483,"end":513,"loc":{"start":{"line":17,"column":12,"index":483},"end":{"line":17,"column":42,"index":513}}, |
| 479 |
"body": [ |
| 480 |
{ |
| 481 |
"type": "FunctionDeclaration", |
| 482 |
"start":492,"end":511,"loc":{"start":{"line":17,"column":21,"index":492},"end":{"line":17,"column":40,"index":511}}, |
| 483 |
"id": { |
| 484 |
"type": "Identifier", |
| 485 |
"start":501,"end":506,"loc":{"start":{"line":17,"column":30,"index":501},"end":{"line":17,"column":35,"index":506},"identifierName":"await"}, |
| 486 |
"name": "await" |
| 487 |
}, |
| 488 |
"generator": false, |
| 489 |
"async": false, |
| 490 |
"params": [], |
| 491 |
"body": { |
| 492 |
"type": "BlockStatement", |
| 493 |
"start":509,"end":511,"loc":{"start":{"line":17,"column":38,"index":509},"end":{"line":17,"column":40,"index":511}}, |
| 494 |
"body": [], |
| 495 |
"directives": [] |
| 496 |
} |
| 497 |
} |
| 498 |
] |
| 499 |
} |
| 500 |
] |
| 501 |
} |
| 502 |
} |
| 503 |
}, |
| 504 |
"trailingComments": [ |
| 505 |
{ |
| 506 |
"type": "CommentLine", |
| 507 |
"value": " await binding in class declaration is not allowed", |
| 508 |
"start":517,"end":569,"loc":{"start":{"line":18,"column":0,"index":517},"end":{"line":18,"column":52,"index":569}} |
| 509 |
} |
| 510 |
], |
| 511 |
"leadingComments": [ |
| 512 |
{ |
| 513 |
"type": "CommentLine", |
| 514 |
"value": " await binding in function declaration is not allowed", |
| 515 |
"start":415,"end":470,"loc":{"start":{"line":16,"column":0,"index":415},"end":{"line":16,"column":55,"index":470}} |
| 516 |
} |
| 517 |
] |
| 518 |
}, |
| 519 |
{ |
| 520 |
"type": "ExpressionStatement", |
| 521 |
"start":570,"end":610,"loc":{"start":{"line":19,"column":0,"index":570},"end":{"line":19,"column":40,"index":610}}, |
| 522 |
"expression": { |
| 523 |
"type": "AssignmentExpression", |
| 524 |
"start":570,"end":609,"loc":{"start":{"line":19,"column":0,"index":570},"end":{"line":19,"column":39,"index":609}}, |
| 525 |
"operator": "=", |
| 526 |
"left": { |
| 527 |
"type": "Identifier", |
| 528 |
"start":570,"end":571,"loc":{"start":{"line":19,"column":0,"index":570},"end":{"line":19,"column":1,"index":571},"identifierName":"C"}, |
| 529 |
"name": "C" |
| 530 |
}, |
| 531 |
"right": { |
| 532 |
"type": "ClassExpression", |
| 533 |
"start":574,"end":609,"loc":{"start":{"line":19,"column":4,"index":574},"end":{"line":19,"column":39,"index":609}}, |
| 534 |
"id": null, |
| 535 |
"superClass": null, |
| 536 |
"body": { |
| 537 |
"type": "ClassBody", |
| 538 |
"start":580,"end":609,"loc":{"start":{"line":19,"column":10,"index":580},"end":{"line":19,"column":39,"index":609}}, |
| 539 |
"body": [ |
| 540 |
{ |
| 541 |
"type": "StaticBlock", |
| 542 |
"start":582,"end":607,"loc":{"start":{"line":19,"column":12,"index":582},"end":{"line":19,"column":37,"index":607}}, |
| 543 |
"body": [ |
| 544 |
{ |
| 545 |
"type": "ClassDeclaration", |
| 546 |
"start":591,"end":605,"loc":{"start":{"line":19,"column":21,"index":591},"end":{"line":19,"column":35,"index":605}}, |
| 547 |
"id": { |
| 548 |
"type": "Identifier", |
| 549 |
"start":597,"end":602,"loc":{"start":{"line":19,"column":27,"index":597},"end":{"line":19,"column":32,"index":602},"identifierName":"await"}, |
| 550 |
"name": "await" |
| 551 |
}, |
| 552 |
"superClass": null, |
| 553 |
"body": { |
| 554 |
"type": "ClassBody", |
| 555 |
"start":603,"end":605,"loc":{"start":{"line":19,"column":33,"index":603},"end":{"line":19,"column":35,"index":605}}, |
| 556 |
"body": [] |
| 557 |
} |
| 558 |
} |
| 559 |
] |
| 560 |
} |
| 561 |
] |
| 562 |
} |
| 563 |
} |
| 564 |
}, |
| 565 |
"trailingComments": [ |
| 566 |
{ |
| 567 |
"type": "CommentLine", |
| 568 |
"value": " await binding in class expression is not allowed", |
| 569 |
"start":611,"end":662,"loc":{"start":{"line":20,"column":0,"index":611},"end":{"line":20,"column":51,"index":662}} |
| 570 |
} |
| 571 |
], |
| 572 |
"leadingComments": [ |
| 573 |
{ |
| 574 |
"type": "CommentLine", |
| 575 |
"value": " await binding in class declaration is not allowed", |
| 576 |
"start":517,"end":569,"loc":{"start":{"line":18,"column":0,"index":517},"end":{"line":18,"column":52,"index":569}} |
| 577 |
} |
| 578 |
] |
| 579 |
}, |
| 580 |
{ |
| 581 |
"type": "ExpressionStatement", |
| 582 |
"start":663,"end":705,"loc":{"start":{"line":21,"column":0,"index":663},"end":{"line":21,"column":42,"index":705}}, |
| 583 |
"expression": { |
| 584 |
"type": "AssignmentExpression", |
| 585 |
"start":663,"end":704,"loc":{"start":{"line":21,"column":0,"index":663},"end":{"line":21,"column":41,"index":704}}, |
| 586 |
"operator": "=", |
| 587 |
"left": { |
| 588 |
"type": "Identifier", |
| 589 |
"start":663,"end":664,"loc":{"start":{"line":21,"column":0,"index":663},"end":{"line":21,"column":1,"index":664},"identifierName":"C"}, |
| 590 |
"name": "C" |
| 591 |
}, |
| 592 |
"right": { |
| 593 |
"type": "ClassExpression", |
| 594 |
"start":667,"end":704,"loc":{"start":{"line":21,"column":4,"index":667},"end":{"line":21,"column":41,"index":704}}, |
| 595 |
"id": null, |
| 596 |
"superClass": null, |
| 597 |
"body": { |
| 598 |
"type": "ClassBody", |
| 599 |
"start":673,"end":704,"loc":{"start":{"line":21,"column":10,"index":673},"end":{"line":21,"column":41,"index":704}}, |
| 600 |
"body": [ |
| 601 |
{ |
| 602 |
"type": "StaticBlock", |
| 603 |
"start":675,"end":702,"loc":{"start":{"line":21,"column":12,"index":675},"end":{"line":21,"column":39,"index":702}}, |
| 604 |
"body": [ |
| 605 |
{ |
| 606 |
"type": "ExpressionStatement", |
| 607 |
"start":684,"end":700,"loc":{"start":{"line":21,"column":21,"index":684},"end":{"line":21,"column":37,"index":700}}, |
| 608 |
"expression": { |
| 609 |
"type": "ClassExpression", |
| 610 |
"start":685,"end":699,"loc":{"start":{"line":21,"column":22,"index":685},"end":{"line":21,"column":36,"index":699}}, |
| 611 |
"id": { |
| 612 |
"type": "Identifier", |
| 613 |
"start":691,"end":696,"loc":{"start":{"line":21,"column":28,"index":691},"end":{"line":21,"column":33,"index":696},"identifierName":"await"}, |
| 614 |
"name": "await" |
| 615 |
}, |
| 616 |
"superClass": null, |
| 617 |
"body": { |
| 618 |
"type": "ClassBody", |
| 619 |
"start":697,"end":699,"loc":{"start":{"line":21,"column":34,"index":697},"end":{"line":21,"column":36,"index":699}}, |
| 620 |
"body": [] |
| 621 |
}, |
| 622 |
"extra": { |
| 623 |
"parenthesized": true, |
| 624 |
"parenStart": 684 |
| 625 |
} |
| 626 |
} |
| 627 |
} |
| 628 |
] |
| 629 |
} |
| 630 |
] |
| 631 |
} |
| 632 |
} |
| 633 |
}, |
| 634 |
"trailingComments": [ |
| 635 |
{ |
| 636 |
"type": "CommentLine", |
| 637 |
"value": " await in arrow parameters is not allowed", |
| 638 |
"start":706,"end":749,"loc":{"start":{"line":22,"column":0,"index":706},"end":{"line":22,"column":43,"index":749}} |
| 639 |
} |
| 640 |
], |
| 641 |
"leadingComments": [ |
| 642 |
{ |
| 643 |
"type": "CommentLine", |
| 644 |
"value": " await binding in class expression is not allowed", |
| 645 |
"start":611,"end":662,"loc":{"start":{"line":20,"column":0,"index":611},"end":{"line":20,"column":51,"index":662}} |
| 646 |
} |
| 647 |
] |
| 648 |
}, |
| 649 |
{ |
| 650 |
"type": "ExpressionStatement", |
| 651 |
"start":750,"end":789,"loc":{"start":{"line":23,"column":0,"index":750},"end":{"line":23,"column":39,"index":789}}, |
| 652 |
"expression": { |
| 653 |
"type": "AssignmentExpression", |
| 654 |
"start":750,"end":788,"loc":{"start":{"line":23,"column":0,"index":750},"end":{"line":23,"column":38,"index":788}}, |
| 655 |
"operator": "=", |
| 656 |
"left": { |
| 657 |
"type": "Identifier", |
| 658 |
"start":750,"end":751,"loc":{"start":{"line":23,"column":0,"index":750},"end":{"line":23,"column":1,"index":751},"identifierName":"C"}, |
| 659 |
"name": "C" |
| 660 |
}, |
| 661 |
"right": { |
| 662 |
"type": "ClassExpression", |
| 663 |
"start":754,"end":788,"loc":{"start":{"line":23,"column":4,"index":754},"end":{"line":23,"column":38,"index":788}}, |
| 664 |
"id": null, |
| 665 |
"superClass": null, |
| 666 |
"body": { |
| 667 |
"type": "ClassBody", |
| 668 |
"start":760,"end":788,"loc":{"start":{"line":23,"column":10,"index":760},"end":{"line":23,"column":38,"index":788}}, |
| 669 |
"body": [ |
| 670 |
{ |
| 671 |
"type": "StaticBlock", |
| 672 |
"start":762,"end":786,"loc":{"start":{"line":23,"column":12,"index":762},"end":{"line":23,"column":36,"index":786}}, |
| 673 |
"body": [ |
| 674 |
{ |
| 675 |
"type": "ExpressionStatement", |
| 676 |
"start":771,"end":784,"loc":{"start":{"line":23,"column":21,"index":771},"end":{"line":23,"column":34,"index":784}}, |
| 677 |
"expression": { |
| 678 |
"type": "ArrowFunctionExpression", |
| 679 |
"start":771,"end":784,"loc":{"start":{"line":23,"column":21,"index":771},"end":{"line":23,"column":34,"index":784}}, |
| 680 |
"id": null, |
| 681 |
"generator": false, |
| 682 |
"async": false, |
| 683 |
"params": [ |
| 684 |
{ |
| 685 |
"type": "Identifier", |
| 686 |
"start":772,"end":777,"loc":{"start":{"line":23,"column":22,"index":772},"end":{"line":23,"column":27,"index":777},"identifierName":"await"}, |
| 687 |
"name": "await" |
| 688 |
} |
| 689 |
], |
| 690 |
"body": { |
| 691 |
"type": "BlockStatement", |
| 692 |
"start":782,"end":784,"loc":{"start":{"line":23,"column":32,"index":782},"end":{"line":23,"column":34,"index":784}}, |
| 693 |
"body": [], |
| 694 |
"directives": [] |
| 695 |
} |
| 696 |
} |
| 697 |
} |
| 698 |
] |
| 699 |
} |
| 700 |
] |
| 701 |
} |
| 702 |
} |
| 703 |
}, |
| 704 |
"leadingComments": [ |
| 705 |
{ |
| 706 |
"type": "CommentLine", |
| 707 |
"value": " await in arrow parameters is not allowed", |
| 708 |
"start":706,"end":749,"loc":{"start":{"line":22,"column":0,"index":706},"end":{"line":22,"column":43,"index":749}} |
| 709 |
} |
| 710 |
] |
| 711 |
}, |
| 712 |
{ |
| 713 |
"type": "ExpressionStatement", |
| 714 |
"start":791,"end":834,"loc":{"start":{"line":25,"column":0,"index":791},"end":{"line":25,"column":43,"index":834}}, |
| 715 |
"expression": { |
| 716 |
"type": "AssignmentExpression", |
| 717 |
"start":791,"end":833,"loc":{"start":{"line":25,"column":0,"index":791},"end":{"line":25,"column":42,"index":833}}, |
| 718 |
"operator": "=", |
| 719 |
"left": { |
| 720 |
"type": "Identifier", |
| 721 |
"start":791,"end":792,"loc":{"start":{"line":25,"column":0,"index":791},"end":{"line":25,"column":1,"index":792},"identifierName":"C"}, |
| 722 |
"name": "C" |
| 723 |
}, |
| 724 |
"right": { |
| 725 |
"type": "ClassExpression", |
| 726 |
"start":795,"end":833,"loc":{"start":{"line":25,"column":4,"index":795},"end":{"line":25,"column":42,"index":833}}, |
| 727 |
"id": null, |
| 728 |
"superClass": null, |
| 729 |
"body": { |
| 730 |
"type": "ClassBody", |
| 731 |
"start":801,"end":833,"loc":{"start":{"line":25,"column":10,"index":801},"end":{"line":25,"column":42,"index":833}}, |
| 732 |
"body": [ |
| 733 |
{ |
| 734 |
"type": "StaticBlock", |
| 735 |
"start":803,"end":831,"loc":{"start":{"line":25,"column":12,"index":803},"end":{"line":25,"column":40,"index":831}}, |
| 736 |
"body": [ |
| 737 |
{ |
| 738 |
"type": "ExpressionStatement", |
| 739 |
"start":812,"end":829,"loc":{"start":{"line":25,"column":21,"index":812},"end":{"line":25,"column":38,"index":829}}, |
| 740 |
"expression": { |
| 741 |
"type": "ArrowFunctionExpression", |
| 742 |
"start":812,"end":829,"loc":{"start":{"line":25,"column":21,"index":812},"end":{"line":25,"column":38,"index":829}}, |
| 743 |
"id": null, |
| 744 |
"generator": false, |
| 745 |
"async": false, |
| 746 |
"params": [ |
| 747 |
{ |
| 748 |
"type": "AssignmentPattern", |
| 749 |
"start":813,"end":822,"loc":{"start":{"line":25,"column":22,"index":813},"end":{"line":25,"column":31,"index":822}}, |
| 750 |
"left": { |
| 751 |
"type": "Identifier", |
| 752 |
"start":813,"end":814,"loc":{"start":{"line":25,"column":22,"index":813},"end":{"line":25,"column":23,"index":814},"identifierName":"x"}, |
| 753 |
"name": "x" |
| 754 |
}, |
| 755 |
"right": { |
| 756 |
"type": "Identifier", |
| 757 |
"start":817,"end":822,"loc":{"start":{"line":25,"column":26,"index":817},"end":{"line":25,"column":31,"index":822},"identifierName":"await"}, |
| 758 |
"name": "await" |
| 759 |
} |
| 760 |
} |
| 761 |
], |
| 762 |
"body": { |
| 763 |
"type": "BlockStatement", |
| 764 |
"start":827,"end":829,"loc":{"start":{"line":25,"column":36,"index":827},"end":{"line":25,"column":38,"index":829}}, |
| 765 |
"body": [], |
| 766 |
"directives": [] |
| 767 |
} |
| 768 |
} |
| 769 |
} |
| 770 |
] |
| 771 |
} |
| 772 |
] |
| 773 |
} |
| 774 |
} |
| 775 |
} |
| 776 |
}, |
| 777 |
{ |
| 778 |
"type": "ExpressionStatement", |
| 779 |
"start":836,"end":884,"loc":{"start":{"line":27,"column":0,"index":836},"end":{"line":27,"column":48,"index":884}}, |
| 780 |
"expression": { |
| 781 |
"type": "AssignmentExpression", |
| 782 |
"start":836,"end":883,"loc":{"start":{"line":27,"column":0,"index":836},"end":{"line":27,"column":47,"index":883}}, |
| 783 |
"operator": "=", |
| 784 |
"left": { |
| 785 |
"type": "Identifier", |
| 786 |
"start":836,"end":837,"loc":{"start":{"line":27,"column":0,"index":836},"end":{"line":27,"column":1,"index":837},"identifierName":"C"}, |
| 787 |
"name": "C" |
| 788 |
}, |
| 789 |
"right": { |
| 790 |
"type": "ClassExpression", |
| 791 |
"start":840,"end":883,"loc":{"start":{"line":27,"column":4,"index":840},"end":{"line":27,"column":47,"index":883}}, |
| 792 |
"id": null, |
| 793 |
"superClass": null, |
| 794 |
"body": { |
| 795 |
"type": "ClassBody", |
| 796 |
"start":846,"end":883,"loc":{"start":{"line":27,"column":10,"index":846},"end":{"line":27,"column":47,"index":883}}, |
| 797 |
"body": [ |
| 798 |
{ |
| 799 |
"type": "StaticBlock", |
| 800 |
"start":848,"end":881,"loc":{"start":{"line":27,"column":12,"index":848},"end":{"line":27,"column":45,"index":881}}, |
| 801 |
"body": [ |
| 802 |
{ |
| 803 |
"type": "ExpressionStatement", |
| 804 |
"start":857,"end":879,"loc":{"start":{"line":27,"column":21,"index":857},"end":{"line":27,"column":43,"index":879}}, |
| 805 |
"expression": { |
| 806 |
"type": "ArrowFunctionExpression", |
| 807 |
"start":857,"end":879,"loc":{"start":{"line":27,"column":21,"index":857},"end":{"line":27,"column":43,"index":879}}, |
| 808 |
"id": null, |
| 809 |
"generator": false, |
| 810 |
"async": false, |
| 811 |
"params": [ |
| 812 |
{ |
| 813 |
"type": "ObjectPattern", |
| 814 |
"start":858,"end":872,"loc":{"start":{"line":27,"column":22,"index":858},"end":{"line":27,"column":36,"index":872}}, |
| 815 |
"properties": [ |
| 816 |
{ |
| 817 |
"type": "ObjectProperty", |
| 818 |
"start":860,"end":870,"loc":{"start":{"line":27,"column":24,"index":860},"end":{"line":27,"column":34,"index":870}}, |
| 819 |
"method": false, |
| 820 |
"computed": true, |
| 821 |
"key": { |
| 822 |
"type": "Identifier", |
| 823 |
"start":861,"end":866,"loc":{"start":{"line":27,"column":25,"index":861},"end":{"line":27,"column":30,"index":866},"identifierName":"await"}, |
| 824 |
"name": "await" |
| 825 |
}, |
| 826 |
"shorthand": false, |
| 827 |
"value": { |
| 828 |
"type": "Identifier", |
| 829 |
"start":869,"end":870,"loc":{"start":{"line":27,"column":33,"index":869},"end":{"line":27,"column":34,"index":870},"identifierName":"x"}, |
| 830 |
"name": "x" |
| 831 |
} |
| 832 |
} |
| 833 |
] |
| 834 |
} |
| 835 |
], |
| 836 |
"body": { |
| 837 |
"type": "BlockStatement", |
| 838 |
"start":877,"end":879,"loc":{"start":{"line":27,"column":41,"index":877},"end":{"line":27,"column":43,"index":879}}, |
| 839 |
"body": [], |
| 840 |
"directives": [] |
| 841 |
} |
| 842 |
} |
| 843 |
} |
| 844 |
] |
| 845 |
} |
| 846 |
] |
| 847 |
} |
| 848 |
} |
| 849 |
} |
| 850 |
}, |
| 851 |
{ |
| 852 |
"type": "ExpressionStatement", |
| 853 |
"start":886,"end":921,"loc":{"start":{"line":29,"column":0,"index":886},"end":{"line":29,"column":35,"index":921}}, |
| 854 |
"expression": { |
| 855 |
"type": "AssignmentExpression", |
| 856 |
"start":886,"end":920,"loc":{"start":{"line":29,"column":0,"index":886},"end":{"line":29,"column":34,"index":920}}, |
| 857 |
"operator": "=", |
| 858 |
"left": { |
| 859 |
"type": "Identifier", |
| 860 |
"start":886,"end":887,"loc":{"start":{"line":29,"column":0,"index":886},"end":{"line":29,"column":1,"index":887},"identifierName":"C"}, |
| 861 |
"name": "C" |
| 862 |
}, |
| 863 |
"right": { |
| 864 |
"type": "ClassExpression", |
| 865 |
"start":890,"end":920,"loc":{"start":{"line":29,"column":4,"index":890},"end":{"line":29,"column":34,"index":920}}, |
| 866 |
"id": null, |
| 867 |
"superClass": null, |
| 868 |
"body": { |
| 869 |
"type": "ClassBody", |
| 870 |
"start":896,"end":920,"loc":{"start":{"line":29,"column":10,"index":896},"end":{"line":29,"column":34,"index":920}}, |
| 871 |
"body": [ |
| 872 |
{ |
| 873 |
"type": "StaticBlock", |
| 874 |
"start":898,"end":918,"loc":{"start":{"line":29,"column":12,"index":898},"end":{"line":29,"column":32,"index":918}}, |
| 875 |
"body": [ |
| 876 |
{ |
| 877 |
"type": "BlockStatement", |
| 878 |
"start":907,"end":916,"loc":{"start":{"line":29,"column":21,"index":907},"end":{"line":29,"column":30,"index":916}}, |
| 879 |
"body": [ |
| 880 |
{ |
| 881 |
"type": "ExpressionStatement", |
| 882 |
"start":909,"end":914,"loc":{"start":{"line":29,"column":23,"index":909},"end":{"line":29,"column":28,"index":914}}, |
| 883 |
"expression": { |
| 884 |
"type": "Identifier", |
| 885 |
"start":909,"end":914,"loc":{"start":{"line":29,"column":23,"index":909},"end":{"line":29,"column":28,"index":914},"identifierName":"await"}, |
| 886 |
"name": "await" |
| 887 |
} |
| 888 |
} |
| 889 |
], |
| 890 |
"directives": [] |
| 891 |
} |
| 892 |
] |
| 893 |
} |
| 894 |
] |
| 895 |
} |
| 896 |
} |
| 897 |
} |
| 898 |
} |
| 899 |
], |
| 900 |
"directives": [] |
| 901 |
}, |
| 902 |
"comments": [ |
| 903 |
{ |
| 904 |
"type": "CommentLine", |
| 905 |
"value": " This file enumerates all the disallowed cases, for allowed cases, see await-binding-*", |
| 906 |
"start":7,"end":95,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":88,"index":95}} |
| 907 |
}, |
| 908 |
{ |
| 909 |
"type": "CommentLine", |
| 910 |
"value": " await as label is not allowed", |
| 911 |
"start":300,"end":332,"loc":{"start":{"line":12,"column":0,"index":300},"end":{"line":12,"column":32,"index":332}} |
| 912 |
}, |
| 913 |
{ |
| 914 |
"type": "CommentLine", |
| 915 |
"value": " await binding in function declaration is not allowed", |
| 916 |
"start":415,"end":470,"loc":{"start":{"line":16,"column":0,"index":415},"end":{"line":16,"column":55,"index":470}} |
| 917 |
}, |
| 918 |
{ |
| 919 |
"type": "CommentLine", |
| 920 |
"value": " await binding in class declaration is not allowed", |
| 921 |
"start":517,"end":569,"loc":{"start":{"line":18,"column":0,"index":517},"end":{"line":18,"column":52,"index":569}} |
| 922 |
}, |
| 923 |
{ |
| 924 |
"type": "CommentLine", |
| 925 |
"value": " await binding in class expression is not allowed", |
| 926 |
"start":611,"end":662,"loc":{"start":{"line":20,"column":0,"index":611},"end":{"line":20,"column":51,"index":662}} |
| 927 |
}, |
| 928 |
{ |
| 929 |
"type": "CommentLine", |
| 930 |
"value": " await in arrow parameters is not allowed", |
| 931 |
"start":706,"end":749,"loc":{"start":{"line":22,"column":0,"index":706},"end":{"line":22,"column":43,"index":749}} |
| 932 |
} |
| 933 |
] |
| 934 |
} |