| 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": "FunctionDeclaration", |
| 12 | "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}}, |
| 13 | "id": { |
| 14 | "type": "Identifier", |
| 15 | "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"x"}, |
| 16 | "name": "x" |
| 17 | }, |
| 18 | "generator": false, |
| 19 | "async": false, |
| 20 | "params": [ |
| 21 | { |
| 22 | "type": "RestElement", |
| 23 | "start":11,"end":22,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":22,"index":22}}, |
| 24 | "argument": { |
| 25 | "type": "ArrayPattern", |
| 26 | "start":14,"end":22,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":22,"index":22}}, |
| 27 | "elements": [ |
| 28 | { |
| 29 | "type": "Identifier", |
| 30 | "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"a"}, |
| 31 | "name": "a" |
| 32 | }, |
| 33 | { |
| 34 | "type": "Identifier", |
| 35 | "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"b"}, |
| 36 | "name": "b" |
| 37 | } |
| 38 | ] |
| 39 | } |
| 40 | } |
| 41 | ], |
| 42 | "body": { |
| 43 | "type": "BlockStatement", |
| 44 | "start":23,"end":25,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":25,"index":25}}, |
| 45 | "body": [], |
| 46 | "directives": [] |
| 47 | } |
| 48 | } |
| 49 | ], |
| 50 | "directives": [] |
| 51 | } |
| 52 | } |