Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
4 "errors": [
5 "SyntaxError: Class constructor may not be an accessor. (1:14)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ClassDeclaration",
15 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
16 "id": {
17 "type": "Identifier",
18 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"},
19 "name": "A"
20 },
21 "superClass": null,
22 "body": {
23 "type": "ClassBody",
24 "start":8,"end":32,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":32,"index":32}},
25 "body": [
26 {
27 "type": "ClassMethod",
28 "start":10,"end":30,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":30,"index":30}},
29 "static": false,
30 "key": {
31 "type": "Identifier",
32 "start":14,"end":25,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":25,"index":25},"identifierName":"constructor"},
33 "name": "constructor"
34 },
35 "computed": false,
36 "kind": "get",
37 "id": null,
38 "generator": false,
39 "async": false,
40 "params": [],
41 "body": {
42 "type": "BlockStatement",
43 "start":28,"end":30,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":30,"index":30}},
44 "body": [],
45 "directives": []
46 }
47 }
48 ]
49 }
50 }
51 ],
52 "directives": []
53 }
54 }