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

94 lines
2.0 KiB
JSON

{
"type": "Module",
"span": {
"start": 1,
"end": 52,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 14,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1,
"end": 13,
"ctxt": 0
},
"value": "use strict",
"raw": "\"use strict\""
}
},
{
"type": "ExportDeclaration",
"span": {
"start": 16,
"end": 52,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 29,
"end": 35,
"ctxt": 0
},
"value": "Logger",
"optional": false
},
"declare": false,
"span": {
"start": 23,
"end": 52,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 44,
"end": 50,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 44,
"end": 50,
"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
}