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