mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
132 lines
2.5 KiB
JSON
132 lines
2.5 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 201,
|
|
"end": 310,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 201,
|
|
"end": 247,
|
|
"ctxt": 0
|
|
},
|
|
"declare": true,
|
|
"isConst": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 214,
|
|
"end": 215,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 222,
|
|
"end": 223,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 222,
|
|
"end": 223,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 236,
|
|
"end": 237,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 236,
|
|
"end": 237,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 249,
|
|
"end": 310,
|
|
"ctxt": 0
|
|
},
|
|
"declare": true,
|
|
"isConst": true,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 268,
|
|
"end": 270,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E1",
|
|
"optional": false
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 277,
|
|
"end": 278,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 277,
|
|
"end": 278,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 295,
|
|
"end": 296,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 295,
|
|
"end": 296,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|