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