-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
output.json
82 lines (82 loc) 路 3.56 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
{
"type": "File",
"start":0,"end":109,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":109}},
"program": {
"type": "Program",
"start":0,"end":109,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":109}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExportDefaultDeclaration",
"start":17,"end":109,"loc":{"start":{"line":2,"column":0,"index":17},"end":{"line":7,"column":1,"index":109}},
"declaration": {
"type": "ClassDeclaration",
"start":0,"end":109,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":109}},
"decorators": [
{
"type": "Decorator",
"start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
"expression": {
"type": "Identifier",
"start":1,"end":16,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":16,"index":16},"identifierName":"ParentDecorator"},
"name": "ParentDecorator"
}
}
],
"id": {
"type": "Identifier",
"start":38,"end":49,"loc":{"start":{"line":2,"column":21,"index":38},"end":{"line":2,"column":32,"index":49},"identifierName":"ParentClass"},
"name": "ParentClass"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":50,"end":109,"loc":{"start":{"line":2,"column":33,"index":50},"end":{"line":7,"column":1,"index":109}},
"body": [
{
"type": "ClassMethod",
"start":54,"end":107,"loc":{"start":{"line":3,"column":2,"index":54},"end":{"line":6,"column":3,"index":107}},
"static": false,
"key": {
"type": "Identifier",
"start":54,"end":69,"loc":{"start":{"line":3,"column":2,"index":54},"end":{"line":3,"column":17,"index":69},"identifierName":"makeNestedClass"},
"name": "makeNestedClass"
},
"computed": false,
"kind": "method",
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":72,"end":107,"loc":{"start":{"line":3,"column":20,"index":72},"end":{"line":6,"column":3,"index":107}},
"body": [
{
"type": "ClassDeclaration",
"start":78,"end":103,"loc":{"start":{"line":4,"column":4,"index":78},"end":{"line":5,"column":5,"index":103}},
"id": {
"type": "Identifier",
"start":84,"end":95,"loc":{"start":{"line":4,"column":10,"index":84},"end":{"line":4,"column":21,"index":95},"identifierName":"NestedClass"},
"name": "NestedClass"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":96,"end":103,"loc":{"start":{"line":4,"column":22,"index":96},"end":{"line":5,"column":5,"index":103}},
"body": []
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
}
}