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

76 lines
1.6 KiB
JSON

{
"type": "Module",
"span": {
"start": 1,
"end": 37,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 1,
"end": 37,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 14,
"end": 20,
"ctxt": 0
},
"value": "Logger",
"optional": false
},
"declare": false,
"span": {
"start": 8,
"end": 37,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 29,
"end": 35,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 29,
"end": 35,
"ctxt": 0
},
"value": "public",
"optional": false
},
"value": null,
"typeAnnotation": null,
"isStatic": false,
"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
}