| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Binding 'eval' in strict mode. (1:48)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "FunctionDeclaration", |
| 15 |
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}}, |
| 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":63,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":63,"index":63}}, |
| 27 |
"body": [ |
| 28 |
{ |
| 29 |
"type": "ExpressionStatement", |
| 30 |
"start":32,"end":61,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":61,"index":61}}, |
| 31 |
"expression": { |
| 32 |
"type": "ObjectExpression", |
| 33 |
"start":33,"end":59,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":59,"index":59}}, |
| 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":57,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":57,"index":57}}, |
| 59 |
"method": false, |
| 60 |
"key": { |
| 61 |
"type": "Identifier", |
| 62 |
"start":46,"end":47,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":47,"index":47},"identifierName":"s"}, |
| 63 |
"name": "s" |
| 64 |
}, |
| 65 |
"computed": false, |
| 66 |
"kind": "set", |
| 67 |
"id": null, |
| 68 |
"generator": false, |
| 69 |
"async": false, |
| 70 |
"params": [ |
| 71 |
{ |
| 72 |
"type": "Identifier", |
| 73 |
"start":48,"end":52,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":52,"index":52},"identifierName":"eval"}, |
| 74 |
"name": "eval" |
| 75 |
} |
| 76 |
], |
| 77 |
"body": { |
| 78 |
"type": "BlockStatement", |
| 79 |
"start":54,"end":57,"loc":{"start":{"line":1,"column":54,"index":54},"end":{"line":1,"column":57,"index":57}}, |
| 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 |
} |