Debian Codegraph @

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

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