mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
92 lines
1.9 KiB
JSON
92 lines
1.9 KiB
JSON
|
{
|
||
|
"type": "Script",
|
||
|
"span": {
|
||
|
"start": 16,
|
||
|
"end": 52,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"body": [
|
||
|
{
|
||
|
"type": "ClassDeclaration",
|
||
|
"identifier": {
|
||
|
"type": "Identifier",
|
||
|
"span": {
|
||
|
"start": 30,
|
||
|
"end": 31,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"value": "C",
|
||
|
"optional": false
|
||
|
},
|
||
|
"declare": true,
|
||
|
"span": {
|
||
|
"start": 16,
|
||
|
"end": 52,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"decorators": [],
|
||
|
"body": [
|
||
|
{
|
||
|
"type": "ClassProperty",
|
||
|
"span": {
|
||
|
"start": 38,
|
||
|
"end": 49,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"key": {
|
||
|
"type": "Computed",
|
||
|
"span": {
|
||
|
"start": 38,
|
||
|
"end": 41,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"expression": {
|
||
|
"type": "Identifier",
|
||
|
"span": {
|
||
|
"start": 39,
|
||
|
"end": 40,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"value": "e",
|
||
|
"optional": false
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"typeAnnotation": {
|
||
|
"type": "TsTypeAnnotation",
|
||
|
"span": {
|
||
|
"start": 41,
|
||
|
"end": 49,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"typeAnnotation": {
|
||
|
"type": "TsKeywordType",
|
||
|
"span": {
|
||
|
"start": 43,
|
||
|
"end": 49,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"kind": "number"
|
||
|
}
|
||
|
},
|
||
|
"isStatic": false,
|
||
|
"decorators": [],
|
||
|
"accessibility": null,
|
||
|
"isAbstract": false,
|
||
|
"isOptional": false,
|
||
|
"isOverride": false,
|
||
|
"readonly": false,
|
||
|
"declare": false,
|
||
|
"definite": false
|
||
|
}
|
||
|
],
|
||
|
"superClass": null,
|
||
|
"isAbstract": false,
|
||
|
"typeParams": null,
|
||
|
"superTypeParams": null,
|
||
|
"implements": []
|
||
|
}
|
||
|
],
|
||
|
"interpreter": null
|
||
|
}
|