-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
output.json
104 lines (104 loc) 路 4.75 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
{
"type": "File",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":58}},
"program": {
"type": "Program",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":58}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "VariableDeclaration",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":58}},
"declarations": [
{
"type": "VariableDeclarator",
"start":4,"end":58,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":6,"column":1,"index":58}},
"id": {
"type": "Identifier",
"start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7},"identifierName":"foo"},
"name": "foo"
},
"init": {
"type": "ClassExpression",
"start":10,"end":58,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":6,"column":1,"index":58}},
"decorators": [
{
"type": "Decorator",
"start":10,"end":14,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":14,"index":14}},
"expression": {
"type": "Identifier",
"start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14},"identifierName":"dec"},
"name": "dec"
}
}
],
"id": {
"type": "Identifier",
"start":21,"end":24,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":24,"index":24},"identifierName":"Bar"},
"name": "Bar"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":25,"end":58,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":6,"column":1,"index":58}},
"body": [
{
"type": "ClassMethod",
"start":29,"end":56,"loc":{"start":{"line":2,"column":2,"index":29},"end":{"line":5,"column":3,"index":56}},
"decorators": [
{
"type": "Decorator",
"start":29,"end":33,"loc":{"start":{"line":2,"column":2,"index":29},"end":{"line":2,"column":6,"index":33}},
"expression": {
"type": "Identifier",
"start":30,"end":33,"loc":{"start":{"line":2,"column":3,"index":30},"end":{"line":2,"column":6,"index":33},"identifierName":"baz"},
"name": "baz"
}
}
],
"static": false,
"key": {
"type": "Identifier",
"start":36,"end":39,"loc":{"start":{"line":3,"column":2,"index":36},"end":{"line":3,"column":5,"index":39},"identifierName":"bam"},
"name": "bam"
},
"computed": false,
"kind": "method",
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":42,"end":56,"loc":{"start":{"line":3,"column":8,"index":42},"end":{"line":5,"column":3,"index":56}},
"body": [
{
"type": "ExpressionStatement",
"start":48,"end":52,"loc":{"start":{"line":4,"column":4,"index":48},"end":{"line":4,"column":8,"index":52}},
"expression": {
"type": "CallExpression",
"start":48,"end":51,"loc":{"start":{"line":4,"column":4,"index":48},"end":{"line":4,"column":7,"index":51}},
"callee": {
"type": "Identifier",
"start":48,"end":49,"loc":{"start":{"line":4,"column":4,"index":48},"end":{"line":4,"column":5,"index":49},"identifierName":"f"},
"name": "f"
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
}
],
"kind": "var"
}
],
"directives": []
}
}