mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
91 lines
1.7 KiB
JSON
91 lines
1.7 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 27,
|
|
"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": 12,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 12,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"raw": "\"A\""
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 20,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 20,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"raw": "\"B\""
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"raw": "\"C\""
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|