Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":26,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":26,"index":26}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"A"},
20 "name": "A"
21 },
22 "init": {
23 "type": "ClassExpression",
24 "start":8,"end":26,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":26,"index":26}},
25 "id": null,
26 "superClass": {
27 "type": "Identifier",
28 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"B"},
29 "name": "B"
30 },
31 "body": {
32 "type": "ClassBody",
33 "start":24,"end":26,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":26,"index":26}},
34 "body": []
35 }
36 }
37 }
38 ],
39 "kind": "var"
40 }
41 ],
42 "directives": []
43 }
44 }