Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0250/output.json

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