Debian Codegraph @

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

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