| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Assigning to 'eval' in strict mode. (1:15)", |
| 6 | "SyntaxError: Binding 'eval' in strict mode. (1:15)" |
| 7 | ], |
| 8 | "program": { |
| 9 | "type": "Program", |
| 10 | "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}}, |
| 11 | "sourceType": "script", |
| 12 | "interpreter": null, |
| 13 | "body": [ |
| 14 | { |
| 15 | "type": "ExpressionStatement", |
| 16 | "start":14,"end":31,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":31,"index":31}}, |
| 17 | "expression": { |
| 18 | "type": "ArrowFunctionExpression", |
| 19 | "start":14,"end":31,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":31,"index":31}}, |
| 20 | "id": null, |
| 21 | "generator": false, |
| 22 | "async": false, |
| 23 | "params": [ |
| 24 | { |
| 25 | "type": "AssignmentPattern", |
| 26 | "start":15,"end":24,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":24,"index":24}}, |
| 27 | "left": { |
| 28 | "type": "Identifier", |
| 29 | "start":15,"end":19,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":19,"index":19},"identifierName":"eval"}, |
| 30 | "name": "eval" |
| 31 | }, |
| 32 | "right": { |
| 33 | "type": "NumericLiteral", |
| 34 | "start":22,"end":24,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":24,"index":24}}, |
| 35 | "extra": { |
| 36 | "rawValue": 10, |
| 37 | "raw": "10" |
| 38 | }, |
| 39 | "value": 10 |
| 40 | } |
| 41 | } |
| 42 | ], |
| 43 | "body": { |
| 44 | "type": "NumericLiteral", |
| 45 | "start":29,"end":31,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":31,"index":31}}, |
| 46 | "extra": { |
| 47 | "rawValue": 42, |
| 48 | "raw": "42" |
| 49 | }, |
| 50 | "value": 42 |
| 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 | } |