swc/crates/swc_ecma_parser/tests/tsc/jsdocAugments_qualifiedName.json
2022-03-22 07:54:08 +00:00

112 lines
2.2 KiB
JSON

{
"type": "Module",
"span": {
"start": 74,
"end": 170,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 74,
"end": 91,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 87,
"end": 88,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 81,
"end": 91,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
},
{
"type": "ImportDeclaration",
"span": {
"start": 113,
"end": 138,
"ctxt": 0
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"span": {
"start": 120,
"end": 126,
"ctxt": 0
},
"local": {
"type": "Identifier",
"span": {
"start": 125,
"end": 126,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
],
"source": {
"type": "StringLiteral",
"span": {
"start": 132,
"end": 137,
"ctxt": 0
},
"value": "./a",
"raw": "\"./a\""
},
"typeOnly": false,
"asserts": null
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 166,
"end": 167,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"span": {
"start": 160,
"end": 170,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}