Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
4 "errors": [
5 "SyntaxError: Redefinition of __proto__ property. (1:22)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
16 "expression": {
17 "type": "ObjectExpression",
18 "start":1,"end":39,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":39,"index":39}},
19 "properties": [
20 {
21 "type": "ObjectProperty",
22 "start":3,"end":20,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":20,"index":20}},
23 "method": false,
24 "key": {
25 "type": "StringLiteral",
26 "start":3,"end":14,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":14,"index":14}},
27 "extra": {
28 "rawValue": "__proto__",
29 "raw": "\"__proto__\""
30 },
31 "value": "__proto__"
32 },
33 "computed": false,
34 "shorthand": false,
35 "value": {
36 "type": "NullLiteral",
37 "start":16,"end":20,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":20,"index":20}}
38 }
39 },
40 {
41 "type": "ObjectProperty",
42 "start":22,"end":37,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":37,"index":37}},
43 "method": false,
44 "key": {
45 "type": "Identifier",
46 "start":22,"end":31,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":31,"index":31},"identifierName":"__proto__"},
47 "name": "__proto__"
48 },
49 "computed": false,
50 "shorthand": false,
51 "value": {
52 "type": "NullLiteral",
53 "start":33,"end":37,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":37,"index":37}}
54 }
55 }
56 ],
57 "extra": {
58 "parenthesized": true,
59 "parenStart": 0
60 }
61 }
62 }
63 ],
64 "directives": []
65 }
66 }