| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":59,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":59,"index":59}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Binding 'eval' in strict mode. (1:44)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":59,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":59,"index":59}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "FunctionDeclaration", |
| 15 | "start":0,"end":59,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":59,"index":59}}, |
| 16 | "id": { |
| 17 | "type": "Identifier", |
| 18 | "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"hello"}, |
| 19 | "name": "hello" |
| 20 | }, |
| 21 | "generator": false, |
| 22 | "async": false, |
| 23 | "params": [], |
| 24 | "body": { |
| 25 | "type": "BlockStatement", |
| 26 | "start":17,"end":59,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":59,"index":59}}, |
| 27 | "body": [ |
| 28 | { |
| 29 | "type": "ExpressionStatement", |
| 30 | "start":32,"end":57,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":57,"index":57}}, |
| 31 | "expression": { |
| 32 | "type": "ObjectExpression", |
| 33 | "start":33,"end":55,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":55,"index":55}}, |
| 34 | "properties": [ |
| 35 | { |
| 36 | "type": "ObjectProperty", |
| 37 | "start":35,"end":40,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":40,"index":40}}, |
| 38 | "method": false, |
| 39 | "key": { |
| 40 | "type": "Identifier", |
| 41 | "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"i"}, |
| 42 | "name": "i" |
| 43 | }, |
| 44 | "computed": false, |
| 45 | "shorthand": false, |
| 46 | "value": { |
| 47 | "type": "NumericLiteral", |
| 48 | "start":38,"end":40,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":40,"index":40}}, |
| 49 | "extra": { |
| 50 | "rawValue": 10, |
| 51 | "raw": "10" |
| 52 | }, |
| 53 | "value": 10 |
| 54 | } |
| 55 | }, |
| 56 | { |
| 57 | "type": "ObjectMethod", |
| 58 | "start":42,"end":53,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":53,"index":53}}, |
| 59 | "method": true, |
| 60 | "key": { |
| 61 | "type": "Identifier", |
| 62 | "start":42,"end":43,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":43,"index":43},"identifierName":"s"}, |
| 63 | "name": "s" |
| 64 | }, |
| 65 | "computed": false, |
| 66 | "kind": "method", |
| 67 | "id": null, |
| 68 | "generator": false, |
| 69 | "async": false, |
| 70 | "params": [ |
| 71 | { |
| 72 | "type": "Identifier", |
| 73 | "start":44,"end":48,"loc":{"start":{"line":1,"column":44,"index":44},"end":{"line":1,"column":48,"index":48},"identifierName":"eval"}, |
| 74 | "name": "eval" |
| 75 | } |
| 76 | ], |
| 77 | "body": { |
| 78 | "type": "BlockStatement", |
| 79 | "start":50,"end":53,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":53,"index":53}}, |
| 80 | "body": [], |
| 81 | "directives": [] |
| 82 | } |
| 83 | } |
| 84 | ], |
| 85 | "extra": { |
| 86 | "parenthesized": true, |
| 87 | "parenStart": 32 |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | ], |
| 92 | "directives": [ |
| 93 | { |
| 94 | "type": "Directive", |
| 95 | "start":18,"end":31,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":31,"index":31}}, |
| 96 | "value": { |
| 97 | "type": "DirectiveLiteral", |
| 98 | "start":18,"end":30,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":30,"index":30}}, |
| 99 | "extra": { |
| 100 | "rawValue": "use strict", |
| 101 | "raw": "'use strict'", |
| 102 | "expressionValue": "use strict" |
| 103 | }, |
| 104 | "value": "use strict" |
| 105 | } |
| 106 | } |
| 107 | ] |
| 108 | } |
| 109 | } |
| 110 | ], |
| 111 | "directives": [] |
| 112 | } |
| 113 | } |