| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":69}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":69}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ImportDeclaration", |
| 12 |
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}}, |
| 13 |
"specifiers": [ |
| 14 |
{ |
| 15 |
"type": "ImportSpecifier", |
| 16 |
"start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12}}, |
| 17 |
"imported": { |
| 18 |
"type": "Identifier", |
| 19 |
"start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12},"identifierName":"foo"}, |
| 20 |
"name": "foo" |
| 21 |
}, |
| 22 |
"local": { |
| 23 |
"type": "Identifier", |
| 24 |
"start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12},"identifierName":"foo"}, |
| 25 |
"name": "foo" |
| 26 |
} |
| 27 |
} |
| 28 |
], |
| 29 |
"source": { |
| 30 |
"type": "StringLiteral", |
| 31 |
"start":20,"end":25,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":25,"index":25}}, |
| 32 |
"extra": { |
| 33 |
"rawValue": "bar", |
| 34 |
"raw": "\"bar\"" |
| 35 |
}, |
| 36 |
"value": "bar" |
| 37 |
}, |
| 38 |
"trailingComments": [ |
| 39 |
{ |
| 40 |
"type": "CommentBlock", |
| 41 |
"value": "*\n * lost comment\n ", |
| 42 |
"start":27,"end":50,"loc":{"start":{"line":3,"column":0,"index":27},"end":{"line":5,"column":3,"index":50}} |
| 43 |
} |
| 44 |
] |
| 45 |
}, |
| 46 |
{ |
| 47 |
"type": "ExportDefaultDeclaration", |
| 48 |
"start":51,"end":69,"loc":{"start":{"line":6,"column":0,"index":51},"end":{"line":7,"column":1,"index":69}}, |
| 49 |
"declaration": { |
| 50 |
"type": "ObjectExpression", |
| 51 |
"start":66,"end":69,"loc":{"start":{"line":6,"column":15,"index":66},"end":{"line":7,"column":1,"index":69}}, |
| 52 |
"properties": [] |
| 53 |
}, |
| 54 |
"leadingComments": [ |
| 55 |
{ |
| 56 |
"type": "CommentBlock", |
| 57 |
"value": "*\n * lost comment\n ", |
| 58 |
"start":27,"end":50,"loc":{"start":{"line":3,"column":0,"index":27},"end":{"line":5,"column":3,"index":50}} |
| 59 |
} |
| 60 |
] |
| 61 |
} |
| 62 |
], |
| 63 |
"directives": [] |
| 64 |
}, |
| 65 |
"comments": [ |
| 66 |
{ |
| 67 |
"type": "CommentBlock", |
| 68 |
"value": "*\n * lost comment\n ", |
| 69 |
"start":27,"end":50,"loc":{"start":{"line":3,"column":0,"index":27},"end":{"line":5,"column":3,"index":50}} |
| 70 |
} |
| 71 |
] |
| 72 |
} |