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": 43,
|
|
"end": 739,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 43,
|
|
"end": 60,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 60,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 58,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 77,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 68,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 81,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 85,
|
|
"end": 103,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 98,
|
|
"end": 99,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"span": {
|
|
"start": 92,
|
|
"end": 103,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"body": [],
|
|
"superClass": null,
|
|
"isAbstract": false,
|
|
"typeParams": null,
|
|
"superTypeParams": null,
|
|
"implements": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 104,
|
|
"end": 126,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 111,
|
|
"end": 126,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 121,
|
|
"end": 122,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 123,
|
|
"end": 126,
|
|
"ctxt": 0
|
|
},
|
|
"body": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 127,
|
|
"end": 156,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 134,
|
|
"end": 156,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"isConst": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 139,
|
|
"end": 140,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 147,
|
|
"end": 148,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 147,
|
|
"end": 148,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 150,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 150,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 153,
|
|
"end": 154,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 153,
|
|
"end": 154,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 157,
|
|
"end": 192,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsEnumDeclaration",
|
|
"span": {
|
|
"start": 164,
|
|
"end": 192,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"isConst": true,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 175,
|
|
"end": 176,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 183,
|
|
"end": 184,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 183,
|
|
"end": 184,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"value": "B",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
},
|
|
{
|
|
"type": "TsEnumMember",
|
|
"span": {
|
|
"start": 189,
|
|
"end": 190,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 189,
|
|
"end": 190,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"init": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 193,
|
|
"end": 230,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsModuleDeclaration",
|
|
"span": {
|
|
"start": 200,
|
|
"end": 230,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"global": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 207,
|
|
"end": 208,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "TsModuleBlock",
|
|
"span": {
|
|
"start": 209,
|
|
"end": 230,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 215,
|
|
"end": 228,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 222,
|
|
"end": 228,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 226,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 226,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 231,
|
|
"end": 281,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsModuleDeclaration",
|
|
"span": {
|
|
"start": 238,
|
|
"end": 281,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"global": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 245,
|
|
"end": 246,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "TsModuleBlock",
|
|
"span": {
|
|
"start": 247,
|
|
"end": 281,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 253,
|
|
"end": 279,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 260,
|
|
"end": 279,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 270,
|
|
"end": 271,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 272,
|
|
"end": 279,
|
|
"ctxt": 0
|
|
},
|
|
"body": []
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 282,
|
|
"end": 305,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsTypeAliasDeclaration",
|
|
"span": {
|
|
"start": 289,
|
|
"end": 305,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 294,
|
|
"end": 295,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"typeParams": null,
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 298,
|
|
"end": 304,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsImportEqualsDeclaration",
|
|
"span": {
|
|
"start": 306,
|
|
"end": 328,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"isExport": true,
|
|
"isTypeOnly": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 320,
|
|
"end": 321,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"moduleRef": {
|
|
"type": "TsQualifiedName",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 324,
|
|
"end": 325,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 326,
|
|
"end": 327,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 330,
|
|
"end": 430,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 339,
|
|
"end": 346,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 339,
|
|
"end": 340,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 344,
|
|
"end": 346,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 348,
|
|
"end": 355,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 348,
|
|
"end": 349,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 353,
|
|
"end": 355,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 357,
|
|
"end": 364,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 357,
|
|
"end": 358,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 362,
|
|
"end": 364,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 366,
|
|
"end": 373,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 366,
|
|
"end": 367,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 371,
|
|
"end": 373,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 375,
|
|
"end": 382,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 375,
|
|
"end": 376,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 380,
|
|
"end": 382,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 384,
|
|
"end": 391,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 384,
|
|
"end": 385,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 389,
|
|
"end": 391,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 393,
|
|
"end": 400,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 393,
|
|
"end": 394,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 398,
|
|
"end": 400,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 402,
|
|
"end": 409,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 402,
|
|
"end": 403,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 407,
|
|
"end": 409,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 411,
|
|
"end": 418,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 411,
|
|
"end": 412,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 416,
|
|
"end": 418,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 420,
|
|
"end": 427,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 420,
|
|
"end": 421,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 425,
|
|
"end": 427,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": null,
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 452,
|
|
"end": 564,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 468,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 463,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 467,
|
|
"end": 468,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 470,
|
|
"end": 477,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 470,
|
|
"end": 472,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 476,
|
|
"end": 477,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 479,
|
|
"end": 486,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 479,
|
|
"end": 481,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 485,
|
|
"end": 486,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 495,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 490,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 494,
|
|
"end": 495,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 497,
|
|
"end": 504,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 497,
|
|
"end": 499,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 503,
|
|
"end": 504,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 506,
|
|
"end": 513,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 506,
|
|
"end": 508,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 512,
|
|
"end": 513,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 515,
|
|
"end": 522,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 515,
|
|
"end": 517,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 521,
|
|
"end": 522,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 524,
|
|
"end": 531,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 524,
|
|
"end": 526,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 530,
|
|
"end": 531,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 533,
|
|
"end": 540,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 533,
|
|
"end": 535,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 539,
|
|
"end": 540,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 542,
|
|
"end": 549,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 542,
|
|
"end": 544,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 548,
|
|
"end": 549,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 557,
|
|
"end": 563,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./t1",
|
|
"raw": "\"./t1\""
|
|
},
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
},
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"span": {
|
|
"start": 586,
|
|
"end": 698,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 595,
|
|
"end": 602,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 601,
|
|
"end": 602,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 595,
|
|
"end": 597,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 611,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 610,
|
|
"end": 611,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 606,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 613,
|
|
"end": 620,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 619,
|
|
"end": 620,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 613,
|
|
"end": 615,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 622,
|
|
"end": 629,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 628,
|
|
"end": 629,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 622,
|
|
"end": 624,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 631,
|
|
"end": 638,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 637,
|
|
"end": 638,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 631,
|
|
"end": 633,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 640,
|
|
"end": 647,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 646,
|
|
"end": 647,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 640,
|
|
"end": 642,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 649,
|
|
"end": 656,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 655,
|
|
"end": 656,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 649,
|
|
"end": 651,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 658,
|
|
"end": 665,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 664,
|
|
"end": 665,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 658,
|
|
"end": 660,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 667,
|
|
"end": 674,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 673,
|
|
"end": 674,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 667,
|
|
"end": 669,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"span": {
|
|
"start": 676,
|
|
"end": 683,
|
|
"ctxt": 0
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 682,
|
|
"end": 683,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 676,
|
|
"end": 678,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 691,
|
|
"end": 697,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./t1",
|
|
"raw": "\"./t1\""
|
|
},
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 699,
|
|
"end": 739,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 708,
|
|
"end": 709,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 708,
|
|
"end": 709,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 711,
|
|
"end": 712,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 711,
|
|
"end": 712,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 714,
|
|
"end": 715,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 714,
|
|
"end": 715,
|
|
"ctxt": 0
|
|
},
|
|
"value": "C",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 717,
|
|
"end": 718,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 717,
|
|
"end": 718,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 720,
|
|
"end": 721,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 720,
|
|
"end": 721,
|
|
"ctxt": 0
|
|
},
|
|
"value": "E",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 723,
|
|
"end": 724,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 723,
|
|
"end": 724,
|
|
"ctxt": 0
|
|
},
|
|
"value": "D",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 726,
|
|
"end": 727,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 726,
|
|
"end": 727,
|
|
"ctxt": 0
|
|
},
|
|
"value": "M",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 729,
|
|
"end": 730,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 729,
|
|
"end": 730,
|
|
"ctxt": 0
|
|
},
|
|
"value": "N",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 732,
|
|
"end": 733,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 732,
|
|
"end": 733,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
},
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"span": {
|
|
"start": 735,
|
|
"end": 736,
|
|
"ctxt": 0
|
|
},
|
|
"orig": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 735,
|
|
"end": 736,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
},
|
|
"exported": null,
|
|
"isTypeOnly": false
|
|
}
|
|
],
|
|
"source": null,
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|