Debian Codegraph @

packages/babel-parser/test/fixtures/placeholders/class/super/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":8,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":8,"index":8},"identifierName":"Cl"},
16 "name": "Cl"
17 },
18 "superClass": {
19 "type": "Placeholder",
20 "start":17,"end":26,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":26,"index":26}},
21 "name": {
22 "type": "Identifier",
23 "start":19,"end":24,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":24,"index":24},"identifierName":"SUPER"},
24 "name": "SUPER"
25 },
26 "expectedNode": "Expression"
27 },
28 "body": {
29 "type": "ClassBody",
30 "start":27,"end":29,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":29,"index":29}},
31 "body": []
32 }
33 }
34 ],
35 "directives": []
36 }
37 }