forked from babel/babel
/
output.json
63 lines (63 loc) 路 2.36 KB
/
output.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"type": "File",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":16,"index":58}},
"program": {
"type": "Program",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":16,"index":58}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExportNamedDeclaration",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":16,"index":58}},
"specifiers": [
{
"type": "ExportSpecifier",
"start":9,"end":21,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":21,"index":21}},
"local": {
"type": "Identifier",
"start":9,"end":16,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":16,"index":16},"identifierName":"default"},
"name": "default"
},
"exported": {
"type": "Identifier",
"start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"x"},
"name": "x"
}
}
],
"source": {
"type": "StringLiteral",
"start":29,"end":34,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":34,"index":34}},
"extra": {
"rawValue": "foo",
"raw": "\"foo\""
},
"value": "foo"
},
"declaration": null,
"assertions": [
{
"type": "ImportAttribute",
"start":44,"end":56,"loc":{"start":{"line":2,"column":2,"index":44},"end":{"line":2,"column":14,"index":56}},
"key": {
"type": "Identifier",
"start":44,"end":48,"loc":{"start":{"line":2,"column":2,"index":44},"end":{"line":2,"column":6,"index":48},"identifierName":"type"},
"name": "type"
},
"value": {
"type": "StringLiteral",
"start":50,"end":56,"loc":{"start":{"line":2,"column":8,"index":50},"end":{"line":2,"column":14,"index":56}},
"extra": {
"rawValue": "json",
"raw": "\"json\""
},
"value": "json"
}
}
]
}
],
"directives": []
}
}