Debian Codegraph @

packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/8/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"},
16 "name": "Foo"
17 },
18 "superClass": {
19 "type": "ClassExpression",
20 "start":18,"end":45,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":45,"index":45}},
21 "id": {
22 "type": "Identifier",
23 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27},"identifierName":"Bar"},
24 "name": "Bar"
25 },
26 "superClass": null,
27 "implements": [
28 {
29 "type": "ClassImplements",
30 "start":39,"end":42,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":42,"index":42}},
31 "id": {
32 "type": "Identifier",
33 "start":39,"end":42,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":42,"index":42},"identifierName":"Bat"},
34 "name": "Bat"
35 },
36 "typeParameters": null
37 }
38 ],
39 "body": {
40 "type": "ClassBody",
41 "start":43,"end":45,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":45,"index":45}},
42 "body": []
43 }
44 },
45 "body": {
46 "type": "ClassBody",
47 "start":46,"end":48,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":48,"index":48}},
48 "body": []
49 }
50 }
51 ],
52 "directives": []
53 }
54 }