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

84 lines
1.7 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 39,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 7,
"end": 12,
"ctxt": 0
},
"value": "Outer",
"optional": false
},
"declare": false,
"span": {
"start": 1,
"end": 39,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 15,
"end": 37,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 22,
"end": 28,
"ctxt": 0
},
"value": "public",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 28,
"end": 36,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 30,
"end": 36,
"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
}