mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
181 lines
4.0 KiB
JSON
181 lines
4.0 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 66,
|
|
"end": 182,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 72,
|
|
"end": 74,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C1",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"span": {
|
|
"start": 66,
|
|
"end": 182,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"body": [
|
|
{
|
|
"type": "AutoAccessor",
|
|
"span": {
|
|
"start": 81,
|
|
"end": 99,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"value": "w",
|
|
"raw": "\"w\""
|
|
},
|
|
"value": null,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 93,
|
|
"end": 98,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 95,
|
|
"end": 98,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
},
|
|
"isStatic": false,
|
|
"decorators": [],
|
|
"accessibility": null
|
|
},
|
|
{
|
|
"type": "AutoAccessor",
|
|
"span": {
|
|
"start": 104,
|
|
"end": 121,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 113,
|
|
"end": 116,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"raw": "\"x\""
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 119,
|
|
"end": 120,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
},
|
|
"typeAnnotation": null,
|
|
"isStatic": false,
|
|
"decorators": [],
|
|
"accessibility": null
|
|
},
|
|
{
|
|
"type": "AutoAccessor",
|
|
"span": {
|
|
"start": 126,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 142,
|
|
"end": 145,
|
|
"ctxt": 0
|
|
},
|
|
"value": "y",
|
|
"raw": "\"y\""
|
|
},
|
|
"value": null,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 150,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 147,
|
|
"end": 150,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
},
|
|
"isStatic": true,
|
|
"decorators": [],
|
|
"accessibility": null
|
|
},
|
|
{
|
|
"type": "AutoAccessor",
|
|
"span": {
|
|
"start": 156,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 172,
|
|
"end": 175,
|
|
"ctxt": 0
|
|
},
|
|
"value": "z",
|
|
"raw": "\"z\""
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 178,
|
|
"end": 179,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
},
|
|
"typeAnnotation": null,
|
|
"isStatic": true,
|
|
"decorators": [],
|
|
"accessibility": null
|
|
}
|
|
],
|
|
"superClass": null,
|
|
"isAbstract": false,
|
|
"typeParams": null,
|
|
"superTypeParams": null,
|
|
"implements": []
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|