Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":61,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":61,"index":61}},
4 "errors": [
5 "SyntaxError: Redefinition of __proto__ property. (1:42)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":61,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":61,"index":61}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":61,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":61,"index":61}},
16 "expression": {
17 "type": "ObjectExpression",
18 "start":1,"end":60,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":60,"index":60}},
19 "properties": [
20 {
21 "type": "ObjectMethod",
22 "start":3,"end":21,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":21,"index":21}},
23 "method": false,
24 "key": {
25 "type": "Identifier",
26 "start":7,"end":16,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":16,"index":16},"identifierName":"__proto__"},
27 "name": "__proto__"
28 },
29 "computed": false,
30 "kind": "set",
31 "id": null,
32 "generator": false,
33 "async": false,
34 "params": [
35 {
36 "type": "Identifier",
37 "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18},"identifierName":"x"},
38 "name": "x"
39 }
40 ],
41 "body": {
42 "type": "BlockStatement",
43 "start":19,"end":21,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":21,"index":21}},
44 "body": [],
45 "directives": []
46 }
47 },
48 {
49 "type": "ObjectProperty",
50 "start":23,"end":40,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":40,"index":40}},
51 "method": false,
52 "key": {
53 "type": "StringLiteral",
54 "start":23,"end":34,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":34,"index":34}},
55 "extra": {
56 "rawValue": "__proto__",
57 "raw": "\"__proto__\""
58 },
59 "value": "__proto__"
60 },
61 "computed": false,
62 "shorthand": false,
63 "value": {
64 "type": "NullLiteral",
65 "start":36,"end":40,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":40,"index":40}}
66 }
67 },
68 {
69 "type": "ObjectProperty",
70 "start":42,"end":57,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":57,"index":57}},
71 "method": false,
72 "key": {
73 "type": "Identifier",
74 "start":42,"end":51,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":51,"index":51},"identifierName":"__proto__"},
75 "name": "__proto__"
76 },
77 "computed": false,
78 "shorthand": false,
79 "value": {
80 "type": "NullLiteral",
81 "start":53,"end":57,"loc":{"start":{"line":1,"column":53,"index":53},"end":{"line":1,"column":57,"index":57}}
82 }
83 }
84 ],
85 "extra": {
86 "trailingComma": 57,
87 "parenthesized": true,
88 "parenStart": 0
89 }
90 }
91 }
92 ],
93 "directives": []
94 }
95 }