| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "VariableDeclaration", |
| 12 | "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}}, |
| 13 | "declarations": [ |
| 14 | { |
| 15 | "type": "VariableDeclarator", |
| 16 | "start":6,"end":23,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":23,"index":23}}, |
| 17 | "id": { |
| 18 | "type": "ObjectPattern", |
| 19 | "start":6,"end":15,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":15,"index":15}}, |
| 20 | "properties": [ |
| 21 | { |
| 22 | "type": "ObjectProperty", |
| 23 | "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13}}, |
| 24 | "key": { |
| 25 | "type": "Identifier", |
| 26 | "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"await"}, |
| 27 | "name": "await" |
| 28 | }, |
| 29 | "computed": false, |
| 30 | "method": false, |
| 31 | "shorthand": true, |
| 32 | "value": { |
| 33 | "type": "Identifier", |
| 34 | "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"await"}, |
| 35 | "name": "await" |
| 36 | }, |
| 37 | "extra": { |
| 38 | "shorthand": true |
| 39 | } |
| 40 | } |
| 41 | ] |
| 42 | }, |
| 43 | "init": { |
| 44 | "type": "CallExpression", |
| 45 | "start":18,"end":23,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":23,"index":23}}, |
| 46 | "callee": { |
| 47 | "type": "Identifier", |
| 48 | "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"foo"}, |
| 49 | "name": "foo" |
| 50 | }, |
| 51 | "arguments": [] |
| 52 | } |
| 53 | } |
| 54 | ], |
| 55 | "kind": "const" |
| 56 | } |
| 57 | ], |
| 58 | "directives": [] |
| 59 | } |
| 60 | } |