-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
output.json
54 lines (54 loc) 路 2.03 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
{
"type": "File",
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":24}},
"program": {
"type": "Program",
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":24}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ClassDeclaration",
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":24}},
"decorators": [
{
"type": "Decorator",
"start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
"expression": {
"type": "CallExpression",
"start":1,"end":11,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":11,"index":11}},
"callee": {
"type": "Identifier",
"start":1,"end":4,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":4,"index":4},"identifierName":"foo"},
"name": "foo"
},
"arguments": [
{
"type": "StringLiteral",
"start":5,"end":10,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":10,"index":10}},
"extra": {
"rawValue": "bar",
"raw": "'bar'"
},
"value": "bar"
}
]
}
}
],
"id": {
"type": "Identifier",
"start":18,"end":21,"loc":{"start":{"line":2,"column":6,"index":18},"end":{"line":2,"column":9,"index":21},"identifierName":"Foo"},
"name": "Foo"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":22,"end":24,"loc":{"start":{"line":2,"column":10,"index":22},"end":{"line":2,"column":12,"index":24}},
"body": []
}
}
],
"directives": []
}
}