-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
output.json
128 lines (128 loc) 路 6.21 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"type": "File",
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
"program": {
"type": "Program",
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "VariableDeclaration",
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
"declarations": [
{
"type": "VariableDeclarator",
"start":6,"end":62,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":62,"index":62}},
"id": {
"type": "Identifier",
"start":6,"end":10,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":10,"index":10},"identifierName":"func"},
"name": "func"
},
"init": {
"type": "FunctionExpression",
"start":13,"end":62,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":62,"index":62}},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":30,"end":31,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":31,"index":31},"identifierName":"x"},
"name": "x",
"decorators": [
{
"type": "Decorator",
"start":23,"end":29,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":29,"index":29}},
"expression": {
"type": "CallExpression",
"start":24,"end":29,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":29,"index":29}},
"callee": {
"type": "Identifier",
"start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27},"identifierName":"foo"},
"name": "foo"
},
"arguments": []
}
}
]
},
{
"type": "Identifier",
"start":57,"end":58,"loc":{"start":{"line":1,"column":57,"index":57},"end":{"line":1,"column":58,"index":58},"identifierName":"y"},
"name": "y",
"decorators": [
{
"type": "Decorator",
"start":33,"end":49,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":49,"index":49}},
"expression": {
"type": "CallExpression",
"start":34,"end":49,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":49,"index":49}},
"callee": {
"type": "Identifier",
"start":34,"end":37,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":37,"index":37},"identifierName":"bar"},
"name": "bar"
},
"arguments": [
{
"type": "ObjectExpression",
"start":38,"end":48,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":48,"index":48}},
"properties": [
{
"type": "ObjectProperty",
"start":40,"end":46,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":46,"index":46}},
"method": false,
"key": {
"type": "Identifier",
"start":40,"end":41,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":41,"index":41},"identifierName":"a"},
"name": "a"
},
"computed": false,
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start":43,"end":46,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":46,"index":46}},
"extra": {
"rawValue": 123,
"raw": "123"
},
"value": 123
}
}
]
}
]
}
},
{
"type": "Decorator",
"start":50,"end":56,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":56,"index":56}},
"expression": {
"type": "CallExpression",
"start":51,"end":56,"loc":{"start":{"line":1,"column":51,"index":51},"end":{"line":1,"column":56,"index":56}},
"callee": {
"type": "Identifier",
"start":51,"end":54,"loc":{"start":{"line":1,"column":51,"index":51},"end":{"line":1,"column":54,"index":54},"identifierName":"baz"},
"name": "baz"
},
"arguments": []
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start":60,"end":62,"loc":{"start":{"line":1,"column":60,"index":60},"end":{"line":1,"column":62,"index":62}},
"body": [],
"directives": []
}
}
}
],
"kind": "const"
}
],
"directives": []
}
}