mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
103 lines
2.0 KiB
JSON
103 lines
2.0 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 26,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 26,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"isConst": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"hasEscape": false,
|
|
"kind": {
|
|
"type": "normal",
|
|
"containsQuote": true
|
|
}
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 19,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 19,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"hasEscape": false,
|
|
"kind": {
|
|
"type": "normal",
|
|
"containsQuote": true
|
|
}
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"hasEscape": false,
|
|
"kind": {
|
|
"type": "normal",
|
|
"containsQuote": true
|
|
}
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|