/
output.json
55 lines (55 loc) 路 2.2 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
{
"type": "File",
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":27}},
"errors": [
"SyntaxError: Export 'foo' is not defined. (2:11)"
],
"program": {
"type": "Program",
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":27}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":27}},
"expression": {
"type": "ModuleExpression",
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":27}},
"body": {
"type": "Program",
"start":8,"end":26,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":0,"index":26}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExportNamedDeclaration",
"start":11,"end":25,"loc":{"start":{"line":2,"column":2,"index":11},"end":{"line":2,"column":16,"index":25}},
"specifiers": [
{
"type": "ExportSpecifier",
"start":20,"end":23,"loc":{"start":{"line":2,"column":11,"index":20},"end":{"line":2,"column":14,"index":23}},
"local": {
"type": "Identifier",
"start":20,"end":23,"loc":{"start":{"line":2,"column":11,"index":20},"end":{"line":2,"column":14,"index":23},"identifierName":"foo"},
"name": "foo"
},
"exported": {
"type": "Identifier",
"start":20,"end":23,"loc":{"start":{"line":2,"column":11,"index":20},"end":{"line":2,"column":14,"index":23},"identifierName":"foo"},
"name": "foo"
}
}
],
"source": null,
"declaration": null
}
],
"directives": []
}
}
}
],
"directives": []
}
}