| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":36}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":36}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ExportDefaultDeclaration", |
| 12 |
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}}, |
| 13 |
"declaration": { |
| 14 |
"type": "FunctionDeclaration", |
| 15 |
"start":15,"end":29,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":29,"index":29}}, |
| 16 |
"id": null, |
| 17 |
"generator": false, |
| 18 |
"async": false, |
| 19 |
"params": [], |
| 20 |
"body": { |
| 21 |
"type": "BlockStatement", |
| 22 |
"start":27,"end":29,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":29,"index":29}}, |
| 23 |
"body": [], |
| 24 |
"directives": [] |
| 25 |
} |
| 26 |
} |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "ExpressionStatement", |
| 30 |
"start":30,"end":36,"loc":{"start":{"line":2,"column":0,"index":30},"end":{"line":2,"column":6,"index":36}}, |
| 31 |
"expression": { |
| 32 |
"type": "Identifier", |
| 33 |
"start":31,"end":34,"loc":{"start":{"line":2,"column":1,"index":31},"end":{"line":2,"column":4,"index":34},"identifierName":"foo"}, |
| 34 |
"name": "foo", |
| 35 |
"extra": { |
| 36 |
"parenthesized": true, |
| 37 |
"parenStart": 30 |
| 38 |
} |
| 39 |
} |
| 40 |
} |
| 41 |
], |
| 42 |
"directives": [] |
| 43 |
} |
| 44 |
} |