| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":1129,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":118,"column":1,"index":1129}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":1129,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":118,"column":1,"index":1129}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ExpressionStatement", |
| 12 |
"start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}}, |
| 13 |
"expression": { |
| 14 |
"type": "StringLiteral", |
| 15 |
"start":1,"end":13,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":13,"index":13}}, |
| 16 |
"extra": { |
| 17 |
"rawValue": "use strict", |
| 18 |
"raw": "\"use strict\"", |
| 19 |
"parenthesized": true, |
| 20 |
"parenStart": 0 |
| 21 |
}, |
| 22 |
"value": "use strict" |
| 23 |
} |
| 24 |
}, |
| 25 |
{ |
| 26 |
"type": "ExpressionStatement", |
| 27 |
"start":17,"end":34,"loc":{"start":{"line":3,"column":0,"index":17},"end":{"line":3,"column":17,"index":34}}, |
| 28 |
"expression": { |
| 29 |
"type": "MemberExpression", |
| 30 |
"start":17,"end":33,"loc":{"start":{"line":3,"column":0,"index":17},"end":{"line":3,"column":16,"index":33}}, |
| 31 |
"object": { |
| 32 |
"type": "StringLiteral", |
| 33 |
"start":17,"end":29,"loc":{"start":{"line":3,"column":0,"index":17},"end":{"line":3,"column":12,"index":29}}, |
| 34 |
"extra": { |
| 35 |
"rawValue": "use strict", |
| 36 |
"raw": "\"use strict\"" |
| 37 |
}, |
| 38 |
"value": "use strict" |
| 39 |
}, |
| 40 |
"computed": false, |
| 41 |
"property": { |
| 42 |
"type": "Identifier", |
| 43 |
"start":30,"end":33,"loc":{"start":{"line":3,"column":13,"index":30},"end":{"line":3,"column":16,"index":33},"identifierName":"foo"}, |
| 44 |
"name": "foo" |
| 45 |
} |
| 46 |
} |
| 47 |
}, |
| 48 |
{ |
| 49 |
"type": "ExpressionStatement", |
| 50 |
"start":35,"end":53,"loc":{"start":{"line":4,"column":0,"index":35},"end":{"line":4,"column":18,"index":53}}, |
| 51 |
"expression": { |
| 52 |
"type": "MemberExpression", |
| 53 |
"start":35,"end":52,"loc":{"start":{"line":4,"column":0,"index":35},"end":{"line":4,"column":17,"index":52}}, |
| 54 |
"object": { |
| 55 |
"type": "StringLiteral", |
| 56 |
"start":35,"end":47,"loc":{"start":{"line":4,"column":0,"index":35},"end":{"line":4,"column":12,"index":47}}, |
| 57 |
"extra": { |
| 58 |
"rawValue": "use strict", |
| 59 |
"raw": "\"use strict\"" |
| 60 |
}, |
| 61 |
"value": "use strict" |
| 62 |
}, |
| 63 |
"computed": true, |
| 64 |
"property": { |
| 65 |
"type": "Identifier", |
| 66 |
"start":48,"end":51,"loc":{"start":{"line":4,"column":13,"index":48},"end":{"line":4,"column":16,"index":51},"identifierName":"foo"}, |
| 67 |
"name": "foo" |
| 68 |
} |
| 69 |
} |
| 70 |
}, |
| 71 |
{ |
| 72 |
"type": "ExpressionStatement", |
| 73 |
"start":54,"end":72,"loc":{"start":{"line":5,"column":0,"index":54},"end":{"line":5,"column":18,"index":72}}, |
| 74 |
"expression": { |
| 75 |
"type": "TaggedTemplateExpression", |
| 76 |
"start":54,"end":71,"loc":{"start":{"line":5,"column":0,"index":54},"end":{"line":5,"column":17,"index":71}}, |
| 77 |
"tag": { |
| 78 |
"type": "StringLiteral", |
| 79 |
"start":54,"end":66,"loc":{"start":{"line":5,"column":0,"index":54},"end":{"line":5,"column":12,"index":66}}, |
| 80 |
"extra": { |
| 81 |
"rawValue": "use strict", |
| 82 |
"raw": "\"use strict\"" |
| 83 |
}, |
| 84 |
"value": "use strict" |
| 85 |
}, |
| 86 |
"quasi": { |
| 87 |
"type": "TemplateLiteral", |
| 88 |
"start":66,"end":71,"loc":{"start":{"line":5,"column":12,"index":66},"end":{"line":5,"column":17,"index":71}}, |
| 89 |
"expressions": [], |
| 90 |
"quasis": [ |
| 91 |
{ |
| 92 |
"type": "TemplateElement", |
| 93 |
"start":67,"end":70,"loc":{"start":{"line":5,"column":13,"index":67},"end":{"line":5,"column":16,"index":70}}, |
| 94 |
"value": { |
| 95 |
"raw": "foo", |
| 96 |
"cooked": "foo" |
| 97 |
}, |
| 98 |
"tail": true |
| 99 |
} |
| 100 |
] |
| 101 |
} |
| 102 |
} |
| 103 |
}, |
| 104 |
{ |
| 105 |
"type": "ExpressionStatement", |
| 106 |
"start":73,"end":91,"loc":{"start":{"line":6,"column":0,"index":73},"end":{"line":6,"column":18,"index":91}}, |
| 107 |
"expression": { |
| 108 |
"type": "CallExpression", |
| 109 |
"start":73,"end":90,"loc":{"start":{"line":6,"column":0,"index":73},"end":{"line":6,"column":17,"index":90}}, |
| 110 |
"callee": { |
| 111 |
"type": "StringLiteral", |
| 112 |
"start":73,"end":85,"loc":{"start":{"line":6,"column":0,"index":73},"end":{"line":6,"column":12,"index":85}}, |
| 113 |
"extra": { |
| 114 |
"rawValue": "use strict", |
| 115 |
"raw": "\"use strict\"" |
| 116 |
}, |
| 117 |
"value": "use strict" |
| 118 |
}, |
| 119 |
"arguments": [ |
| 120 |
{ |
| 121 |
"type": "Identifier", |
| 122 |
"start":86,"end":89,"loc":{"start":{"line":6,"column":13,"index":86},"end":{"line":6,"column":16,"index":89},"identifierName":"foo"}, |
| 123 |
"name": "foo" |
| 124 |
} |
| 125 |
] |
| 126 |
} |
| 127 |
}, |
| 128 |
{ |
| 129 |
"type": "ExpressionStatement", |
| 130 |
"start":92,"end":112,"loc":{"start":{"line":7,"column":0,"index":92},"end":{"line":8,"column":7,"index":112}}, |
| 131 |
"expression": { |
| 132 |
"type": "MemberExpression", |
| 133 |
"start":92,"end":111,"loc":{"start":{"line":7,"column":0,"index":92},"end":{"line":8,"column":6,"index":111}}, |
| 134 |
"object": { |
| 135 |
"type": "StringLiteral", |
| 136 |
"start":92,"end":104,"loc":{"start":{"line":7,"column":0,"index":92},"end":{"line":7,"column":12,"index":104}}, |
| 137 |
"extra": { |
| 138 |
"rawValue": "use strict", |
| 139 |
"raw": "\"use strict\"" |
| 140 |
}, |
| 141 |
"value": "use strict" |
| 142 |
}, |
| 143 |
"computed": false, |
| 144 |
"property": { |
| 145 |
"type": "Identifier", |
| 146 |
"start":108,"end":111,"loc":{"start":{"line":8,"column":3,"index":108},"end":{"line":8,"column":6,"index":111},"identifierName":"foo"}, |
| 147 |
"name": "foo" |
| 148 |
} |
| 149 |
} |
| 150 |
}, |
| 151 |
{ |
| 152 |
"type": "ExpressionStatement", |
| 153 |
"start":113,"end":134,"loc":{"start":{"line":9,"column":0,"index":113},"end":{"line":10,"column":8,"index":134}}, |
| 154 |
"expression": { |
| 155 |
"type": "MemberExpression", |
| 156 |
"start":113,"end":133,"loc":{"start":{"line":9,"column":0,"index":113},"end":{"line":10,"column":7,"index":133}}, |
| 157 |
"object": { |
| 158 |
"type": "StringLiteral", |
| 159 |
"start":113,"end":125,"loc":{"start":{"line":9,"column":0,"index":113},"end":{"line":9,"column":12,"index":125}}, |
| 160 |
"extra": { |
| 161 |
"rawValue": "use strict", |
| 162 |
"raw": "\"use strict\"" |
| 163 |
}, |
| 164 |
"value": "use strict" |
| 165 |
}, |
| 166 |
"computed": true, |
| 167 |
"property": { |
| 168 |
"type": "Identifier", |
| 169 |
"start":129,"end":132,"loc":{"start":{"line":10,"column":3,"index":129},"end":{"line":10,"column":6,"index":132},"identifierName":"foo"}, |
| 170 |
"name": "foo" |
| 171 |
} |
| 172 |
} |
| 173 |
}, |
| 174 |
{ |
| 175 |
"type": "ExpressionStatement", |
| 176 |
"start":135,"end":156,"loc":{"start":{"line":11,"column":0,"index":135},"end":{"line":12,"column":8,"index":156}}, |
| 177 |
"expression": { |
| 178 |
"type": "TaggedTemplateExpression", |
| 179 |
"start":135,"end":155,"loc":{"start":{"line":11,"column":0,"index":135},"end":{"line":12,"column":7,"index":155}}, |
| 180 |
"tag": { |
| 181 |
"type": "StringLiteral", |
| 182 |
"start":135,"end":147,"loc":{"start":{"line":11,"column":0,"index":135},"end":{"line":11,"column":12,"index":147}}, |
| 183 |
"extra": { |
| 184 |
"rawValue": "use strict", |
| 185 |
"raw": "\"use strict\"" |
| 186 |
}, |
| 187 |
"value": "use strict" |
| 188 |
}, |
| 189 |
"quasi": { |
| 190 |
"type": "TemplateLiteral", |
| 191 |
"start":150,"end":155,"loc":{"start":{"line":12,"column":2,"index":150},"end":{"line":12,"column":7,"index":155}}, |
| 192 |
"expressions": [], |
| 193 |
"quasis": [ |
| 194 |
{ |
| 195 |
"type": "TemplateElement", |
| 196 |
"start":151,"end":154,"loc":{"start":{"line":12,"column":3,"index":151},"end":{"line":12,"column":6,"index":154}}, |
| 197 |
"value": { |
| 198 |
"raw": "foo", |
| 199 |
"cooked": "foo" |
| 200 |
}, |
| 201 |
"tail": true |
| 202 |
} |
| 203 |
] |
| 204 |
} |
| 205 |
} |
| 206 |
}, |
| 207 |
{ |
| 208 |
"type": "ExpressionStatement", |
| 209 |
"start":157,"end":178,"loc":{"start":{"line":13,"column":0,"index":157},"end":{"line":14,"column":8,"index":178}}, |
| 210 |
"expression": { |
| 211 |
"type": "CallExpression", |
| 212 |
"start":157,"end":177,"loc":{"start":{"line":13,"column":0,"index":157},"end":{"line":14,"column":7,"index":177}}, |
| 213 |
"callee": { |
| 214 |
"type": "StringLiteral", |
| 215 |
"start":157,"end":169,"loc":{"start":{"line":13,"column":0,"index":157},"end":{"line":13,"column":12,"index":169}}, |
| 216 |
"extra": { |
| 217 |
"rawValue": "use strict", |
| 218 |
"raw": "\"use strict\"" |
| 219 |
}, |
| 220 |
"value": "use strict" |
| 221 |
}, |
| 222 |
"arguments": [ |
| 223 |
{ |
| 224 |
"type": "Identifier", |
| 225 |
"start":173,"end":176,"loc":{"start":{"line":14,"column":3,"index":173},"end":{"line":14,"column":6,"index":176},"identifierName":"foo"}, |
| 226 |
"name": "foo" |
| 227 |
} |
| 228 |
] |
| 229 |
}, |
| 230 |
"trailingComments": [ |
| 231 |
{ |
| 232 |
"type": "CommentLine", |
| 233 |
"value": " Should not be a syntax error because should not be parsed in strict mode.", |
| 234 |
"start":180,"end":256,"loc":{"start":{"line":16,"column":0,"index":180},"end":{"line":16,"column":76,"index":256}} |
| 235 |
} |
| 236 |
] |
| 237 |
}, |
| 238 |
{ |
| 239 |
"type": "ExpressionStatement", |
| 240 |
"start":257,"end":262,"loc":{"start":{"line":17,"column":0,"index":257},"end":{"line":17,"column":5,"index":262}}, |
| 241 |
"expression": { |
| 242 |
"type": "StringLiteral", |
| 243 |
"start":257,"end":261,"loc":{"start":{"line":17,"column":0,"index":257},"end":{"line":17,"column":4,"index":261}}, |
| 244 |
"extra": { |
| 245 |
"rawValue": "\u0005", |
| 246 |
"raw": "\"\\5\"" |
| 247 |
}, |
| 248 |
"value": "\u0005" |
| 249 |
}, |
| 250 |
"leadingComments": [ |
| 251 |
{ |
| 252 |
"type": "CommentLine", |
| 253 |
"value": " Should not be a syntax error because should not be parsed in strict mode.", |
| 254 |
"start":180,"end":256,"loc":{"start":{"line":16,"column":0,"index":180},"end":{"line":16,"column":76,"index":256}} |
| 255 |
} |
| 256 |
] |
| 257 |
}, |
| 258 |
{ |
| 259 |
"type": "FunctionDeclaration", |
| 260 |
"start":264,"end":307,"loc":{"start":{"line":19,"column":0,"index":264},"end":{"line":22,"column":1,"index":307}}, |
| 261 |
"id": { |
| 262 |
"type": "Identifier", |
| 263 |
"start":273,"end":274,"loc":{"start":{"line":19,"column":9,"index":273},"end":{"line":19,"column":10,"index":274},"identifierName":"f"}, |
| 264 |
"name": "f" |
| 265 |
}, |
| 266 |
"generator": false, |
| 267 |
"async": false, |
| 268 |
"params": [], |
| 269 |
"body": { |
| 270 |
"type": "BlockStatement", |
| 271 |
"start":276,"end":307,"loc":{"start":{"line":19,"column":12,"index":276},"end":{"line":22,"column":1,"index":307}}, |
| 272 |
"body": [ |
| 273 |
{ |
| 274 |
"type": "ExpressionStatement", |
| 275 |
"start":280,"end":297,"loc":{"start":{"line":20,"column":2,"index":280},"end":{"line":20,"column":19,"index":297}}, |
| 276 |
"expression": { |
| 277 |
"type": "MemberExpression", |
| 278 |
"start":280,"end":296,"loc":{"start":{"line":20,"column":2,"index":280},"end":{"line":20,"column":18,"index":296}}, |
| 279 |
"object": { |
| 280 |
"type": "StringLiteral", |
| 281 |
"start":280,"end":292,"loc":{"start":{"line":20,"column":2,"index":280},"end":{"line":20,"column":14,"index":292}}, |
| 282 |
"extra": { |
| 283 |
"rawValue": "use strict", |
| 284 |
"raw": "\"use strict\"" |
| 285 |
}, |
| 286 |
"value": "use strict" |
| 287 |
}, |
| 288 |
"computed": false, |
| 289 |
"property": { |
| 290 |
"type": "Identifier", |
| 291 |
"start":293,"end":296,"loc":{"start":{"line":20,"column":15,"index":293},"end":{"line":20,"column":18,"index":296},"identifierName":"foo"}, |
| 292 |
"name": "foo" |
| 293 |
} |
| 294 |
} |
| 295 |
}, |
| 296 |
{ |
| 297 |
"type": "ExpressionStatement", |
| 298 |
"start":300,"end":305,"loc":{"start":{"line":21,"column":2,"index":300},"end":{"line":21,"column":7,"index":305}}, |
| 299 |
"expression": { |
| 300 |
"type": "StringLiteral", |
| 301 |
"start":300,"end":304,"loc":{"start":{"line":21,"column":2,"index":300},"end":{"line":21,"column":6,"index":304}}, |
| 302 |
"extra": { |
| 303 |
"rawValue": "\u0005", |
| 304 |
"raw": "\"\\5\"" |
| 305 |
}, |
| 306 |
"value": "\u0005" |
| 307 |
} |
| 308 |
} |
| 309 |
], |
| 310 |
"directives": [] |
| 311 |
} |
| 312 |
}, |
| 313 |
{ |
| 314 |
"type": "FunctionDeclaration", |
| 315 |
"start":309,"end":353,"loc":{"start":{"line":24,"column":0,"index":309},"end":{"line":27,"column":1,"index":353}}, |
| 316 |
"id": { |
| 317 |
"type": "Identifier", |
| 318 |
"start":318,"end":319,"loc":{"start":{"line":24,"column":9,"index":318},"end":{"line":24,"column":10,"index":319},"identifierName":"f"}, |
| 319 |
"name": "f" |
| 320 |
}, |
| 321 |
"generator": false, |
| 322 |
"async": false, |
| 323 |
"params": [], |
| 324 |
"body": { |
| 325 |
"type": "BlockStatement", |
| 326 |
"start":321,"end":353,"loc":{"start":{"line":24,"column":12,"index":321},"end":{"line":27,"column":1,"index":353}}, |
| 327 |
"body": [ |
| 328 |
{ |
| 329 |
"type": "ExpressionStatement", |
| 330 |
"start":325,"end":343,"loc":{"start":{"line":25,"column":2,"index":325},"end":{"line":25,"column":20,"index":343}}, |
| 331 |
"expression": { |
| 332 |
"type": "MemberExpression", |
| 333 |
"start":325,"end":342,"loc":{"start":{"line":25,"column":2,"index":325},"end":{"line":25,"column":19,"index":342}}, |
| 334 |
"object": { |
| 335 |
"type": "StringLiteral", |
| 336 |
"start":325,"end":337,"loc":{"start":{"line":25,"column":2,"index":325},"end":{"line":25,"column":14,"index":337}}, |
| 337 |
"extra": { |
| 338 |
"rawValue": "use strict", |
| 339 |
"raw": "\"use strict\"" |
| 340 |
}, |
| 341 |
"value": "use strict" |
| 342 |
}, |
| 343 |
"computed": true, |
| 344 |
"property": { |
| 345 |
"type": "Identifier", |
| 346 |
"start":338,"end":341,"loc":{"start":{"line":25,"column":15,"index":338},"end":{"line":25,"column":18,"index":341},"identifierName":"foo"}, |
| 347 |
"name": "foo" |
| 348 |
} |
| 349 |
} |
| 350 |
}, |
| 351 |
{ |
| 352 |
"type": "ExpressionStatement", |
| 353 |
"start":346,"end":351,"loc":{"start":{"line":26,"column":2,"index":346},"end":{"line":26,"column":7,"index":351}}, |
| 354 |
"expression": { |
| 355 |
"type": "StringLiteral", |
| 356 |
"start":346,"end":350,"loc":{"start":{"line":26,"column":2,"index":346},"end":{"line":26,"column":6,"index":350}}, |
| 357 |
"extra": { |
| 358 |
"rawValue": "\u0005", |
| 359 |
"raw": "\"\\5\"" |
| 360 |
}, |
| 361 |
"value": "\u0005" |
| 362 |
} |
| 363 |
} |
| 364 |
], |
| 365 |
"directives": [] |
| 366 |
} |
| 367 |
}, |
| 368 |
{ |
| 369 |
"type": "FunctionDeclaration", |
| 370 |
"start":355,"end":399,"loc":{"start":{"line":29,"column":0,"index":355},"end":{"line":32,"column":1,"index":399}}, |
| 371 |
"id": { |
| 372 |
"type": "Identifier", |
| 373 |
"start":364,"end":365,"loc":{"start":{"line":29,"column":9,"index":364},"end":{"line":29,"column":10,"index":365},"identifierName":"f"}, |
| 374 |
"name": "f" |
| 375 |
}, |
| 376 |
"generator": false, |
| 377 |
"async": false, |
| 378 |
"params": [], |
| 379 |
"body": { |
| 380 |
"type": "BlockStatement", |
| 381 |
"start":367,"end":399,"loc":{"start":{"line":29,"column":12,"index":367},"end":{"line":32,"column":1,"index":399}}, |
| 382 |
"body": [ |
| 383 |
{ |
| 384 |
"type": "ExpressionStatement", |
| 385 |
"start":371,"end":389,"loc":{"start":{"line":30,"column":2,"index":371},"end":{"line":30,"column":20,"index":389}}, |
| 386 |
"expression": { |
| 387 |
"type": "TaggedTemplateExpression", |
| 388 |
"start":371,"end":388,"loc":{"start":{"line":30,"column":2,"index":371},"end":{"line":30,"column":19,"index":388}}, |
| 389 |
"tag": { |
| 390 |
"type": "StringLiteral", |
| 391 |
"start":371,"end":383,"loc":{"start":{"line":30,"column":2,"index":371},"end":{"line":30,"column":14,"index":383}}, |
| 392 |
"extra": { |
| 393 |
"rawValue": "use strict", |
| 394 |
"raw": "\"use strict\"" |
| 395 |
}, |
| 396 |
"value": "use strict" |
| 397 |
}, |
| 398 |
"quasi": { |
| 399 |
"type": "TemplateLiteral", |
| 400 |
"start":383,"end":388,"loc":{"start":{"line":30,"column":14,"index":383},"end":{"line":30,"column":19,"index":388}}, |
| 401 |
"expressions": [], |
| 402 |
"quasis": [ |
| 403 |
{ |
| 404 |
"type": "TemplateElement", |
| 405 |
"start":384,"end":387,"loc":{"start":{"line":30,"column":15,"index":384},"end":{"line":30,"column":18,"index":387}}, |
| 406 |
"value": { |
| 407 |
"raw": "foo", |
| 408 |
"cooked": "foo" |
| 409 |
}, |
| 410 |
"tail": true |
| 411 |
} |
| 412 |
] |
| 413 |
} |
| 414 |
} |
| 415 |
}, |
| 416 |
{ |
| 417 |
"type": "ExpressionStatement", |
| 418 |
"start":392,"end":397,"loc":{"start":{"line":31,"column":2,"index":392},"end":{"line":31,"column":7,"index":397}}, |
| 419 |
"expression": { |
| 420 |
"type": "StringLiteral", |
| 421 |
"start":392,"end":396,"loc":{"start":{"line":31,"column":2,"index":392},"end":{"line":31,"column":6,"index":396}}, |
| 422 |
"extra": { |
| 423 |
"rawValue": "\u0005", |
| 424 |
"raw": "\"\\5\"" |
| 425 |
}, |
| 426 |
"value": "\u0005" |
| 427 |
} |
| 428 |
} |
| 429 |
], |
| 430 |
"directives": [] |
| 431 |
} |
| 432 |
}, |
| 433 |
{ |
| 434 |
"type": "FunctionDeclaration", |
| 435 |
"start":401,"end":445,"loc":{"start":{"line":34,"column":0,"index":401},"end":{"line":37,"column":1,"index":445}}, |
| 436 |
"id": { |
| 437 |
"type": "Identifier", |
| 438 |
"start":410,"end":411,"loc":{"start":{"line":34,"column":9,"index":410},"end":{"line":34,"column":10,"index":411},"identifierName":"f"}, |
| 439 |
"name": "f" |
| 440 |
}, |
| 441 |
"generator": false, |
| 442 |
"async": false, |
| 443 |
"params": [], |
| 444 |
"body": { |
| 445 |
"type": "BlockStatement", |
| 446 |
"start":413,"end":445,"loc":{"start":{"line":34,"column":12,"index":413},"end":{"line":37,"column":1,"index":445}}, |
| 447 |
"body": [ |
| 448 |
{ |
| 449 |
"type": "ExpressionStatement", |
| 450 |
"start":417,"end":435,"loc":{"start":{"line":35,"column":2,"index":417},"end":{"line":35,"column":20,"index":435}}, |
| 451 |
"expression": { |
| 452 |
"type": "CallExpression", |
| 453 |
"start":417,"end":434,"loc":{"start":{"line":35,"column":2,"index":417},"end":{"line":35,"column":19,"index":434}}, |
| 454 |
"callee": { |
| 455 |
"type": "StringLiteral", |
| 456 |
"start":417,"end":429,"loc":{"start":{"line":35,"column":2,"index":417},"end":{"line":35,"column":14,"index":429}}, |
| 457 |
"extra": { |
| 458 |
"rawValue": "use strict", |
| 459 |
"raw": "\"use strict\"" |
| 460 |
}, |
| 461 |
"value": "use strict" |
| 462 |
}, |
| 463 |
"arguments": [ |
| 464 |
{ |
| 465 |
"type": "Identifier", |
| 466 |
"start":430,"end":433,"loc":{"start":{"line":35,"column":15,"index":430},"end":{"line":35,"column":18,"index":433},"identifierName":"foo"}, |
| 467 |
"name": "foo" |
| 468 |
} |
| 469 |
] |
| 470 |
} |
| 471 |
}, |
| 472 |
{ |
| 473 |
"type": "ExpressionStatement", |
| 474 |
"start":438,"end":443,"loc":{"start":{"line":36,"column":2,"index":438},"end":{"line":36,"column":7,"index":443}}, |
| 475 |
"expression": { |
| 476 |
"type": "StringLiteral", |
| 477 |
"start":438,"end":442,"loc":{"start":{"line":36,"column":2,"index":438},"end":{"line":36,"column":6,"index":442}}, |
| 478 |
"extra": { |
| 479 |
"rawValue": "\u0005", |
| 480 |
"raw": "\"\\5\"" |
| 481 |
}, |
| 482 |
"value": "\u0005" |
| 483 |
} |
| 484 |
} |
| 485 |
], |
| 486 |
"directives": [] |
| 487 |
} |
| 488 |
}, |
| 489 |
{ |
| 490 |
"type": "FunctionDeclaration", |
| 491 |
"start":447,"end":493,"loc":{"start":{"line":39,"column":0,"index":447},"end":{"line":43,"column":1,"index":493}}, |
| 492 |
"id": { |
| 493 |
"type": "Identifier", |
| 494 |
"start":456,"end":457,"loc":{"start":{"line":39,"column":9,"index":456},"end":{"line":39,"column":10,"index":457},"identifierName":"f"}, |
| 495 |
"name": "f" |
| 496 |
}, |
| 497 |
"generator": false, |
| 498 |
"async": false, |
| 499 |
"params": [], |
| 500 |
"body": { |
| 501 |
"type": "BlockStatement", |
| 502 |
"start":459,"end":493,"loc":{"start":{"line":39,"column":12,"index":459},"end":{"line":43,"column":1,"index":493}}, |
| 503 |
"body": [ |
| 504 |
{ |
| 505 |
"type": "ExpressionStatement", |
| 506 |
"start":463,"end":483,"loc":{"start":{"line":40,"column":2,"index":463},"end":{"line":41,"column":7,"index":483}}, |
| 507 |
"expression": { |
| 508 |
"type": "MemberExpression", |
| 509 |
"start":463,"end":482,"loc":{"start":{"line":40,"column":2,"index":463},"end":{"line":41,"column":6,"index":482}}, |
| 510 |
"object": { |
| 511 |
"type": "StringLiteral", |
| 512 |
"start":463,"end":475,"loc":{"start":{"line":40,"column":2,"index":463},"end":{"line":40,"column":14,"index":475}}, |
| 513 |
"extra": { |
| 514 |
"rawValue": "use strict", |
| 515 |
"raw": "\"use strict\"" |
| 516 |
}, |
| 517 |
"value": "use strict" |
| 518 |
}, |
| 519 |
"computed": false, |
| 520 |
"property": { |
| 521 |
"type": "Identifier", |
| 522 |
"start":479,"end":482,"loc":{"start":{"line":41,"column":3,"index":479},"end":{"line":41,"column":6,"index":482},"identifierName":"foo"}, |
| 523 |
"name": "foo" |
| 524 |
} |
| 525 |
} |
| 526 |
}, |
| 527 |
{ |
| 528 |
"type": "ExpressionStatement", |
| 529 |
"start":486,"end":491,"loc":{"start":{"line":42,"column":2,"index":486},"end":{"line":42,"column":7,"index":491}}, |
| 530 |
"expression": { |
| 531 |
"type": "StringLiteral", |
| 532 |
"start":486,"end":490,"loc":{"start":{"line":42,"column":2,"index":486},"end":{"line":42,"column":6,"index":490}}, |
| 533 |
"extra": { |
| 534 |
"rawValue": "\u0005", |
| 535 |
"raw": "\"\\5\"" |
| 536 |
}, |
| 537 |
"value": "\u0005" |
| 538 |
} |
| 539 |
} |
| 540 |
], |
| 541 |
"directives": [] |
| 542 |
} |
| 543 |
}, |
| 544 |
{ |
| 545 |
"type": "FunctionDeclaration", |
| 546 |
"start":495,"end":542,"loc":{"start":{"line":45,"column":0,"index":495},"end":{"line":49,"column":1,"index":542}}, |
| 547 |
"id": { |
| 548 |
"type": "Identifier", |
| 549 |
"start":504,"end":505,"loc":{"start":{"line":45,"column":9,"index":504},"end":{"line":45,"column":10,"index":505},"identifierName":"f"}, |
| 550 |
"name": "f" |
| 551 |
}, |
| 552 |
"generator": false, |
| 553 |
"async": false, |
| 554 |
"params": [], |
| 555 |
"body": { |
| 556 |
"type": "BlockStatement", |
| 557 |
"start":507,"end":542,"loc":{"start":{"line":45,"column":12,"index":507},"end":{"line":49,"column":1,"index":542}}, |
| 558 |
"body": [ |
| 559 |
{ |
| 560 |
"type": "ExpressionStatement", |
| 561 |
"start":511,"end":532,"loc":{"start":{"line":46,"column":2,"index":511},"end":{"line":47,"column":8,"index":532}}, |
| 562 |
"expression": { |
| 563 |
"type": "MemberExpression", |
| 564 |
"start":511,"end":531,"loc":{"start":{"line":46,"column":2,"index":511},"end":{"line":47,"column":7,"index":531}}, |
| 565 |
"object": { |
| 566 |
"type": "StringLiteral", |
| 567 |
"start":511,"end":523,"loc":{"start":{"line":46,"column":2,"index":511},"end":{"line":46,"column":14,"index":523}}, |
| 568 |
"extra": { |
| 569 |
"rawValue": "use strict", |
| 570 |
"raw": "\"use strict\"" |
| 571 |
}, |
| 572 |
"value": "use strict" |
| 573 |
}, |
| 574 |
"computed": true, |
| 575 |
"property": { |
| 576 |
"type": "Identifier", |
| 577 |
"start":527,"end":530,"loc":{"start":{"line":47,"column":3,"index":527},"end":{"line":47,"column":6,"index":530},"identifierName":"foo"}, |
| 578 |
"name": "foo" |
| 579 |
} |
| 580 |
} |
| 581 |
}, |
| 582 |
{ |
| 583 |
"type": "ExpressionStatement", |
| 584 |
"start":535,"end":540,"loc":{"start":{"line":48,"column":2,"index":535},"end":{"line":48,"column":7,"index":540}}, |
| 585 |
"expression": { |
| 586 |
"type": "StringLiteral", |
| 587 |
"start":535,"end":539,"loc":{"start":{"line":48,"column":2,"index":535},"end":{"line":48,"column":6,"index":539}}, |
| 588 |
"extra": { |
| 589 |
"rawValue": "\u0005", |
| 590 |
"raw": "\"\\5\"" |
| 591 |
}, |
| 592 |
"value": "\u0005" |
| 593 |
} |
| 594 |
} |
| 595 |
], |
| 596 |
"directives": [] |
| 597 |
} |
| 598 |
}, |
| 599 |
{ |
| 600 |
"type": "FunctionDeclaration", |
| 601 |
"start":544,"end":591,"loc":{"start":{"line":51,"column":0,"index":544},"end":{"line":55,"column":1,"index":591}}, |
| 602 |
"id": { |
| 603 |
"type": "Identifier", |
| 604 |
"start":553,"end":554,"loc":{"start":{"line":51,"column":9,"index":553},"end":{"line":51,"column":10,"index":554},"identifierName":"f"}, |
| 605 |
"name": "f" |
| 606 |
}, |
| 607 |
"generator": false, |
| 608 |
"async": false, |
| 609 |
"params": [], |
| 610 |
"body": { |
| 611 |
"type": "BlockStatement", |
| 612 |
"start":556,"end":591,"loc":{"start":{"line":51,"column":12,"index":556},"end":{"line":55,"column":1,"index":591}}, |
| 613 |
"body": [ |
| 614 |
{ |
| 615 |
"type": "ExpressionStatement", |
| 616 |
"start":560,"end":581,"loc":{"start":{"line":52,"column":2,"index":560},"end":{"line":53,"column":8,"index":581}}, |
| 617 |
"expression": { |
| 618 |
"type": "TaggedTemplateExpression", |
| 619 |
"start":560,"end":580,"loc":{"start":{"line":52,"column":2,"index":560},"end":{"line":53,"column":7,"index":580}}, |
| 620 |
"tag": { |
| 621 |
"type": "StringLiteral", |
| 622 |
"start":560,"end":572,"loc":{"start":{"line":52,"column":2,"index":560},"end":{"line":52,"column":14,"index":572}}, |
| 623 |
"extra": { |
| 624 |
"rawValue": "use strict", |
| 625 |
"raw": "\"use strict\"" |
| 626 |
}, |
| 627 |
"value": "use strict" |
| 628 |
}, |
| 629 |
"quasi": { |
| 630 |
"type": "TemplateLiteral", |
| 631 |
"start":575,"end":580,"loc":{"start":{"line":53,"column":2,"index":575},"end":{"line":53,"column":7,"index":580}}, |
| 632 |
"expressions": [], |
| 633 |
"quasis": [ |
| 634 |
{ |
| 635 |
"type": "TemplateElement", |
| 636 |
"start":576,"end":579,"loc":{"start":{"line":53,"column":3,"index":576},"end":{"line":53,"column":6,"index":579}}, |
| 637 |
"value": { |
| 638 |
"raw": "foo", |
| 639 |
"cooked": "foo" |
| 640 |
}, |
| 641 |
"tail": true |
| 642 |
} |
| 643 |
] |
| 644 |
} |
| 645 |
} |
| 646 |
}, |
| 647 |
{ |
| 648 |
"type": "ExpressionStatement", |
| 649 |
"start":584,"end":589,"loc":{"start":{"line":54,"column":2,"index":584},"end":{"line":54,"column":7,"index":589}}, |
| 650 |
"expression": { |
| 651 |
"type": "StringLiteral", |
| 652 |
"start":584,"end":588,"loc":{"start":{"line":54,"column":2,"index":584},"end":{"line":54,"column":6,"index":588}}, |
| 653 |
"extra": { |
| 654 |
"rawValue": "\u0005", |
| 655 |
"raw": "\"\\5\"" |
| 656 |
}, |
| 657 |
"value": "\u0005" |
| 658 |
} |
| 659 |
} |
| 660 |
], |
| 661 |
"directives": [] |
| 662 |
} |
| 663 |
}, |
| 664 |
{ |
| 665 |
"type": "FunctionDeclaration", |
| 666 |
"start":593,"end":640,"loc":{"start":{"line":57,"column":0,"index":593},"end":{"line":61,"column":1,"index":640}}, |
| 667 |
"id": { |
| 668 |
"type": "Identifier", |
| 669 |
"start":602,"end":603,"loc":{"start":{"line":57,"column":9,"index":602},"end":{"line":57,"column":10,"index":603},"identifierName":"f"}, |
| 670 |
"name": "f" |
| 671 |
}, |
| 672 |
"generator": false, |
| 673 |
"async": false, |
| 674 |
"params": [], |
| 675 |
"body": { |
| 676 |
"type": "BlockStatement", |
| 677 |
"start":605,"end":640,"loc":{"start":{"line":57,"column":12,"index":605},"end":{"line":61,"column":1,"index":640}}, |
| 678 |
"body": [ |
| 679 |
{ |
| 680 |
"type": "ExpressionStatement", |
| 681 |
"start":609,"end":630,"loc":{"start":{"line":58,"column":2,"index":609},"end":{"line":59,"column":8,"index":630}}, |
| 682 |
"expression": { |
| 683 |
"type": "CallExpression", |
| 684 |
"start":609,"end":629,"loc":{"start":{"line":58,"column":2,"index":609},"end":{"line":59,"column":7,"index":629}}, |
| 685 |
"callee": { |
| 686 |
"type": "StringLiteral", |
| 687 |
"start":609,"end":621,"loc":{"start":{"line":58,"column":2,"index":609},"end":{"line":58,"column":14,"index":621}}, |
| 688 |
"extra": { |
| 689 |
"rawValue": "use strict", |
| 690 |
"raw": "\"use strict\"" |
| 691 |
}, |
| 692 |
"value": "use strict" |
| 693 |
}, |
| 694 |
"arguments": [ |
| 695 |
{ |
| 696 |
"type": "Identifier", |
| 697 |
"start":625,"end":628,"loc":{"start":{"line":59,"column":3,"index":625},"end":{"line":59,"column":6,"index":628},"identifierName":"foo"}, |
| 698 |
"name": "foo" |
| 699 |
} |
| 700 |
] |
| 701 |
} |
| 702 |
}, |
| 703 |
{ |
| 704 |
"type": "ExpressionStatement", |
| 705 |
"start":633,"end":638,"loc":{"start":{"line":60,"column":2,"index":633},"end":{"line":60,"column":7,"index":638}}, |
| 706 |
"expression": { |
| 707 |
"type": "StringLiteral", |
| 708 |
"start":633,"end":637,"loc":{"start":{"line":60,"column":2,"index":633},"end":{"line":60,"column":6,"index":637}}, |
| 709 |
"extra": { |
| 710 |
"rawValue": "\u0005", |
| 711 |
"raw": "\"\\5\"" |
| 712 |
}, |
| 713 |
"value": "\u0005" |
| 714 |
} |
| 715 |
} |
| 716 |
], |
| 717 |
"directives": [] |
| 718 |
} |
| 719 |
}, |
| 720 |
{ |
| 721 |
"type": "FunctionDeclaration", |
| 722 |
"start":642,"end":694,"loc":{"start":{"line":63,"column":0,"index":642},"end":{"line":67,"column":1,"index":694}}, |
| 723 |
"id": { |
| 724 |
"type": "Identifier", |
| 725 |
"start":651,"end":652,"loc":{"start":{"line":63,"column":9,"index":651},"end":{"line":63,"column":10,"index":652},"identifierName":"f"}, |
| 726 |
"name": "f" |
| 727 |
}, |
| 728 |
"generator": false, |
| 729 |
"async": false, |
| 730 |
"params": [], |
| 731 |
"body": { |
| 732 |
"type": "BlockStatement", |
| 733 |
"start":654,"end":694,"loc":{"start":{"line":63,"column":12,"index":654},"end":{"line":67,"column":1,"index":694}}, |
| 734 |
"body": [ |
| 735 |
{ |
| 736 |
"type": "ExpressionStatement", |
| 737 |
"start":658,"end":664,"loc":{"start":{"line":64,"column":2,"index":658},"end":{"line":64,"column":8,"index":664}}, |
| 738 |
"expression": { |
| 739 |
"type": "CallExpression", |
| 740 |
"start":658,"end":663,"loc":{"start":{"line":64,"column":2,"index":658},"end":{"line":64,"column":7,"index":663}}, |
| 741 |
"callee": { |
| 742 |
"type": "Identifier", |
| 743 |
"start":658,"end":661,"loc":{"start":{"line":64,"column":2,"index":658},"end":{"line":64,"column":5,"index":661},"identifierName":"foo"}, |
| 744 |
"name": "foo" |
| 745 |
}, |
| 746 |
"arguments": [] |
| 747 |
} |
| 748 |
}, |
| 749 |
{ |
| 750 |
"type": "ExpressionStatement", |
| 751 |
"start":667,"end":684,"loc":{"start":{"line":65,"column":2,"index":667},"end":{"line":65,"column":19,"index":684}}, |
| 752 |
"expression": { |
| 753 |
"type": "MemberExpression", |
| 754 |
"start":667,"end":683,"loc":{"start":{"line":65,"column":2,"index":667},"end":{"line":65,"column":18,"index":683}}, |
| 755 |
"object": { |
| 756 |
"type": "StringLiteral", |
| 757 |
"start":667,"end":679,"loc":{"start":{"line":65,"column":2,"index":667},"end":{"line":65,"column":14,"index":679}}, |
| 758 |
"extra": { |
| 759 |
"rawValue": "use strict", |
| 760 |
"raw": "\"use strict\"" |
| 761 |
}, |
| 762 |
"value": "use strict" |
| 763 |
}, |
| 764 |
"computed": false, |
| 765 |
"property": { |
| 766 |
"type": "Identifier", |
| 767 |
"start":680,"end":683,"loc":{"start":{"line":65,"column":15,"index":680},"end":{"line":65,"column":18,"index":683},"identifierName":"bar"}, |
| 768 |
"name": "bar" |
| 769 |
} |
| 770 |
} |
| 771 |
}, |
| 772 |
{ |
| 773 |
"type": "ExpressionStatement", |
| 774 |
"start":687,"end":692,"loc":{"start":{"line":66,"column":2,"index":687},"end":{"line":66,"column":7,"index":692}}, |
| 775 |
"expression": { |
| 776 |
"type": "StringLiteral", |
| 777 |
"start":687,"end":691,"loc":{"start":{"line":66,"column":2,"index":687},"end":{"line":66,"column":6,"index":691}}, |
| 778 |
"extra": { |
| 779 |
"rawValue": "\u0005", |
| 780 |
"raw": "\"\\5\"" |
| 781 |
}, |
| 782 |
"value": "\u0005" |
| 783 |
} |
| 784 |
} |
| 785 |
], |
| 786 |
"directives": [] |
| 787 |
} |
| 788 |
}, |
| 789 |
{ |
| 790 |
"type": "FunctionDeclaration", |
| 791 |
"start":696,"end":749,"loc":{"start":{"line":69,"column":0,"index":696},"end":{"line":73,"column":1,"index":749}}, |
| 792 |
"id": { |
| 793 |
"type": "Identifier", |
| 794 |
"start":705,"end":706,"loc":{"start":{"line":69,"column":9,"index":705},"end":{"line":69,"column":10,"index":706},"identifierName":"f"}, |
| 795 |
"name": "f" |
| 796 |
}, |
| 797 |
"generator": false, |
| 798 |
"async": false, |
| 799 |
"params": [], |
| 800 |
"body": { |
| 801 |
"type": "BlockStatement", |
| 802 |
"start":708,"end":749,"loc":{"start":{"line":69,"column":12,"index":708},"end":{"line":73,"column":1,"index":749}}, |
| 803 |
"body": [ |
| 804 |
{ |
| 805 |
"type": "ExpressionStatement", |
| 806 |
"start":712,"end":718,"loc":{"start":{"line":70,"column":2,"index":712},"end":{"line":70,"column":8,"index":718}}, |
| 807 |
"expression": { |
| 808 |
"type": "CallExpression", |
| 809 |
"start":712,"end":717,"loc":{"start":{"line":70,"column":2,"index":712},"end":{"line":70,"column":7,"index":717}}, |
| 810 |
"callee": { |
| 811 |
"type": "Identifier", |
| 812 |
"start":712,"end":715,"loc":{"start":{"line":70,"column":2,"index":712},"end":{"line":70,"column":5,"index":715},"identifierName":"foo"}, |
| 813 |
"name": "foo" |
| 814 |
}, |
| 815 |
"arguments": [] |
| 816 |
} |
| 817 |
}, |
| 818 |
{ |
| 819 |
"type": "ExpressionStatement", |
| 820 |
"start":721,"end":739,"loc":{"start":{"line":71,"column":2,"index":721},"end":{"line":71,"column":20,"index":739}}, |
| 821 |
"expression": { |
| 822 |
"type": "MemberExpression", |
| 823 |
"start":721,"end":738,"loc":{"start":{"line":71,"column":2,"index":721},"end":{"line":71,"column":19,"index":738}}, |
| 824 |
"object": { |
| 825 |
"type": "StringLiteral", |
| 826 |
"start":721,"end":733,"loc":{"start":{"line":71,"column":2,"index":721},"end":{"line":71,"column":14,"index":733}}, |
| 827 |
"extra": { |
| 828 |
"rawValue": "use strict", |
| 829 |
"raw": "\"use strict\"" |
| 830 |
}, |
| 831 |
"value": "use strict" |
| 832 |
}, |
| 833 |
"computed": true, |
| 834 |
"property": { |
| 835 |
"type": "Identifier", |
| 836 |
"start":734,"end":737,"loc":{"start":{"line":71,"column":15,"index":734},"end":{"line":71,"column":18,"index":737},"identifierName":"bar"}, |
| 837 |
"name": "bar" |
| 838 |
} |
| 839 |
} |
| 840 |
}, |
| 841 |
{ |
| 842 |
"type": "ExpressionStatement", |
| 843 |
"start":742,"end":747,"loc":{"start":{"line":72,"column":2,"index":742},"end":{"line":72,"column":7,"index":747}}, |
| 844 |
"expression": { |
| 845 |
"type": "StringLiteral", |
| 846 |
"start":742,"end":746,"loc":{"start":{"line":72,"column":2,"index":742},"end":{"line":72,"column":6,"index":746}}, |
| 847 |
"extra": { |
| 848 |
"rawValue": "\u0005", |
| 849 |
"raw": "\"\\5\"" |
| 850 |
}, |
| 851 |
"value": "\u0005" |
| 852 |
} |
| 853 |
} |
| 854 |
], |
| 855 |
"directives": [] |
| 856 |
} |
| 857 |
}, |
| 858 |
{ |
| 859 |
"type": "FunctionDeclaration", |
| 860 |
"start":751,"end":804,"loc":{"start":{"line":75,"column":0,"index":751},"end":{"line":79,"column":1,"index":804}}, |
| 861 |
"id": { |
| 862 |
"type": "Identifier", |
| 863 |
"start":760,"end":761,"loc":{"start":{"line":75,"column":9,"index":760},"end":{"line":75,"column":10,"index":761},"identifierName":"f"}, |
| 864 |
"name": "f" |
| 865 |
}, |
| 866 |
"generator": false, |
| 867 |
"async": false, |
| 868 |
"params": [], |
| 869 |
"body": { |
| 870 |
"type": "BlockStatement", |
| 871 |
"start":763,"end":804,"loc":{"start":{"line":75,"column":12,"index":763},"end":{"line":79,"column":1,"index":804}}, |
| 872 |
"body": [ |
| 873 |
{ |
| 874 |
"type": "ExpressionStatement", |
| 875 |
"start":767,"end":773,"loc":{"start":{"line":76,"column":2,"index":767},"end":{"line":76,"column":8,"index":773}}, |
| 876 |
"expression": { |
| 877 |
"type": "CallExpression", |
| 878 |
"start":767,"end":772,"loc":{"start":{"line":76,"column":2,"index":767},"end":{"line":76,"column":7,"index":772}}, |
| 879 |
"callee": { |
| 880 |
"type": "Identifier", |
| 881 |
"start":767,"end":770,"loc":{"start":{"line":76,"column":2,"index":767},"end":{"line":76,"column":5,"index":770},"identifierName":"foo"}, |
| 882 |
"name": "foo" |
| 883 |
}, |
| 884 |
"arguments": [] |
| 885 |
} |
| 886 |
}, |
| 887 |
{ |
| 888 |
"type": "ExpressionStatement", |
| 889 |
"start":776,"end":794,"loc":{"start":{"line":77,"column":2,"index":776},"end":{"line":77,"column":20,"index":794}}, |
| 890 |
"expression": { |
| 891 |
"type": "TaggedTemplateExpression", |
| 892 |
"start":776,"end":793,"loc":{"start":{"line":77,"column":2,"index":776},"end":{"line":77,"column":19,"index":793}}, |
| 893 |
"tag": { |
| 894 |
"type": "StringLiteral", |
| 895 |
"start":776,"end":788,"loc":{"start":{"line":77,"column":2,"index":776},"end":{"line":77,"column":14,"index":788}}, |
| 896 |
"extra": { |
| 897 |
"rawValue": "use strict", |
| 898 |
"raw": "\"use strict\"" |
| 899 |
}, |
| 900 |
"value": "use strict" |
| 901 |
}, |
| 902 |
"quasi": { |
| 903 |
"type": "TemplateLiteral", |
| 904 |
"start":788,"end":793,"loc":{"start":{"line":77,"column":14,"index":788},"end":{"line":77,"column":19,"index":793}}, |
| 905 |
"expressions": [], |
| 906 |
"quasis": [ |
| 907 |
{ |
| 908 |
"type": "TemplateElement", |
| 909 |
"start":789,"end":792,"loc":{"start":{"line":77,"column":15,"index":789},"end":{"line":77,"column":18,"index":792}}, |
| 910 |
"value": { |
| 911 |
"raw": "bar", |
| 912 |
"cooked": "bar" |
| 913 |
}, |
| 914 |
"tail": true |
| 915 |
} |
| 916 |
] |
| 917 |
} |
| 918 |
} |
| 919 |
}, |
| 920 |
{ |
| 921 |
"type": "ExpressionStatement", |
| 922 |
"start":797,"end":802,"loc":{"start":{"line":78,"column":2,"index":797},"end":{"line":78,"column":7,"index":802}}, |
| 923 |
"expression": { |
| 924 |
"type": "StringLiteral", |
| 925 |
"start":797,"end":801,"loc":{"start":{"line":78,"column":2,"index":797},"end":{"line":78,"column":6,"index":801}}, |
| 926 |
"extra": { |
| 927 |
"rawValue": "\u0005", |
| 928 |
"raw": "\"\\5\"" |
| 929 |
}, |
| 930 |
"value": "\u0005" |
| 931 |
} |
| 932 |
} |
| 933 |
], |
| 934 |
"directives": [] |
| 935 |
} |
| 936 |
}, |
| 937 |
{ |
| 938 |
"type": "FunctionDeclaration", |
| 939 |
"start":806,"end":859,"loc":{"start":{"line":81,"column":0,"index":806},"end":{"line":85,"column":1,"index":859}}, |
| 940 |
"id": { |
| 941 |
"type": "Identifier", |
| 942 |
"start":815,"end":816,"loc":{"start":{"line":81,"column":9,"index":815},"end":{"line":81,"column":10,"index":816},"identifierName":"f"}, |
| 943 |
"name": "f" |
| 944 |
}, |
| 945 |
"generator": false, |
| 946 |
"async": false, |
| 947 |
"params": [], |
| 948 |
"body": { |
| 949 |
"type": "BlockStatement", |
| 950 |
"start":818,"end":859,"loc":{"start":{"line":81,"column":12,"index":818},"end":{"line":85,"column":1,"index":859}}, |
| 951 |
"body": [ |
| 952 |
{ |
| 953 |
"type": "ExpressionStatement", |
| 954 |
"start":822,"end":828,"loc":{"start":{"line":82,"column":2,"index":822},"end":{"line":82,"column":8,"index":828}}, |
| 955 |
"expression": { |
| 956 |
"type": "CallExpression", |
| 957 |
"start":822,"end":827,"loc":{"start":{"line":82,"column":2,"index":822},"end":{"line":82,"column":7,"index":827}}, |
| 958 |
"callee": { |
| 959 |
"type": "Identifier", |
| 960 |
"start":822,"end":825,"loc":{"start":{"line":82,"column":2,"index":822},"end":{"line":82,"column":5,"index":825},"identifierName":"foo"}, |
| 961 |
"name": "foo" |
| 962 |
}, |
| 963 |
"arguments": [] |
| 964 |
} |
| 965 |
}, |
| 966 |
{ |
| 967 |
"type": "ExpressionStatement", |
| 968 |
"start":831,"end":849,"loc":{"start":{"line":83,"column":2,"index":831},"end":{"line":83,"column":20,"index":849}}, |
| 969 |
"expression": { |
| 970 |
"type": "CallExpression", |
| 971 |
"start":831,"end":848,"loc":{"start":{"line":83,"column":2,"index":831},"end":{"line":83,"column":19,"index":848}}, |
| 972 |
"callee": { |
| 973 |
"type": "StringLiteral", |
| 974 |
"start":831,"end":843,"loc":{"start":{"line":83,"column":2,"index":831},"end":{"line":83,"column":14,"index":843}}, |
| 975 |
"extra": { |
| 976 |
"rawValue": "use strict", |
| 977 |
"raw": "\"use strict\"" |
| 978 |
}, |
| 979 |
"value": "use strict" |
| 980 |
}, |
| 981 |
"arguments": [ |
| 982 |
{ |
| 983 |
"type": "Identifier", |
| 984 |
"start":844,"end":847,"loc":{"start":{"line":83,"column":15,"index":844},"end":{"line":83,"column":18,"index":847},"identifierName":"bar"}, |
| 985 |
"name": "bar" |
| 986 |
} |
| 987 |
] |
| 988 |
} |
| 989 |
}, |
| 990 |
{ |
| 991 |
"type": "ExpressionStatement", |
| 992 |
"start":852,"end":857,"loc":{"start":{"line":84,"column":2,"index":852},"end":{"line":84,"column":7,"index":857}}, |
| 993 |
"expression": { |
| 994 |
"type": "StringLiteral", |
| 995 |
"start":852,"end":856,"loc":{"start":{"line":84,"column":2,"index":852},"end":{"line":84,"column":6,"index":856}}, |
| 996 |
"extra": { |
| 997 |
"rawValue": "\u0005", |
| 998 |
"raw": "\"\\5\"" |
| 999 |
}, |
| 1000 |
"value": "\u0005" |
| 1001 |
} |
| 1002 |
} |
| 1003 |
], |
| 1004 |
"directives": [] |
| 1005 |
} |
| 1006 |
}, |
| 1007 |
{ |
| 1008 |
"type": "FunctionDeclaration", |
| 1009 |
"start":861,"end":916,"loc":{"start":{"line":87,"column":0,"index":861},"end":{"line":92,"column":1,"index":916}}, |
| 1010 |
"id": { |
| 1011 |
"type": "Identifier", |
| 1012 |
"start":870,"end":871,"loc":{"start":{"line":87,"column":9,"index":870},"end":{"line":87,"column":10,"index":871},"identifierName":"f"}, |
| 1013 |
"name": "f" |
| 1014 |
}, |
| 1015 |
"generator": false, |
| 1016 |
"async": false, |
| 1017 |
"params": [], |
| 1018 |
"body": { |
| 1019 |
"type": "BlockStatement", |
| 1020 |
"start":873,"end":916,"loc":{"start":{"line":87,"column":12,"index":873},"end":{"line":92,"column":1,"index":916}}, |
| 1021 |
"body": [ |
| 1022 |
{ |
| 1023 |
"type": "ExpressionStatement", |
| 1024 |
"start":877,"end":883,"loc":{"start":{"line":88,"column":2,"index":877},"end":{"line":88,"column":8,"index":883}}, |
| 1025 |
"expression": { |
| 1026 |
"type": "CallExpression", |
| 1027 |
"start":877,"end":882,"loc":{"start":{"line":88,"column":2,"index":877},"end":{"line":88,"column":7,"index":882}}, |
| 1028 |
"callee": { |
| 1029 |
"type": "Identifier", |
| 1030 |
"start":877,"end":880,"loc":{"start":{"line":88,"column":2,"index":877},"end":{"line":88,"column":5,"index":880},"identifierName":"foo"}, |
| 1031 |
"name": "foo" |
| 1032 |
}, |
| 1033 |
"arguments": [] |
| 1034 |
} |
| 1035 |
}, |
| 1036 |
{ |
| 1037 |
"type": "ExpressionStatement", |
| 1038 |
"start":886,"end":906,"loc":{"start":{"line":89,"column":2,"index":886},"end":{"line":90,"column":7,"index":906}}, |
| 1039 |
"expression": { |
| 1040 |
"type": "MemberExpression", |
| 1041 |
"start":886,"end":905,"loc":{"start":{"line":89,"column":2,"index":886},"end":{"line":90,"column":6,"index":905}}, |
| 1042 |
"object": { |
| 1043 |
"type": "StringLiteral", |
| 1044 |
"start":886,"end":898,"loc":{"start":{"line":89,"column":2,"index":886},"end":{"line":89,"column":14,"index":898}}, |
| 1045 |
"extra": { |
| 1046 |
"rawValue": "use strict", |
| 1047 |
"raw": "\"use strict\"" |
| 1048 |
}, |
| 1049 |
"value": "use strict" |
| 1050 |
}, |
| 1051 |
"computed": false, |
| 1052 |
"property": { |
| 1053 |
"type": "Identifier", |
| 1054 |
"start":902,"end":905,"loc":{"start":{"line":90,"column":3,"index":902},"end":{"line":90,"column":6,"index":905},"identifierName":"bar"}, |
| 1055 |
"name": "bar" |
| 1056 |
} |
| 1057 |
} |
| 1058 |
}, |
| 1059 |
{ |
| 1060 |
"type": "ExpressionStatement", |
| 1061 |
"start":909,"end":914,"loc":{"start":{"line":91,"column":2,"index":909},"end":{"line":91,"column":7,"index":914}}, |
| 1062 |
"expression": { |
| 1063 |
"type": "StringLiteral", |
| 1064 |
"start":909,"end":913,"loc":{"start":{"line":91,"column":2,"index":909},"end":{"line":91,"column":6,"index":913}}, |
| 1065 |
"extra": { |
| 1066 |
"rawValue": "\u0005", |
| 1067 |
"raw": "\"\\5\"" |
| 1068 |
}, |
| 1069 |
"value": "\u0005" |
| 1070 |
} |
| 1071 |
} |
| 1072 |
], |
| 1073 |
"directives": [] |
| 1074 |
} |
| 1075 |
}, |
| 1076 |
{ |
| 1077 |
"type": "FunctionDeclaration", |
| 1078 |
"start":918,"end":974,"loc":{"start":{"line":94,"column":0,"index":918},"end":{"line":99,"column":1,"index":974}}, |
| 1079 |
"id": { |
| 1080 |
"type": "Identifier", |
| 1081 |
"start":927,"end":928,"loc":{"start":{"line":94,"column":9,"index":927},"end":{"line":94,"column":10,"index":928},"identifierName":"f"}, |
| 1082 |
"name": "f" |
| 1083 |
}, |
| 1084 |
"generator": false, |
| 1085 |
"async": false, |
| 1086 |
"params": [], |
| 1087 |
"body": { |
| 1088 |
"type": "BlockStatement", |
| 1089 |
"start":930,"end":974,"loc":{"start":{"line":94,"column":12,"index":930},"end":{"line":99,"column":1,"index":974}}, |
| 1090 |
"body": [ |
| 1091 |
{ |
| 1092 |
"type": "ExpressionStatement", |
| 1093 |
"start":934,"end":940,"loc":{"start":{"line":95,"column":2,"index":934},"end":{"line":95,"column":8,"index":940}}, |
| 1094 |
"expression": { |
| 1095 |
"type": "CallExpression", |
| 1096 |
"start":934,"end":939,"loc":{"start":{"line":95,"column":2,"index":934},"end":{"line":95,"column":7,"index":939}}, |
| 1097 |
"callee": { |
| 1098 |
"type": "Identifier", |
| 1099 |
"start":934,"end":937,"loc":{"start":{"line":95,"column":2,"index":934},"end":{"line":95,"column":5,"index":937},"identifierName":"foo"}, |
| 1100 |
"name": "foo" |
| 1101 |
}, |
| 1102 |
"arguments": [] |
| 1103 |
} |
| 1104 |
}, |
| 1105 |
{ |
| 1106 |
"type": "ExpressionStatement", |
| 1107 |
"start":943,"end":964,"loc":{"start":{"line":96,"column":2,"index":943},"end":{"line":97,"column":8,"index":964}}, |
| 1108 |
"expression": { |
| 1109 |
"type": "MemberExpression", |
| 1110 |
"start":943,"end":963,"loc":{"start":{"line":96,"column":2,"index":943},"end":{"line":97,"column":7,"index":963}}, |
| 1111 |
"object": { |
| 1112 |
"type": "StringLiteral", |
| 1113 |
"start":943,"end":955,"loc":{"start":{"line":96,"column":2,"index":943},"end":{"line":96,"column":14,"index":955}}, |
| 1114 |
"extra": { |
| 1115 |
"rawValue": "use strict", |
| 1116 |
"raw": "\"use strict\"" |
| 1117 |
}, |
| 1118 |
"value": "use strict" |
| 1119 |
}, |
| 1120 |
"computed": true, |
| 1121 |
"property": { |
| 1122 |
"type": "Identifier", |
| 1123 |
"start":959,"end":962,"loc":{"start":{"line":97,"column":3,"index":959},"end":{"line":97,"column":6,"index":962},"identifierName":"bar"}, |
| 1124 |
"name": "bar" |
| 1125 |
} |
| 1126 |
} |
| 1127 |
}, |
| 1128 |
{ |
| 1129 |
"type": "ExpressionStatement", |
| 1130 |
"start":967,"end":972,"loc":{"start":{"line":98,"column":2,"index":967},"end":{"line":98,"column":7,"index":972}}, |
| 1131 |
"expression": { |
| 1132 |
"type": "StringLiteral", |
| 1133 |
"start":967,"end":971,"loc":{"start":{"line":98,"column":2,"index":967},"end":{"line":98,"column":6,"index":971}}, |
| 1134 |
"extra": { |
| 1135 |
"rawValue": "\u0005", |
| 1136 |
"raw": "\"\\5\"" |
| 1137 |
}, |
| 1138 |
"value": "\u0005" |
| 1139 |
} |
| 1140 |
} |
| 1141 |
], |
| 1142 |
"directives": [] |
| 1143 |
} |
| 1144 |
}, |
| 1145 |
{ |
| 1146 |
"type": "FunctionDeclaration", |
| 1147 |
"start":976,"end":1032,"loc":{"start":{"line":101,"column":0,"index":976},"end":{"line":106,"column":1,"index":1032}}, |
| 1148 |
"id": { |
| 1149 |
"type": "Identifier", |
| 1150 |
"start":985,"end":986,"loc":{"start":{"line":101,"column":9,"index":985},"end":{"line":101,"column":10,"index":986},"identifierName":"f"}, |
| 1151 |
"name": "f" |
| 1152 |
}, |
| 1153 |
"generator": false, |
| 1154 |
"async": false, |
| 1155 |
"params": [], |
| 1156 |
"body": { |
| 1157 |
"type": "BlockStatement", |
| 1158 |
"start":988,"end":1032,"loc":{"start":{"line":101,"column":12,"index":988},"end":{"line":106,"column":1,"index":1032}}, |
| 1159 |
"body": [ |
| 1160 |
{ |
| 1161 |
"type": "ExpressionStatement", |
| 1162 |
"start":992,"end":998,"loc":{"start":{"line":102,"column":2,"index":992},"end":{"line":102,"column":8,"index":998}}, |
| 1163 |
"expression": { |
| 1164 |
"type": "CallExpression", |
| 1165 |
"start":992,"end":997,"loc":{"start":{"line":102,"column":2,"index":992},"end":{"line":102,"column":7,"index":997}}, |
| 1166 |
"callee": { |
| 1167 |
"type": "Identifier", |
| 1168 |
"start":992,"end":995,"loc":{"start":{"line":102,"column":2,"index":992},"end":{"line":102,"column":5,"index":995},"identifierName":"foo"}, |
| 1169 |
"name": "foo" |
| 1170 |
}, |
| 1171 |
"arguments": [] |
| 1172 |
} |
| 1173 |
}, |
| 1174 |
{ |
| 1175 |
"type": "ExpressionStatement", |
| 1176 |
"start":1001,"end":1022,"loc":{"start":{"line":103,"column":2,"index":1001},"end":{"line":104,"column":8,"index":1022}}, |
| 1177 |
"expression": { |
| 1178 |
"type": "TaggedTemplateExpression", |
| 1179 |
"start":1001,"end":1021,"loc":{"start":{"line":103,"column":2,"index":1001},"end":{"line":104,"column":7,"index":1021}}, |
| 1180 |
"tag": { |
| 1181 |
"type": "StringLiteral", |
| 1182 |
"start":1001,"end":1013,"loc":{"start":{"line":103,"column":2,"index":1001},"end":{"line":103,"column":14,"index":1013}}, |
| 1183 |
"extra": { |
| 1184 |
"rawValue": "use strict", |
| 1185 |
"raw": "\"use strict\"" |
| 1186 |
}, |
| 1187 |
"value": "use strict" |
| 1188 |
}, |
| 1189 |
"quasi": { |
| 1190 |
"type": "TemplateLiteral", |
| 1191 |
"start":1016,"end":1021,"loc":{"start":{"line":104,"column":2,"index":1016},"end":{"line":104,"column":7,"index":1021}}, |
| 1192 |
"expressions": [], |
| 1193 |
"quasis": [ |
| 1194 |
{ |
| 1195 |
"type": "TemplateElement", |
| 1196 |
"start":1017,"end":1020,"loc":{"start":{"line":104,"column":3,"index":1017},"end":{"line":104,"column":6,"index":1020}}, |
| 1197 |
"value": { |
| 1198 |
"raw": "bar", |
| 1199 |
"cooked": "bar" |
| 1200 |
}, |
| 1201 |
"tail": true |
| 1202 |
} |
| 1203 |
] |
| 1204 |
} |
| 1205 |
} |
| 1206 |
}, |
| 1207 |
{ |
| 1208 |
"type": "ExpressionStatement", |
| 1209 |
"start":1025,"end":1030,"loc":{"start":{"line":105,"column":2,"index":1025},"end":{"line":105,"column":7,"index":1030}}, |
| 1210 |
"expression": { |
| 1211 |
"type": "StringLiteral", |
| 1212 |
"start":1025,"end":1029,"loc":{"start":{"line":105,"column":2,"index":1025},"end":{"line":105,"column":6,"index":1029}}, |
| 1213 |
"extra": { |
| 1214 |
"rawValue": "\u0005", |
| 1215 |
"raw": "\"\\5\"" |
| 1216 |
}, |
| 1217 |
"value": "\u0005" |
| 1218 |
} |
| 1219 |
} |
| 1220 |
], |
| 1221 |
"directives": [] |
| 1222 |
} |
| 1223 |
}, |
| 1224 |
{ |
| 1225 |
"type": "FunctionDeclaration", |
| 1226 |
"start":1034,"end":1090,"loc":{"start":{"line":108,"column":0,"index":1034},"end":{"line":113,"column":1,"index":1090}}, |
| 1227 |
"id": { |
| 1228 |
"type": "Identifier", |
| 1229 |
"start":1043,"end":1044,"loc":{"start":{"line":108,"column":9,"index":1043},"end":{"line":108,"column":10,"index":1044},"identifierName":"f"}, |
| 1230 |
"name": "f" |
| 1231 |
}, |
| 1232 |
"generator": false, |
| 1233 |
"async": false, |
| 1234 |
"params": [], |
| 1235 |
"body": { |
| 1236 |
"type": "BlockStatement", |
| 1237 |
"start":1046,"end":1090,"loc":{"start":{"line":108,"column":12,"index":1046},"end":{"line":113,"column":1,"index":1090}}, |
| 1238 |
"body": [ |
| 1239 |
{ |
| 1240 |
"type": "ExpressionStatement", |
| 1241 |
"start":1050,"end":1056,"loc":{"start":{"line":109,"column":2,"index":1050},"end":{"line":109,"column":8,"index":1056}}, |
| 1242 |
"expression": { |
| 1243 |
"type": "CallExpression", |
| 1244 |
"start":1050,"end":1055,"loc":{"start":{"line":109,"column":2,"index":1050},"end":{"line":109,"column":7,"index":1055}}, |
| 1245 |
"callee": { |
| 1246 |
"type": "Identifier", |
| 1247 |
"start":1050,"end":1053,"loc":{"start":{"line":109,"column":2,"index":1050},"end":{"line":109,"column":5,"index":1053},"identifierName":"foo"}, |
| 1248 |
"name": "foo" |
| 1249 |
}, |
| 1250 |
"arguments": [] |
| 1251 |
} |
| 1252 |
}, |
| 1253 |
{ |
| 1254 |
"type": "ExpressionStatement", |
| 1255 |
"start":1059,"end":1080,"loc":{"start":{"line":110,"column":2,"index":1059},"end":{"line":111,"column":8,"index":1080}}, |
| 1256 |
"expression": { |
| 1257 |
"type": "CallExpression", |
| 1258 |
"start":1059,"end":1079,"loc":{"start":{"line":110,"column":2,"index":1059},"end":{"line":111,"column":7,"index":1079}}, |
| 1259 |
"callee": { |
| 1260 |
"type": "StringLiteral", |
| 1261 |
"start":1059,"end":1071,"loc":{"start":{"line":110,"column":2,"index":1059},"end":{"line":110,"column":14,"index":1071}}, |
| 1262 |
"extra": { |
| 1263 |
"rawValue": "use strict", |
| 1264 |
"raw": "\"use strict\"" |
| 1265 |
}, |
| 1266 |
"value": "use strict" |
| 1267 |
}, |
| 1268 |
"arguments": [ |
| 1269 |
{ |
| 1270 |
"type": "Identifier", |
| 1271 |
"start":1075,"end":1078,"loc":{"start":{"line":111,"column":3,"index":1075},"end":{"line":111,"column":6,"index":1078},"identifierName":"bar"}, |
| 1272 |
"name": "bar" |
| 1273 |
} |
| 1274 |
] |
| 1275 |
} |
| 1276 |
}, |
| 1277 |
{ |
| 1278 |
"type": "ExpressionStatement", |
| 1279 |
"start":1083,"end":1088,"loc":{"start":{"line":112,"column":2,"index":1083},"end":{"line":112,"column":7,"index":1088}}, |
| 1280 |
"expression": { |
| 1281 |
"type": "StringLiteral", |
| 1282 |
"start":1083,"end":1087,"loc":{"start":{"line":112,"column":2,"index":1083},"end":{"line":112,"column":6,"index":1087}}, |
| 1283 |
"extra": { |
| 1284 |
"rawValue": "\u0005", |
| 1285 |
"raw": "\"\\5\"" |
| 1286 |
}, |
| 1287 |
"value": "\u0005" |
| 1288 |
} |
| 1289 |
} |
| 1290 |
], |
| 1291 |
"directives": [] |
| 1292 |
} |
| 1293 |
}, |
| 1294 |
{ |
| 1295 |
"type": "FunctionDeclaration", |
| 1296 |
"start":1092,"end":1129,"loc":{"start":{"line":115,"column":0,"index":1092},"end":{"line":118,"column":1,"index":1129}}, |
| 1297 |
"id": { |
| 1298 |
"type": "Identifier", |
| 1299 |
"start":1101,"end":1102,"loc":{"start":{"line":115,"column":9,"index":1101},"end":{"line":115,"column":10,"index":1102},"identifierName":"f"}, |
| 1300 |
"name": "f" |
| 1301 |
}, |
| 1302 |
"generator": false, |
| 1303 |
"async": false, |
| 1304 |
"params": [], |
| 1305 |
"body": { |
| 1306 |
"type": "BlockStatement", |
| 1307 |
"start":1104,"end":1129,"loc":{"start":{"line":115,"column":12,"index":1104},"end":{"line":118,"column":1,"index":1129}}, |
| 1308 |
"body": [ |
| 1309 |
{ |
| 1310 |
"type": "ExpressionStatement", |
| 1311 |
"start":1108,"end":1111,"loc":{"start":{"line":116,"column":2,"index":1108},"end":{"line":116,"column":5,"index":1111}}, |
| 1312 |
"expression": { |
| 1313 |
"type": "NumericLiteral", |
| 1314 |
"start":1108,"end":1110,"loc":{"start":{"line":116,"column":2,"index":1108},"end":{"line":116,"column":4,"index":1110}}, |
| 1315 |
"extra": { |
| 1316 |
"rawValue": 5, |
| 1317 |
"raw": "05" |
| 1318 |
}, |
| 1319 |
"value": 5 |
| 1320 |
} |
| 1321 |
}, |
| 1322 |
{ |
| 1323 |
"type": "ExpressionStatement", |
| 1324 |
"start":1114,"end":1127,"loc":{"start":{"line":117,"column":2,"index":1114},"end":{"line":117,"column":15,"index":1127}}, |
| 1325 |
"expression": { |
| 1326 |
"type": "StringLiteral", |
| 1327 |
"start":1114,"end":1126,"loc":{"start":{"line":117,"column":2,"index":1114},"end":{"line":117,"column":14,"index":1126}}, |
| 1328 |
"extra": { |
| 1329 |
"rawValue": "use strict", |
| 1330 |
"raw": "\"use strict\"" |
| 1331 |
}, |
| 1332 |
"value": "use strict" |
| 1333 |
} |
| 1334 |
} |
| 1335 |
], |
| 1336 |
"directives": [] |
| 1337 |
} |
| 1338 |
} |
| 1339 |
], |
| 1340 |
"directives": [] |
| 1341 |
}, |
| 1342 |
"comments": [ |
| 1343 |
{ |
| 1344 |
"type": "CommentLine", |
| 1345 |
"value": " Should not be a syntax error because should not be parsed in strict mode.", |
| 1346 |
"start":180,"end":256,"loc":{"start":{"line":16,"column":0,"index":180},"end":{"line":16,"column":76,"index":256}} |
| 1347 |
} |
| 1348 |
] |
| 1349 |
} |