forked from babel/babel
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
output.json
43 lines (43 loc) · 1.67 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":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":18,"index":34}},
"program": {
"type": "Program",
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":18,"index":34}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExportDefaultDeclaration",
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":18,"index":34}},
"declaration": {
"type": "ClassDeclaration",
"start":16,"end":34,"loc":{"start":{"line":2,"column":0,"index":16},"end":{"line":2,"column":18,"index":34}},
"decorators": [
{
"type": "Decorator",
"start":16,"end":20,"loc":{"start":{"line":2,"column":0,"index":16},"end":{"line":2,"column":4,"index":20}},
"expression": {
"type": "Identifier",
"start":17,"end":20,"loc":{"start":{"line":2,"column":1,"index":17},"end":{"line":2,"column":4,"index":20},"identifierName":"bar"},
"name": "bar"
}
}
],
"id": {
"type": "Identifier",
"start":27,"end":30,"loc":{"start":{"line":2,"column":11,"index":27},"end":{"line":2,"column":14,"index":30},"identifierName":"Foo"},
"name": "Foo"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":31,"end":34,"loc":{"start":{"line":2,"column":15,"index":31},"end":{"line":2,"column":18,"index":34}},
"body": []
}
}
}
],
"directives": []
}
}