mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
3798 lines
102 KiB
JSON
3798 lines
102 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 936,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": true,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 77,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 35,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o1",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 77,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsUnionType",
|
|
"span": {
|
|
"start": 37,
|
|
"end": 77,
|
|
"ctxt": 0
|
|
},
|
|
"types": [
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 37,
|
|
"end": 46,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "undefined"
|
|
},
|
|
{
|
|
"type": "TsParenthesizedType",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 77,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsFunctionType",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "RestElement",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"rest": {
|
|
"start": 51,
|
|
"end": 54,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 58,
|
|
"ctxt": 0
|
|
},
|
|
"value": "args",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 58,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsArrayType",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"elemType": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 63,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeParams": null,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 67,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 70,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 79,
|
|
"end": 86,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 79,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 81,
|
|
"end": 82,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 79,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 79,
|
|
"end": 81,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o1",
|
|
"optional": false
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 87,
|
|
"end": 95,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 87,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 89,
|
|
"end": 90,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 87,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 87,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o1",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 92,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 112,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 111,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 98,
|
|
"end": 99,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 111,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 98,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o1",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": {
|
|
"start": 101,
|
|
"end": 104,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 104,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 105,
|
|
"end": 106,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 108,
|
|
"end": 109,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 113,
|
|
"end": 135,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 113,
|
|
"end": 134,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 115,
|
|
"end": 116,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 113,
|
|
"end": 134,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 113,
|
|
"end": 115,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o1",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 118,
|
|
"end": 119,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": {
|
|
"start": 121,
|
|
"end": 124,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 124,
|
|
"end": 130,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 125,
|
|
"end": 126,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 128,
|
|
"end": 129,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 137,
|
|
"end": 201,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": true,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 151,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 151,
|
|
"end": 153,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 153,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsUnionType",
|
|
"span": {
|
|
"start": 155,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"types": [
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 155,
|
|
"end": 164,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "undefined"
|
|
},
|
|
{
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 167,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 198,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 170,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 170,
|
|
"end": 198,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsFunctionType",
|
|
"span": {
|
|
"start": 172,
|
|
"end": 198,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "RestElement",
|
|
"span": {
|
|
"start": 173,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"rest": {
|
|
"start": 173,
|
|
"end": 176,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 176,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"value": "args",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 180,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsArrayType",
|
|
"span": {
|
|
"start": 182,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"elemType": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 182,
|
|
"end": 185,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeParams": null,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 189,
|
|
"end": 198,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 192,
|
|
"end": 198,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 202,
|
|
"end": 210,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 202,
|
|
"end": 209,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 202,
|
|
"end": 207,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 204,
|
|
"end": 205,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 202,
|
|
"end": 207,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 202,
|
|
"end": 204,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 206,
|
|
"end": 207,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 220,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 219,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 216,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 213,
|
|
"end": 214,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 216,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 213,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 215,
|
|
"end": 216,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 217,
|
|
"end": 218,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 221,
|
|
"end": 238,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 221,
|
|
"end": 237,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 221,
|
|
"end": 226,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 223,
|
|
"end": 224,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 221,
|
|
"end": 226,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 221,
|
|
"end": 223,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 225,
|
|
"end": 226,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": {
|
|
"start": 227,
|
|
"end": 230,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 230,
|
|
"end": 236,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 231,
|
|
"end": 232,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 234,
|
|
"end": 235,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 239,
|
|
"end": 262,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 239,
|
|
"end": 261,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 239,
|
|
"end": 244,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 241,
|
|
"end": 242,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 239,
|
|
"end": 244,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 239,
|
|
"end": 241,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 243,
|
|
"end": 244,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 245,
|
|
"end": 246,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": {
|
|
"start": 248,
|
|
"end": 251,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 251,
|
|
"end": 257,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 252,
|
|
"end": 253,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 255,
|
|
"end": 256,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 259,
|
|
"end": 260,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 263,
|
|
"end": 275,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 263,
|
|
"end": 274,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 263,
|
|
"end": 272,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 265,
|
|
"end": 266,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 263,
|
|
"end": 272,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 263,
|
|
"end": 265,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 267,
|
|
"end": 272,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 268,
|
|
"end": 271,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 289,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 288,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 285,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 278,
|
|
"end": 279,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 285,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 278,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 280,
|
|
"end": 285,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 281,
|
|
"end": 284,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 286,
|
|
"end": 287,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 290,
|
|
"end": 311,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 290,
|
|
"end": 310,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 290,
|
|
"end": 299,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 292,
|
|
"end": 293,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 290,
|
|
"end": 299,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 290,
|
|
"end": 292,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 294,
|
|
"end": 299,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 295,
|
|
"end": 298,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": {
|
|
"start": 300,
|
|
"end": 303,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 303,
|
|
"end": 309,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 304,
|
|
"end": 305,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 307,
|
|
"end": 308,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 312,
|
|
"end": 339,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 312,
|
|
"end": 338,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 312,
|
|
"end": 321,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 314,
|
|
"end": 315,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 312,
|
|
"end": 321,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 312,
|
|
"end": 314,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 316,
|
|
"end": 321,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 317,
|
|
"end": 320,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 322,
|
|
"end": 323,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": {
|
|
"start": 325,
|
|
"end": 328,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 328,
|
|
"end": 334,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 329,
|
|
"end": 330,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 332,
|
|
"end": 333,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 336,
|
|
"end": 337,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 341,
|
|
"end": 414,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": true,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 355,
|
|
"end": 413,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 355,
|
|
"end": 357,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 357,
|
|
"end": 413,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 359,
|
|
"end": 413,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 361,
|
|
"end": 411,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 361,
|
|
"end": 362,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 362,
|
|
"end": 411,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsUnionType",
|
|
"span": {
|
|
"start": 364,
|
|
"end": 411,
|
|
"ctxt": 0
|
|
},
|
|
"types": [
|
|
{
|
|
"type": "TsParenthesizedType",
|
|
"span": {
|
|
"start": 364,
|
|
"end": 399,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsFunctionType",
|
|
"span": {
|
|
"start": 365,
|
|
"end": 398,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "RestElement",
|
|
"span": {
|
|
"start": 366,
|
|
"end": 380,
|
|
"ctxt": 0
|
|
},
|
|
"rest": {
|
|
"start": 366,
|
|
"end": 369,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 369,
|
|
"end": 373,
|
|
"ctxt": 0
|
|
},
|
|
"value": "args",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 373,
|
|
"end": 380,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsArrayType",
|
|
"span": {
|
|
"start": 375,
|
|
"end": 380,
|
|
"ctxt": 0
|
|
},
|
|
"elemType": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 375,
|
|
"end": 378,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeParams": null,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 382,
|
|
"end": 398,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 385,
|
|
"end": 398,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 387,
|
|
"end": 396,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 387,
|
|
"end": 388,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 388,
|
|
"end": 396,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 390,
|
|
"end": 396,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "string"
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 402,
|
|
"end": 411,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "undefined"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 415,
|
|
"end": 426,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 415,
|
|
"end": 425,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 415,
|
|
"end": 423,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 419,
|
|
"end": 420,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 415,
|
|
"end": 423,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 415,
|
|
"end": 419,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 415,
|
|
"end": 417,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 418,
|
|
"end": 419,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 424,
|
|
"end": 425,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 427,
|
|
"end": 439,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 427,
|
|
"end": 438,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 427,
|
|
"end": 436,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 431,
|
|
"end": 432,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 427,
|
|
"end": 436,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 427,
|
|
"end": 431,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 427,
|
|
"end": 429,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 430,
|
|
"end": 431,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 434,
|
|
"end": 435,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 437,
|
|
"end": 438,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 440,
|
|
"end": 460,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 440,
|
|
"end": 459,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 440,
|
|
"end": 457,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 444,
|
|
"end": 445,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 440,
|
|
"end": 457,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 440,
|
|
"end": 444,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 440,
|
|
"end": 442,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 443,
|
|
"end": 444,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": {
|
|
"start": 447,
|
|
"end": 450,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 450,
|
|
"end": 456,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 451,
|
|
"end": 452,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 454,
|
|
"end": 455,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 458,
|
|
"end": 459,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 487,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 486,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 484,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 465,
|
|
"end": 466,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 484,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 465,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 463,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 464,
|
|
"end": 465,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 468,
|
|
"end": 469,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": {
|
|
"start": 471,
|
|
"end": 474,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 474,
|
|
"end": 480,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 475,
|
|
"end": 476,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 478,
|
|
"end": 479,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 482,
|
|
"end": 483,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 485,
|
|
"end": 486,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 502,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 501,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 496,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 492,
|
|
"end": 493,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 496,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 492,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 490,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 491,
|
|
"end": 492,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 496,
|
|
"end": 501,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 497,
|
|
"end": 500,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"raw": "\"c\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 503,
|
|
"end": 518,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 503,
|
|
"end": 517,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 503,
|
|
"end": 512,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 507,
|
|
"end": 508,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 503,
|
|
"end": 512,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 503,
|
|
"end": 507,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 503,
|
|
"end": 505,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 506,
|
|
"end": 507,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 510,
|
|
"end": 511,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 512,
|
|
"end": 517,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 513,
|
|
"end": 516,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"raw": "\"c\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 519,
|
|
"end": 542,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 519,
|
|
"end": 541,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 519,
|
|
"end": 536,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 523,
|
|
"end": 524,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 519,
|
|
"end": 536,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 519,
|
|
"end": 523,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 519,
|
|
"end": 521,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 522,
|
|
"end": 523,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": {
|
|
"start": 526,
|
|
"end": 529,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 529,
|
|
"end": 535,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 530,
|
|
"end": 531,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 533,
|
|
"end": 534,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 536,
|
|
"end": 541,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 537,
|
|
"end": 540,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"raw": "\"c\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 543,
|
|
"end": 572,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 543,
|
|
"end": 571,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 543,
|
|
"end": 566,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 547,
|
|
"end": 548,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 543,
|
|
"end": 566,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 543,
|
|
"end": 547,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 543,
|
|
"end": 545,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 546,
|
|
"end": 547,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 550,
|
|
"end": 551,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": {
|
|
"start": 553,
|
|
"end": 556,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 556,
|
|
"end": 562,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 557,
|
|
"end": 558,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 560,
|
|
"end": 561,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 564,
|
|
"end": 565,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 566,
|
|
"end": 571,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 567,
|
|
"end": 570,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"raw": "\"c\""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 573,
|
|
"end": 587,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 573,
|
|
"end": 586,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 573,
|
|
"end": 584,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 580,
|
|
"end": 581,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 573,
|
|
"end": 584,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 573,
|
|
"end": 580,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 573,
|
|
"end": 575,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 575,
|
|
"end": 580,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 576,
|
|
"end": 579,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 585,
|
|
"end": 586,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 588,
|
|
"end": 603,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 588,
|
|
"end": 602,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 588,
|
|
"end": 600,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 595,
|
|
"end": 596,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 588,
|
|
"end": 600,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 588,
|
|
"end": 595,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 588,
|
|
"end": 590,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 590,
|
|
"end": 595,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 591,
|
|
"end": 594,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 598,
|
|
"end": 599,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 601,
|
|
"end": 602,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 627,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 626,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 624,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 611,
|
|
"end": 612,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 624,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 611,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 606,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 606,
|
|
"end": 611,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 607,
|
|
"end": 610,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": {
|
|
"start": 614,
|
|
"end": 617,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 617,
|
|
"end": 623,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 618,
|
|
"end": 619,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 621,
|
|
"end": 622,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 625,
|
|
"end": 626,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 628,
|
|
"end": 657,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 628,
|
|
"end": 656,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 628,
|
|
"end": 654,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 635,
|
|
"end": 636,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 628,
|
|
"end": 654,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 628,
|
|
"end": 635,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 628,
|
|
"end": 630,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o3",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 630,
|
|
"end": 635,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 631,
|
|
"end": 634,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"raw": "\"b\""
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 638,
|
|
"end": 639,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": {
|
|
"start": 641,
|
|
"end": 644,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 644,
|
|
"end": 650,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 645,
|
|
"end": 646,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 648,
|
|
"end": 649,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 652,
|
|
"end": 653,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 655,
|
|
"end": 656,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 659,
|
|
"end": 716,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": true,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 673,
|
|
"end": 715,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 673,
|
|
"end": 675,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o4",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 675,
|
|
"end": 715,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsUnionType",
|
|
"span": {
|
|
"start": 677,
|
|
"end": 715,
|
|
"ctxt": 0
|
|
},
|
|
"types": [
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 677,
|
|
"end": 686,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "undefined"
|
|
},
|
|
{
|
|
"type": "TsParenthesizedType",
|
|
"span": {
|
|
"start": 689,
|
|
"end": 715,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsFunctionType",
|
|
"span": {
|
|
"start": 690,
|
|
"end": 714,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 694,
|
|
"end": 708,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 695,
|
|
"end": 708,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsFunctionType",
|
|
"span": {
|
|
"start": 697,
|
|
"end": 708,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 698,
|
|
"end": 702,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 699,
|
|
"end": 702,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 701,
|
|
"end": 702,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 701,
|
|
"end": 702,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeParams": null,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 704,
|
|
"end": 708,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 707,
|
|
"end": 708,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 707,
|
|
"end": 708,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeParams": {
|
|
"type": "TsTypeParameterDeclaration",
|
|
"span": {
|
|
"start": 690,
|
|
"end": 693,
|
|
"ctxt": 0
|
|
},
|
|
"parameters": [
|
|
{
|
|
"type": "TsTypeParameter",
|
|
"span": {
|
|
"start": 691,
|
|
"end": 692,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 691,
|
|
"end": 692,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"in": false,
|
|
"out": false,
|
|
"constraint": null,
|
|
"default": null
|
|
}
|
|
]
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 710,
|
|
"end": 714,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 713,
|
|
"end": 714,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 713,
|
|
"end": 714,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 734,
|
|
"end": 738,
|
|
"ctxt": 0
|
|
},
|
|
"value": "incr",
|
|
"optional": false
|
|
},
|
|
"declare": true,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 739,
|
|
"end": 748,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 739,
|
|
"end": 748,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 740,
|
|
"end": 748,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 742,
|
|
"end": 748,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 717,
|
|
"end": 758,
|
|
"ctxt": 0
|
|
},
|
|
"body": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 749,
|
|
"end": 757,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 751,
|
|
"end": 757,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 759,
|
|
"end": 800,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 765,
|
|
"end": 799,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 765,
|
|
"end": 766,
|
|
"ctxt": 0
|
|
},
|
|
"value": "v",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 766,
|
|
"end": 786,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsUnionType",
|
|
"span": {
|
|
"start": 768,
|
|
"end": 786,
|
|
"ctxt": 0
|
|
},
|
|
"types": [
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 768,
|
|
"end": 774,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
},
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 777,
|
|
"end": 786,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "undefined"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 789,
|
|
"end": 799,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 791,
|
|
"end": 792,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 789,
|
|
"end": 799,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 789,
|
|
"end": 791,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o4",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 794,
|
|
"end": 798,
|
|
"ctxt": 0
|
|
},
|
|
"value": "incr",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 814,
|
|
"end": 866,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": true,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 828,
|
|
"end": 865,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 828,
|
|
"end": 830,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o5",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 830,
|
|
"end": 865,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsFunctionType",
|
|
"span": {
|
|
"start": 832,
|
|
"end": 865,
|
|
"ctxt": 0
|
|
},
|
|
"params": [],
|
|
"typeParams": {
|
|
"type": "TsTypeParameterDeclaration",
|
|
"span": {
|
|
"start": 832,
|
|
"end": 835,
|
|
"ctxt": 0
|
|
},
|
|
"parameters": [
|
|
{
|
|
"type": "TsTypeParameter",
|
|
"span": {
|
|
"start": 833,
|
|
"end": 834,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 833,
|
|
"end": 834,
|
|
"ctxt": 0
|
|
},
|
|
"value": "T",
|
|
"optional": false
|
|
},
|
|
"in": false,
|
|
"out": false,
|
|
"constraint": null,
|
|
"default": null
|
|
}
|
|
]
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 838,
|
|
"end": 865,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsUnionType",
|
|
"span": {
|
|
"start": 841,
|
|
"end": 865,
|
|
"ctxt": 0
|
|
},
|
|
"types": [
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 841,
|
|
"end": 850,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "undefined"
|
|
},
|
|
{
|
|
"type": "TsParenthesizedType",
|
|
"span": {
|
|
"start": 853,
|
|
"end": 865,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsFunctionType",
|
|
"span": {
|
|
"start": 854,
|
|
"end": 864,
|
|
"ctxt": 0
|
|
},
|
|
"params": [],
|
|
"typeParams": null,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 857,
|
|
"end": 864,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 860,
|
|
"end": 864,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 867,
|
|
"end": 884,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 867,
|
|
"end": 883,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 879,
|
|
"end": 880,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 867,
|
|
"end": 883,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 867,
|
|
"end": 879,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 867,
|
|
"end": 869,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o5",
|
|
"optional": false
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": {
|
|
"type": "TsTypeParameterInstantiation",
|
|
"span": {
|
|
"start": 869,
|
|
"end": 877,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 870,
|
|
"end": 876,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 898,
|
|
"end": 916,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 898,
|
|
"end": 915,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "TsNonNullExpression",
|
|
"span": {
|
|
"start": 898,
|
|
"end": 906,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 898,
|
|
"end": 905,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 898,
|
|
"end": 903,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 900,
|
|
"end": 901,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 898,
|
|
"end": 903,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 898,
|
|
"end": 900,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 902,
|
|
"end": 903,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 907,
|
|
"end": 915,
|
|
"ctxt": 0
|
|
},
|
|
"value": "toString",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 936,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "TsNonNullExpression",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 935,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 934,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "TsNonNullExpression",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 925,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 924,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "OptionalChainingExpression",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 922,
|
|
"ctxt": 0
|
|
},
|
|
"questionDotToken": {
|
|
"start": 919,
|
|
"end": 920,
|
|
"ctxt": 0
|
|
},
|
|
"base": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 922,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 917,
|
|
"end": 919,
|
|
"ctxt": 0
|
|
},
|
|
"value": "o2",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 921,
|
|
"end": 922,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 926,
|
|
"end": 934,
|
|
"ctxt": 0
|
|
},
|
|
"value": "toString",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|