-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
output.json
43 lines (43 loc) 路 1.68 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
{
"type": "File",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":27,"index":38}},
"program": {
"type": "Program",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":27,"index":38}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExportDefaultDeclaration",
"start":11,"end":38,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":27,"index":38}},
"declaration": {
"type": "ClassDeclaration",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":27,"index":38}},
"decorators": [
{
"type": "Decorator",
"start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
"expression": {
"type": "Identifier",
"start":1,"end":10,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":10,"index":10},"identifierName":"decorator"},
"name": "decorator"
}
}
],
"id": {
"type": "Identifier",
"start":32,"end":35,"loc":{"start":{"line":2,"column":21,"index":32},"end":{"line":2,"column":24,"index":35},"identifierName":"Foo"},
"name": "Foo"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":36,"end":38,"loc":{"start":{"line":2,"column":25,"index":36},"end":{"line":2,"column":27,"index":38}},
"body": []
}
}
}
],
"directives": []
}
}