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

180 lines
3.6 KiB
JSON

{
"type": "Module",
"span": {
"start": 38,
"end": 166,
"ctxt": 0
},
"body": [
{
"type": "ImportDeclaration",
"span": {
"start": 38,
"end": 67,
"ctxt": 0
},
"specifiers": [
{
"type": "ImportSpecifier",
"span": {
"start": 52,
"end": 53,
"ctxt": 0
},
"local": {
"type": "Identifier",
"span": {
"start": 52,
"end": 53,
"ctxt": 0
},
"value": "A",
"optional": false
},
"imported": null,
"isTypeOnly": false
}
],
"source": {
"type": "StringLiteral",
"span": {
"start": 61,
"end": 66,
"ctxt": 0
},
"value": "./b",
"raw": "'./b'"
},
"typeOnly": true,
"asserts": null
},
{
"type": "ExportNamedDeclaration",
"span": {
"start": 68,
"end": 91,
"ctxt": 0
},
"specifiers": [
{
"type": "ExportSpecifier",
"span": {
"start": 82,
"end": 88,
"ctxt": 0
},
"orig": {
"type": "Identifier",
"span": {
"start": 82,
"end": 83,
"ctxt": 0
},
"value": "A",
"optional": false
},
"exported": {
"type": "Identifier",
"span": {
"start": 87,
"end": 88,
"ctxt": 0
},
"value": "B",
"optional": false
},
"isTypeOnly": false
}
],
"source": null,
"typeOnly": true,
"asserts": null
},
{
"type": "ImportDeclaration",
"span": {
"start": 113,
"end": 142,
"ctxt": 0
},
"specifiers": [
{
"type": "ImportSpecifier",
"span": {
"start": 127,
"end": 128,
"ctxt": 0
},
"local": {
"type": "Identifier",
"span": {
"start": 127,
"end": 128,
"ctxt": 0
},
"value": "B",
"optional": false
},
"imported": null,
"isTypeOnly": false
}
],
"source": {
"type": "StringLiteral",
"span": {
"start": 136,
"end": 141,
"ctxt": 0
},
"value": "./a",
"raw": "'./a'"
},
"typeOnly": true,
"asserts": null
},
{
"type": "ExportNamedDeclaration",
"span": {
"start": 143,
"end": 166,
"ctxt": 0
},
"specifiers": [
{
"type": "ExportSpecifier",
"span": {
"start": 157,
"end": 163,
"ctxt": 0
},
"orig": {
"type": "Identifier",
"span": {
"start": 157,
"end": 158,
"ctxt": 0
},
"value": "B",
"optional": false
},
"exported": {
"type": "Identifier",
"span": {
"start": 162,
"end": 163,
"ctxt": 0
},
"value": "A",
"optional": false
},
"isTypeOnly": false
}
],
"source": null,
"typeOnly": true,
"asserts": null
}
],
"interpreter": null
}