Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
4 "errors": [
5 "SyntaxError: Assigning to 'eval' in strict mode. (1:20)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":14,"end":33,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":33,"index":33}},
16 "expression": {
17 "type": "AssignmentExpression",
18 "start":15,"end":32,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":32,"index":32}},
19 "operator": "=",
20 "left": {
21 "type": "ObjectPattern",
22 "start":15,"end":26,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":26,"index":26}},
23 "properties": [
24 {
25 "type": "ObjectProperty",
26 "start":17,"end":24,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":24,"index":24}},
27 "method": false,
28 "key": {
29 "type": "Identifier",
30 "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18},"identifierName":"v"},
31 "name": "v"
32 },
33 "computed": false,
34 "shorthand": false,
35 "value": {
36 "type": "Identifier",
37 "start":20,"end":24,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":24,"index":24},"identifierName":"eval"},
38 "name": "eval"
39 }
40 }
41 ]
42 },
43 "right": {
44 "type": "Identifier",
45 "start":29,"end":32,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":32,"index":32},"identifierName":"obj"},
46 "name": "obj"
47 },
48 "extra": {
49 "parenthesized": true,
50 "parenStart": 14
51 }
52 }
53 }
54 ],
55 "directives": [
56 {
57 "type": "Directive",
58 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
59 "value": {
60 "type": "DirectiveLiteral",
61 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
62 "extra": {
63 "rawValue": "use strict",
64 "raw": "\"use strict\"",
65 "expressionValue": "use strict"
66 },
67 "value": "use strict"
68 }
69 }
70 ]
71 }
72 }