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

85 lines
1.8 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 0,
"end": 34,
"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": 34,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassMethod",
"span": {
"start": 14,
"end": 32,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 21,
"end": 27,
"ctxt": 0
},
"value": "public",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 14,
"end": 32,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 30,
"end": 32,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}