-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
output.json
72 lines (72 loc) 路 2.76 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
{
"type": "File",
"start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},
"errors": [
"SyntaxError: Can not use 'await' as identifier inside an async function. (1:20)"
],
"program": {
"type": "Program",
"start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},
"expression": {
"type": "ArrowFunctionExpression",
"start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},
"id": null,
"generator": false,
"async": true,
"params": [
{
"type": "AssignmentPattern",
"start":7,"end":32,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":32}},
"left": {
"type": "Identifier",
"start":7,"end":8,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8},"identifierName":"x"},
"name": "x"
},
"right": {
"type": "ClassExpression",
"start":11,"end":32,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":32}},
"id": null,
"superClass": null,
"body": {
"type": "ClassBody",
"start":17,"end":32,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":32}},
"body": [
{
"type": "ClassProperty",
"start":19,"end":30,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":30}},
"static": false,
"computed": true,
"key": {
"type": "Identifier",
"start":20,"end":25,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":25},"identifierName":"await"},
"name": "await"
},
"value": {
"type": "Identifier",
"start":29,"end":30,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":30},"identifierName":"x"},
"name": "x"
}
}
]
}
}
}
],
"body": {
"type": "BlockStatement",
"start":37,"end":39,"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":39}},
"body": [],
"directives": []
}
}
}
],
"directives": []
}
}