mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
4d3fcb86e4
**Related issue:** - Closes #7179
180 lines
3.6 KiB
JSON
180 lines
3.6 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 68,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 53,
|
|
"end": 54,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 53,
|
|
"end": 54,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
},
|
|
"imported": null,
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 62,
|
|
"end": 67,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./b",
|
|
"raw": "'./b'"
|
|
},
|
|
"typeOnly": true,
|
|
"with": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 69,
|
|
"end": 92,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 83,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 83,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 88,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": null,
|
|
"typeOnly": true,
|
|
"with": null
|
|
},
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"span": {
|
|
"start": 114,
|
|
"end": 143,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 128,
|
|
"end": 129,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 128,
|
|
"end": 129,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"optional": false
|
|
},
|
|
"imported": null,
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 137,
|
|
"end": 142,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./a",
|
|
"raw": "'./a'"
|
|
},
|
|
"typeOnly": true,
|
|
"with": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 144,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 158,
|
|
"end": 164,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 158,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 163,
|
|
"end": 164,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": null,
|
|
"typeOnly": true,
|
|
"with": null
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|