| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Unexpected reserved word 'package'. (1:37)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "FunctionDeclaration", |
| 15 | "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}}, |
| 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":47,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":47,"index":47}}, |
| 27 | "body": [ |
| 28 | { |
| 29 | "type": "VariableDeclaration", |
| 30 | "start":33,"end":45,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":45,"index":45}}, |
| 31 | "declarations": [ |
| 32 | { |
| 33 | "type": "VariableDeclarator", |
| 34 | "start":37,"end":44,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":44,"index":44}}, |
| 35 | "id": { |
| 36 | "type": "Identifier", |
| 37 | "start":37,"end":44,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":44,"index":44},"identifierName":"package"}, |
| 38 | "name": "package" |
| 39 | }, |
| 40 | "init": null |
| 41 | } |
| 42 | ], |
| 43 | "kind": "var" |
| 44 | } |
| 45 | ], |
| 46 | "directives": [ |
| 47 | { |
| 48 | "type": "Directive", |
| 49 | "start":19,"end":32,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":32,"index":32}}, |
| 50 | "value": { |
| 51 | "type": "DirectiveLiteral", |
| 52 | "start":19,"end":31,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":31,"index":31}}, |
| 53 | "extra": { |
| 54 | "rawValue": "use strict", |
| 55 | "raw": "\"use strict\"", |
| 56 | "expressionValue": "use strict" |
| 57 | }, |
| 58 | "value": "use strict" |
| 59 | } |
| 60 | } |
| 61 | ] |
| 62 | } |
| 63 | } |
| 64 | ], |
| 65 | "directives": [] |
| 66 | } |
| 67 | } |