Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/334/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
4 "errors": [
5 "SyntaxError: Assigning to 'eval' in strict mode. (1:4)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
16 "expression": {
17 "type": "AssignmentExpression",
18 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
19 "operator": "=",
20 "left": {
21 "type": "ArrayPattern",
22 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
23 "elements": [
24 {
25 "type": "RestElement",
26 "start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}},
27 "argument": {
28 "type": "Identifier",
29 "start":4,"end":8,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":8,"index":8},"identifierName":"eval"},
30 "name": "eval"
31 }
32 }
33 ]
34 },
35 "right": {
36 "type": "Identifier",
37 "start":12,"end":15,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":15,"index":15},"identifierName":"arr"},
38 "name": "arr"
39 }
40 }
41 }
42 ],
43 "directives": []
44 }
45 }