/
output.json
100 lines (100 loc) 路 4.33 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
{
"type": "File",
"start":0,"end":54,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":2}},
"program": {
"type": "Program",
"start":0,"end":54,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":2}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "VariableDeclaration",
"start":0,"end":54,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":2}},
"declarations": [
{
"type": "VariableDeclarator",
"start":4,"end":53,"loc":{"start":{"line":1,"column":4},"end":{"line":4,"column":1}},
"id": {
"type": "Identifier",
"start":4,"end":5,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5},"identifierName":"x"},
"name": "x"
},
"init": {
"type": "DoExpression",
"start":8,"end":53,"loc":{"start":{"line":1,"column":8},"end":{"line":4,"column":1}},
"async": true,
"body": {
"type": "BlockStatement",
"start":17,"end":53,"loc":{"start":{"line":1,"column":17},"end":{"line":4,"column":1}},
"body": [
{
"type": "VariableDeclaration",
"start":21,"end":35,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":16}},
"declarations": [
{
"type": "VariableDeclarator",
"start":25,"end":34,"loc":{"start":{"line":2,"column":6},"end":{"line":2,"column":15}},
"id": {
"type": "Identifier",
"start":25,"end":28,"loc":{"start":{"line":2,"column":6},"end":{"line":2,"column":9},"identifierName":"tmp"},
"name": "tmp"
},
"init": {
"type": "CallExpression",
"start":31,"end":34,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":15}},
"callee": {
"type": "Identifier",
"start":31,"end":32,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":13},"identifierName":"f"},
"name": "f"
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start":38,"end":51,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":15}},
"expression": {
"type": "BinaryExpression",
"start":38,"end":51,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":15}},
"left": {
"type": "BinaryExpression",
"start":38,"end":47,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":11}},
"left": {
"type": "Identifier",
"start":38,"end":41,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":5},"identifierName":"tmp"},
"name": "tmp"
},
"operator": "*",
"right": {
"type": "Identifier",
"start":44,"end":47,"loc":{"start":{"line":3,"column":8},"end":{"line":3,"column":11},"identifierName":"tmp"},
"name": "tmp"
}
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start":50,"end":51,"loc":{"start":{"line":3,"column":14},"end":{"line":3,"column":15}},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"directives": []
}
}
}
],
"kind": "let"
}
],
"directives": []
}
}