mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
1726 lines
38 KiB
JSON
1726 lines
38 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 750,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 65,
|
|
"end": 70,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 65,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 69,
|
|
"end": 70,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 72,
|
|
"end": 95,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 88,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 79,
|
|
"end": 95,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 92,
|
|
"end": 95,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 114,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 109,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"span": {
|
|
"start": 103,
|
|
"end": 114,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"body": [],
|
|
"superClass": null,
|
|
"isAbstract": false,
|
|
"typeParams": null,
|
|
"superTypeParams": null,
|
|
"implements": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 115,
|
|
"end": 137,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 122,
|
|
"end": 137,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 134,
|
|
"end": 137,
|
|
"ctxt": 0
|
|
},
|
|
"body": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 138,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"isConst": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 150,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 158,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 158,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 162,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 162,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 164,
|
|
"end": 165,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 164,
|
|
"end": 165,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 168,
|
|
"end": 203,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 175,
|
|
"end": 203,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"isConst": true,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 195,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 195,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 197,
|
|
"end": 198,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 197,
|
|
"end": 198,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 200,
|
|
"end": 201,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 200,
|
|
"end": 201,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 204,
|
|
"end": 241,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsModuleDeclaration",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 241,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"global": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 218,
|
|
"end": 219,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "TsModuleBlock",
|
|
"span": {
|
|
"start": 220,
|
|
"end": 241,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 226,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 233,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 237,
|
|
"end": 238,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 237,
|
|
"end": 238,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 242,
|
|
"end": 292,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsModuleDeclaration",
|
|
"span": {
|
|
"start": 249,
|
|
"end": 292,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"global": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 256,
|
|
"end": 257,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "TsModuleBlock",
|
|
"span": {
|
|
"start": 258,
|
|
"end": 292,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 264,
|
|
"end": 290,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 271,
|
|
"end": 290,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 281,
|
|
"end": 282,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 283,
|
|
"end": 290,
|
|
"ctxt": 0
|
|
},
|
|
"body": []
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 293,
|
|
"end": 316,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsTypeAliasDeclaration",
|
|
"span": {
|
|
"start": 300,
|
|
"end": 316,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 305,
|
|
"end": 306,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"typeParams": null,
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 309,
|
|
"end": 315,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsImportEqualsDeclaration",
|
|
"span": {
|
|
"start": 317,
|
|
"end": 339,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"isExport": true,
|
|
"isTypeOnly": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 331,
|
|
"end": 332,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"moduleRef": {
|
|
"type": "TsQualifiedName",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 335,
|
|
"end": 336,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 337,
|
|
"end": 338,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 341,
|
|
"end": 441,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 350,
|
|
"end": 357,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 350,
|
|
"end": 351,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 355,
|
|
"end": 357,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 359,
|
|
"end": 366,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 359,
|
|
"end": 360,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 364,
|
|
"end": 366,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 368,
|
|
"end": 375,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 368,
|
|
"end": 369,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 373,
|
|
"end": 375,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 377,
|
|
"end": 384,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 377,
|
|
"end": 378,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 382,
|
|
"end": 384,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 386,
|
|
"end": 393,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 386,
|
|
"end": 387,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 391,
|
|
"end": 393,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 395,
|
|
"end": 402,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 395,
|
|
"end": 396,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 400,
|
|
"end": 402,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 404,
|
|
"end": 411,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 404,
|
|
"end": 405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 409,
|
|
"end": 411,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 413,
|
|
"end": 420,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 413,
|
|
"end": 414,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 418,
|
|
"end": 420,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 422,
|
|
"end": 429,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 422,
|
|
"end": 423,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 427,
|
|
"end": 429,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 431,
|
|
"end": 438,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 431,
|
|
"end": 432,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 436,
|
|
"end": 438,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": null,
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 463,
|
|
"end": 575,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 472,
|
|
"end": 479,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 472,
|
|
"end": 474,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 478,
|
|
"end": 479,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 481,
|
|
"end": 488,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 481,
|
|
"end": 483,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 487,
|
|
"end": 488,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 490,
|
|
"end": 497,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 490,
|
|
"end": 492,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 496,
|
|
"end": 497,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 499,
|
|
"end": 506,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 499,
|
|
"end": 501,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 505,
|
|
"end": 506,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 508,
|
|
"end": 515,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 508,
|
|
"end": 510,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 514,
|
|
"end": 515,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 517,
|
|
"end": 524,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 517,
|
|
"end": 519,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 523,
|
|
"end": 524,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 526,
|
|
"end": 533,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 526,
|
|
"end": 528,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 532,
|
|
"end": 533,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 535,
|
|
"end": 542,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 535,
|
|
"end": 537,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 541,
|
|
"end": 542,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 544,
|
|
"end": 551,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 544,
|
|
"end": 546,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 550,
|
|
"end": 551,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 553,
|
|
"end": 560,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 553,
|
|
"end": 555,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 559,
|
|
"end": 560,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 568,
|
|
"end": 574,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./t1",
|
|
"raw": "\"./t1\""
|
|
},
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
},
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"span": {
|
|
"start": 597,
|
|
"end": 709,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 606,
|
|
"end": 613,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 612,
|
|
"end": 613,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 606,
|
|
"end": 608,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 615,
|
|
"end": 622,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 621,
|
|
"end": 622,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 615,
|
|
"end": 617,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 624,
|
|
"end": 631,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 630,
|
|
"end": 631,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 624,
|
|
"end": 626,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 633,
|
|
"end": 640,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 639,
|
|
"end": 640,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 633,
|
|
"end": 635,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 642,
|
|
"end": 649,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 648,
|
|
"end": 649,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 642,
|
|
"end": 644,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 651,
|
|
"end": 658,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 657,
|
|
"end": 658,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 651,
|
|
"end": 653,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 660,
|
|
"end": 667,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 666,
|
|
"end": 667,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 660,
|
|
"end": 662,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 669,
|
|
"end": 676,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 675,
|
|
"end": 676,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 669,
|
|
"end": 671,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 678,
|
|
"end": 685,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 684,
|
|
"end": 685,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 678,
|
|
"end": 680,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 687,
|
|
"end": 694,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 693,
|
|
"end": 694,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 687,
|
|
"end": 689,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 702,
|
|
"end": 708,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./t1",
|
|
"raw": "\"./t1\""
|
|
},
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 710,
|
|
"end": 750,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 719,
|
|
"end": 720,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 719,
|
|
"end": 720,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 722,
|
|
"end": 723,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 722,
|
|
"end": 723,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 725,
|
|
"end": 726,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 725,
|
|
"end": 726,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 728,
|
|
"end": 729,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 728,
|
|
"end": 729,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 731,
|
|
"end": 732,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 731,
|
|
"end": 732,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 734,
|
|
"end": 735,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 734,
|
|
"end": 735,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 737,
|
|
"end": 738,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 737,
|
|
"end": 738,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 740,
|
|
"end": 741,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 740,
|
|
"end": 741,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 743,
|
|
"end": 744,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 743,
|
|
"end": 744,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 746,
|
|
"end": 747,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 746,
|
|
"end": 747,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": null,
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|