Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0271/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: Classes may not have static property named prototype. (1:16)"
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":9,"end":31,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":31,"index":31}},
29 "static": true,
30 "key": {
31 "type": "StringLiteral",
32 "start":16,"end":27,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":27,"index":27}},
33 "extra": {
34 "rawValue": "prototype",
35 "raw": "\"prototype\""
36 },
37 "value": "prototype"
38 },
39 "computed": false,
40 "kind": "method",
41 "id": null,
42 "generator": false,
43 "async": false,
44 "params": [],
45 "body": {
46 "type": "BlockStatement",
47 "start":29,"end":31,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":31,"index":31}},
48 "body": [],
49 "directives": []
50 }
51 }
52 ]
53 }
54 }
55 ],
56 "directives": []
57 }
58 }