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

76 lines
1.6 KiB
JSON

{
"type": "Module",
"span": {
"start": 0,
"end": 36,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 0,
"end": 36,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 13,
"end": 19,
"ctxt": 0
},
"value": "Logger",
"optional": false
},
"declare": false,
"span": {
"start": 7,
"end": 36,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 28,
"end": 34,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 28,
"end": 34,
"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
}