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

70 lines
1.4 KiB
JSON

{
"type": "Module",
"span": {
"start": 52,
"end": 86,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 52,
"end": 86,
"ctxt": 0
},
"declaration": {
"type": "TsEnumDeclaration",
"span": {
"start": 59,
"end": 86,
"ctxt": 0
},
"declare": false,
"isConst": true,
"id": {
"type": "Identifier",
"span": {
"start": 70,
"end": 71,
"ctxt": 0
},
"value": "E",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 78,
"end": 83,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 78,
"end": 79,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 82,
"end": 83,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
}
],
"interpreter": null
}