swc/crates/swc_ecma_parser/tests/tsc/esnextmodulekindWithES5Target5.json

110 lines
2.2 KiB
JSON

{
"type": "Module",
"span": {
"start": 66,
"end": 132,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 66,
"end": 95,
"ctxt": 0
},
"declaration": {
"type": "TsEnumDeclaration",
"span": {
"start": 73,
"end": 95,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 78,
"end": 80,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 87,
"end": 93,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 87,
"end": 93,
"ctxt": 0
},
"value": "value1",
"optional": false
},
"init": null
}
]
}
},
{
"type": "ExportDeclaration",
"span": {
"start": 97,
"end": 132,
"ctxt": 0
},
"declaration": {
"type": "TsEnumDeclaration",
"span": {
"start": 104,
"end": 132,
"ctxt": 0
},
"declare": false,
"isConst": true,
"id": {
"type": "Identifier",
"span": {
"start": 115,
"end": 117,
"ctxt": 0
},
"value": "E2",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 124,
"end": 130,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 124,
"end": 130,
"ctxt": 0
},
"value": "value1",
"optional": false
},
"init": null
}
]
}
}
],
"interpreter": null
}