Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/duplicate-proto/without-assignment-expression/output.json

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