Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/116/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"},
16 "name": "A"
17 },
18 "superClass": {
19 "type": "Identifier",
20 "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"B"},
21 "name": "B"
22 },
23 "body": {
24 "type": "ClassBody",
25 "start":18,"end":40,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":40,"index":40}},
26 "body": [
27 {
28 "type": "ClassMethod",
29 "start":20,"end":39,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":39,"index":39}},
30 "static": true,
31 "key": {
32 "type": "Identifier",
33 "start":31,"end":34,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":34,"index":34},"identifierName":"foo"},
34 "name": "foo"
35 },
36 "computed": false,
37 "kind": "get",
38 "id": null,
39 "generator": false,
40 "async": false,
41 "params": [],
42 "body": {
43 "type": "BlockStatement",
44 "start":37,"end":39,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":39,"index":39}},
45 "body": [],
46 "directives": []
47 }
48 }
49 ]
50 }
51 }
52 ],
53 "directives": []
54 }
55 }