swc/crates/swc_ecma_parser/tests/tsc/jsdocPrivateName1.json

81 lines
1.7 KiB
JSON

{
"type": "Script",
"span": {
"start": 128,
"end": 240,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 134,
"end": 135,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 128,
"end": 240,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "PrivateProperty",
"span": {
"start": 187,
"end": 195,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 187,
"end": 191,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 188,
"end": 191,
"ctxt": 0
},
"value": "foo",
"optional": false
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 194,
"end": 195,
"ctxt": 0
},
"value": 3.0
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isOptional": false,
"isOverride": false,
"readonly": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}