swc/crates/swc_ecma_parser/tests/tsc/parserEnumDeclaration3.d.json

62 lines
1.1 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 20,
"ctxt": 0
},
"body": [
{
"type": "TsEnumDeclaration",
"span": {
"start": 1,
"end": 20,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"value": "E",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 13,
"end": 18,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 13,
"end": 14,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 17,
"end": 18,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
],
"interpreter": null
}