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

68 lines
1.4 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 30,
"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": 30,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 15,
"end": 28,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 22,
"end": 28,
"ctxt": 0
},
"value": "public",
"optional": false
},
"value": null,
"typeAnnotation": null,
"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
}