-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
output.json
107 lines (107 loc) 路 4.55 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"type": "File",
"start":0,"end":75,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":65,"index":75}},
"errors": [
"SyntaxError: `import()` requires exactly one or two arguments. (1:0)",
"SyntaxError: `import()` requires exactly one or two arguments. (2:0)"
],
"program": {
"type": "Program",
"start":0,"end":75,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":65,"index":75}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
"expression": {
"type": "CallExpression",
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
"callee": {
"type": "Import",
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start":10,"end":75,"loc":{"start":{"line":2,"column":0,"index":10},"end":{"line":2,"column":65,"index":75}},
"expression": {
"type": "CallExpression",
"start":10,"end":74,"loc":{"start":{"line":2,"column":0,"index":10},"end":{"line":2,"column":64,"index":74}},
"callee": {
"type": "Import",
"start":10,"end":16,"loc":{"start":{"line":2,"column":0,"index":10},"end":{"line":2,"column":6,"index":16}}
},
"arguments": [
{
"type": "StringLiteral",
"start":17,"end":29,"loc":{"start":{"line":2,"column":7,"index":17},"end":{"line":2,"column":19,"index":29}},
"extra": {
"rawValue": "./foo.json",
"raw": "\"./foo.json\""
},
"value": "./foo.json"
},
{
"type": "ObjectExpression",
"start":31,"end":58,"loc":{"start":{"line":2,"column":21,"index":31},"end":{"line":2,"column":48,"index":58}},
"properties": [
{
"type": "ObjectProperty",
"start":33,"end":56,"loc":{"start":{"line":2,"column":23,"index":33},"end":{"line":2,"column":46,"index":56}},
"method": false,
"key": {
"type": "Identifier",
"start":33,"end":39,"loc":{"start":{"line":2,"column":23,"index":33},"end":{"line":2,"column":29,"index":39},"identifierName":"assert"},
"name": "assert"
},
"computed": false,
"shorthand": false,
"value": {
"type": "ObjectExpression",
"start":41,"end":56,"loc":{"start":{"line":2,"column":31,"index":41},"end":{"line":2,"column":46,"index":56}},
"properties": [
{
"type": "ObjectProperty",
"start":43,"end":55,"loc":{"start":{"line":2,"column":33,"index":43},"end":{"line":2,"column":45,"index":55}},
"method": false,
"key": {
"type": "Identifier",
"start":43,"end":47,"loc":{"start":{"line":2,"column":33,"index":43},"end":{"line":2,"column":37,"index":47},"identifierName":"type"},
"name": "type"
},
"computed": false,
"shorthand": false,
"value": {
"type": "StringLiteral",
"start":49,"end":55,"loc":{"start":{"line":2,"column":39,"index":49},"end":{"line":2,"column":45,"index":55}},
"extra": {
"rawValue": "json",
"raw": "\"json\""
},
"value": "json"
}
}
]
}
}
]
},
{
"type": "StringLiteral",
"start":60,"end":73,"loc":{"start":{"line":2,"column":50,"index":60},"end":{"line":2,"column":63,"index":73}},
"extra": {
"rawValue": "unsupported",
"raw": "\"unsupported\""
},
"value": "unsupported"
}
]
}
}
],
"directives": []
}
}