| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "ExpressionStatement", |
| 12 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 13 | "expression": { |
| 14 | "type": "ObjectExpression", |
| 15 | "start":1,"end":21,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":21,"index":21}}, |
| 16 | "properties": [ |
| 17 | { |
| 18 | "type": "ObjectMethod", |
| 19 | "start":3,"end":19,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":19,"index":19}}, |
| 20 | "method": true, |
| 21 | "key": { |
| 22 | "type": "Identifier", |
| 23 | "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"x"}, |
| 24 | "name": "x" |
| 25 | }, |
| 26 | "computed": false, |
| 27 | "kind": "method", |
| 28 | "id": null, |
| 29 | "generator": false, |
| 30 | "async": false, |
| 31 | "params": [ |
| 32 | { |
| 33 | "type": "RestElement", |
| 34 | "start":5,"end":16,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":16,"index":16}}, |
| 35 | "argument": { |
| 36 | "type": "ArrayPattern", |
| 37 | "start":8,"end":16,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":16,"index":16}}, |
| 38 | "elements": [ |
| 39 | { |
| 40 | "type": "Identifier", |
| 41 | "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"a"}, |
| 42 | "name": "a" |
| 43 | }, |
| 44 | { |
| 45 | "type": "Identifier", |
| 46 | "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"b"}, |
| 47 | "name": "b" |
| 48 | } |
| 49 | ] |
| 50 | } |
| 51 | } |
| 52 | ], |
| 53 | "body": { |
| 54 | "type": "BlockStatement", |
| 55 | "start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}}, |
| 56 | "body": [], |
| 57 | "directives": [] |
| 58 | } |
| 59 | } |
| 60 | ], |
| 61 | "extra": { |
| 62 | "parenthesized": true, |
| 63 | "parenStart": 0 |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | ], |
| 68 | "directives": [] |
| 69 | } |
| 70 | } |