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

84 lines
1.7 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 38,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 6,
"end": 11,
"ctxt": 0
},
"value": "Outer",
"optional": false
},
"declare": false,
"span": {
"start": 0,
"end": 38,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 14,
"end": 36,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 21,
"end": 27,
"ctxt": 0
},
"value": "public",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 27,
"end": 35,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 29,
"end": 35,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": true,
"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
}