| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: import.meta may appear only with 'sourceType: \"module\"' (1:10)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "VariableDeclaration", |
| 15 | "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, |
| 16 | "declarations": [ |
| 17 | { |
| 18 | "type": "VariableDeclarator", |
| 19 | "start":6,"end":21,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":21,"index":21}}, |
| 20 | "id": { |
| 21 | "type": "Identifier", |
| 22 | "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"}, |
| 23 | "name": "x" |
| 24 | }, |
| 25 | "init": { |
| 26 | "type": "MetaProperty", |
| 27 | "start":10,"end":21,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":21,"index":21}}, |
| 28 | "meta": { |
| 29 | "type": "Identifier", |
| 30 | "start":10,"end":16,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":16,"index":16},"identifierName":"import"}, |
| 31 | "name": "import" |
| 32 | }, |
| 33 | "property": { |
| 34 | "type": "Identifier", |
| 35 | "start":17,"end":21,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":21,"index":21},"identifierName":"meta"}, |
| 36 | "name": "meta" |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | ], |
| 41 | "kind": "const" |
| 42 | } |
| 43 | ], |
| 44 | "directives": [] |
| 45 | } |
| 46 | } |