mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* chore: bump eslint and espree * fix: always initialize ExportDeclaration attributes * update AST fixtures * fix: initialize attributes when importAssertions is not enabled * update AST fixtures * update test snapshot * update Makefile.js * update Babel 8 AST fixtures
50 lines
1.9 KiB
JSON
50 lines
1.9 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"start":9,"end":17,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":17,"index":17}},
|
|
"local": {
|
|
"type": "Placeholder",
|
|
"start":9,"end":17,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":17,"index":17}},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start":11,"end":15,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":15,"index":15},"identifierName":"NAME"},
|
|
"name": "NAME"
|
|
},
|
|
"expectedNode": "Identifier"
|
|
},
|
|
"exported": {
|
|
"type": "Placeholder",
|
|
"start":9,"end":17,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":17,"index":17}},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start":11,"end":15,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":15,"index":15},"identifierName":"NAME"},
|
|
"name": "NAME"
|
|
},
|
|
"expectedNode": "Identifier"
|
|
}
|
|
}
|
|
],
|
|
"source": null,
|
|
"declaration": null,
|
|
"attributes": []
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|