Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
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": null,
19 "body": {
20 "type": "Placeholder",
21 "start":9,"end":17,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":17,"index":17}},
22 "name": {
23 "type": "Identifier",
24 "start":11,"end":15,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":15,"index":15},"identifierName":"BODY"},
25 "name": "BODY"
26 },
27 "expectedNode": "ClassBody"
28 }
29 }
30 ],
31 "directives": []
32 }
33 }