107 lines
3.7 KiB
JSON
107 lines
3.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":97,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":50}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":97,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":50}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start":0,"end":46,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":46}},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportDefaultSpecifier",
|
|
"start":7,"end":10,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":10}},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start":7,"end":10,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":10},"identifierName":"foo"},
|
|
"name": "foo"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start":16,"end":21,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}},
|
|
"extra": {
|
|
"rawValue": "foo",
|
|
"raw": "\"foo\""
|
|
},
|
|
"value": "foo"
|
|
},
|
|
"assertions": [
|
|
{
|
|
"type": "ImportAttribute",
|
|
"start":31,"end":43,"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":43}},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":31,"end":35,"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":35},"identifierName":"type"},
|
|
"name": "type"
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"start":37,"end":43,"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":43}},
|
|
"extra": {
|
|
"rawValue": "json",
|
|
"raw": "\"json\""
|
|
},
|
|
"value": "json"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start":47,"end":97,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":50}},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"start":56,"end":59,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":12}},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start":56,"end":59,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":12},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"start":56,"end":59,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":12},"identifierName":"foo"},
|
|
"name": "foo"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start":67,"end":72,"loc":{"start":{"line":2,"column":20},"end":{"line":2,"column":25}},
|
|
"extra": {
|
|
"rawValue": "foo",
|
|
"raw": "\"foo\""
|
|
},
|
|
"value": "foo"
|
|
},
|
|
"declaration": null,
|
|
"assertions": [
|
|
{
|
|
"type": "ImportAttribute",
|
|
"start":82,"end":94,"loc":{"start":{"line":2,"column":35},"end":{"line":2,"column":47}},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":82,"end":86,"loc":{"start":{"line":2,"column":35},"end":{"line":2,"column":39},"identifierName":"type"},
|
|
"name": "type"
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"start":88,"end":94,"loc":{"start":{"line":2,"column":41},"end":{"line":2,"column":47}},
|
|
"extra": {
|
|
"rawValue": "json",
|
|
"raw": "\"json\""
|
|
},
|
|
"value": "json"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |