/
output.json
95 lines (95 loc) 路 3.87 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
{
"type": "File",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},
"program": {
"type": "Program",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},
"expression": {
"type": "ArrowFunctionExpression",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},
"id": null,
"generator": false,
"async": true,
"params": [],
"body": {
"type": "BlockStatement",
"start":12,"end":97,"loc":{"start":{"line":1,"column":12},"end":{"line":6,"column":1}},
"body": [
{
"type": "ClassDeclaration",
"start":16,"end":95,"loc":{"start":{"line":2,"column":2},"end":{"line":5,"column":3}},
"id": {
"type": "Identifier",
"start":22,"end":23,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":9},"identifierName":"C"},
"name": "C"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":24,"end":95,"loc":{"start":{"line":2,"column":10},"end":{"line":5,"column":3}},
"body": [
{
"type": "ClassPrivateProperty",
"start":75,"end":91,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":20}},
"static": false,
"key": {
"type": "PrivateName",
"start":75,"end":77,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":6}},
"id": {
"type": "Identifier",
"start":76,"end":77,"loc":{"start":{"line":4,"column":5},"end":{"line":4,"column":6},"identifierName":"p"},
"name": "p"
}
},
"value": {
"type": "BinaryExpression",
"start":80,"end":90,"loc":{"start":{"line":4,"column":9},"end":{"line":4,"column":19}},
"left": {
"type": "Identifier",
"start":80,"end":85,"loc":{"start":{"line":4,"column":9},"end":{"line":4,"column":14},"identifierName":"await"},
"name": "await"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start":88,"end":90,"loc":{"start":{"line":4,"column":17},"end":{"line":4,"column":19}},
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
},
"leadingComments": [
{
"type": "CommentLine",
"value": " here await is an identifier reference",
"start":30,"end":70,"loc":{"start":{"line":3,"column":4},"end":{"line":3,"column":44}}
}
]
}
]
}
}
],
"directives": []
}
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " here await is an identifier reference",
"start":30,"end":70,"loc":{"start":{"line":3,"column":4},"end":{"line":3,"column":44}}
}
]
}