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

62 lines
1.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 16,
"end": 36,
"ctxt": 0
},
"body": [
{
"type": "TsEnumDeclaration",
"span": {
"start": 16,
"end": 36,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"value": "E",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 27,
"end": 34,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 27,
"end": 30,
"ctxt": 0
},
"value": "",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 33,
"end": 34,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
],
"interpreter": null
}