| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":21,"index":52}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Export 'encrypt' is not defined. (1:9)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":21,"index":52}}, |
| 10 |
"sourceType": "module", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "ExportNamedDeclaration", |
| 15 |
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, |
| 16 |
"specifiers": [ |
| 17 |
{ |
| 18 |
"type": "ExportSpecifier", |
| 19 |
"start":9,"end":27,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":27,"index":27}}, |
| 20 |
"local": { |
| 21 |
"type": "Identifier", |
| 22 |
"start":9,"end":16,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":16,"index":16},"identifierName":"encrypt"}, |
| 23 |
"name": "encrypt" |
| 24 |
}, |
| 25 |
"exported": { |
| 26 |
"type": "Identifier", |
| 27 |
"start":20,"end":27,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":27,"index":27},"identifierName":"decrypt"}, |
| 28 |
"name": "decrypt" |
| 29 |
} |
| 30 |
} |
| 31 |
], |
| 32 |
"source": null, |
| 33 |
"declaration": null |
| 34 |
}, |
| 35 |
{ |
| 36 |
"type": "FunctionDeclaration", |
| 37 |
"start":31,"end":52,"loc":{"start":{"line":2,"column":0,"index":31},"end":{"line":2,"column":21,"index":52}}, |
| 38 |
"id": { |
| 39 |
"type": "Identifier", |
| 40 |
"start":40,"end":47,"loc":{"start":{"line":2,"column":9,"index":40},"end":{"line":2,"column":16,"index":47},"identifierName":"decrypt"}, |
| 41 |
"name": "decrypt" |
| 42 |
}, |
| 43 |
"generator": false, |
| 44 |
"async": false, |
| 45 |
"params": [], |
| 46 |
"body": { |
| 47 |
"type": "BlockStatement", |
| 48 |
"start":50,"end":52,"loc":{"start":{"line":2,"column":19,"index":50},"end":{"line":2,"column":21,"index":52}}, |
| 49 |
"body": [], |
| 50 |
"directives": [] |
| 51 |
} |
| 52 |
} |
| 53 |
], |
| 54 |
"directives": [] |
| 55 |
} |
| 56 |
} |