swc/crates/swc_ecma_parser/tests/tsc/uniqueSymbolsDeclarations.json

9723 lines
245 KiB
JSON

{
"type": "Script",
"span": {
"start": 131,
"end": 7134,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 131,
"end": 158,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 137,
"end": 157,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 137,
"end": 146,
"ctxt": 0
},
"value": "constCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 149,
"end": 157,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 149,
"end": 155,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 159,
"end": 182,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 163,
"end": 181,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 163,
"end": 170,
"ctxt": 0
},
"value": "letCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 173,
"end": 181,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 173,
"end": 179,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 183,
"end": 206,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 187,
"end": 205,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 187,
"end": 194,
"ctxt": 0
},
"value": "varCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 197,
"end": 205,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 197,
"end": 203,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 241,
"end": 280,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 255,
"end": 279,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 255,
"end": 264,
"ctxt": 0
},
"value": "constType",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 264,
"end": 279,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 266,
"end": 279,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 273,
"end": 279,
"ctxt": 0
},
"kind": "symbol"
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 328,
"end": 377,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 334,
"end": 376,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 334,
"end": 350,
"ctxt": 0
},
"value": "constTypeAndCall",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 350,
"end": 365,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 352,
"end": 365,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 359,
"end": 365,
"ctxt": 0
},
"kind": "symbol"
}
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 368,
"end": 376,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 368,
"end": 374,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 411,
"end": 450,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 417,
"end": 449,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 417,
"end": 437,
"ctxt": 0
},
"value": "constInitToConstCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 440,
"end": 449,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 451,
"end": 486,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 457,
"end": 485,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 457,
"end": 475,
"ctxt": 0
},
"value": "constInitToLetCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 478,
"end": 485,
"ctxt": 0
},
"value": "letCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 487,
"end": 522,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 493,
"end": 521,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 493,
"end": 511,
"ctxt": 0
},
"value": "constInitToVarCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 514,
"end": 521,
"ctxt": 0
},
"value": "varCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 523,
"end": 569,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 529,
"end": 568,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 529,
"end": 556,
"ctxt": 0
},
"value": "constInitToConstDeclAmbient",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 559,
"end": 568,
"ctxt": 0
},
"value": "constType",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 570,
"end": 605,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 574,
"end": 604,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 574,
"end": 592,
"ctxt": 0
},
"value": "letInitToConstCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 595,
"end": 604,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 606,
"end": 637,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 610,
"end": 636,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 610,
"end": 626,
"ctxt": 0
},
"value": "letInitToLetCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 629,
"end": 636,
"ctxt": 0
},
"value": "letCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 638,
"end": 669,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 642,
"end": 668,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 642,
"end": 658,
"ctxt": 0
},
"value": "letInitToVarCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 661,
"end": 668,
"ctxt": 0
},
"value": "varCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 670,
"end": 712,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 674,
"end": 711,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 674,
"end": 699,
"ctxt": 0
},
"value": "letInitToConstDeclAmbient",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 702,
"end": 711,
"ctxt": 0
},
"value": "constType",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 713,
"end": 748,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 717,
"end": 747,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 717,
"end": 735,
"ctxt": 0
},
"value": "varInitToConstCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 738,
"end": 747,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 749,
"end": 780,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 753,
"end": 779,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 753,
"end": 769,
"ctxt": 0
},
"value": "varInitToLetCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 772,
"end": 779,
"ctxt": 0
},
"value": "letCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 781,
"end": 812,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 785,
"end": 811,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 785,
"end": 801,
"ctxt": 0
},
"value": "varInitToVarCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 804,
"end": 811,
"ctxt": 0
},
"value": "varCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 813,
"end": 855,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 817,
"end": 854,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 817,
"end": 842,
"ctxt": 0
},
"value": "varInitToConstDeclAmbient",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 845,
"end": 854,
"ctxt": 0
},
"value": "constType",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 905,
"end": 975,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 911,
"end": 974,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 911,
"end": 944,
"ctxt": 0
},
"value": "constInitToConstCallWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 944,
"end": 962,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 946,
"end": 962,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 953,
"end": 962,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"typeArguments": null
}
}
},
"init": {
"type": "Identifier",
"span": {
"start": 965,
"end": 974,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 976,
"end": 1053,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 982,
"end": 1052,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 982,
"end": 1022,
"ctxt": 0
},
"value": "constInitToConstDeclAmbientWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1022,
"end": 1040,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 1024,
"end": 1040,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 1031,
"end": 1040,
"ctxt": 0
},
"value": "constType",
"optional": false
},
"typeArguments": null
}
}
},
"init": {
"type": "Identifier",
"span": {
"start": 1043,
"end": 1052,
"ctxt": 0
},
"value": "constType",
"optional": false
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1093,
"end": 1112,
"ctxt": 0
},
"value": "funcReturnConstCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1084,
"end": 1136,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1115,
"end": 1136,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1117,
"end": 1134,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1124,
"end": 1133,
"ctxt": 0
},
"value": "constCall",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1146,
"end": 1163,
"ctxt": 0
},
"value": "funcReturnLetCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1137,
"end": 1185,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1166,
"end": 1185,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1168,
"end": 1183,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1175,
"end": 1182,
"ctxt": 0
},
"value": "letCall",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1195,
"end": 1212,
"ctxt": 0
},
"value": "funcReturnVarCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1186,
"end": 1234,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1215,
"end": 1234,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1217,
"end": 1232,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1224,
"end": 1231,
"ctxt": 0
},
"value": "varCall",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1286,
"end": 1318,
"ctxt": 0
},
"value": "funcReturnConstCallWithTypeQuery",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1277,
"end": 1360,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1339,
"end": 1360,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1341,
"end": 1358,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1348,
"end": 1357,
"ctxt": 0
},
"value": "constCall",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1320,
"end": 1338,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 1322,
"end": 1338,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 1329,
"end": 1338,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"typeArguments": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1410,
"end": 1431,
"ctxt": 0
},
"value": "genFuncYieldConstCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1400,
"end": 1454,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1434,
"end": 1454,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1436,
"end": 1452,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 1436,
"end": 1451,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1442,
"end": 1451,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1465,
"end": 1484,
"ctxt": 0
},
"value": "genFuncYieldLetCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1455,
"end": 1505,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1487,
"end": 1505,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1489,
"end": 1503,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 1489,
"end": 1502,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1495,
"end": 1502,
"ctxt": 0
},
"value": "letCall",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1516,
"end": 1535,
"ctxt": 0
},
"value": "genFuncYieldVarCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1506,
"end": 1556,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1538,
"end": 1556,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1540,
"end": 1554,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 1540,
"end": 1553,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1546,
"end": 1553,
"ctxt": 0
},
"value": "varCall",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1619,
"end": 1653,
"ctxt": 0
},
"value": "genFuncYieldConstCallWithTypeQuery",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1609,
"end": 1712,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1692,
"end": 1712,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1694,
"end": 1710,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 1694,
"end": 1709,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1700,
"end": 1709,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1655,
"end": 1691,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1657,
"end": 1691,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1657,
"end": 1673,
"ctxt": 0
},
"value": "IterableIterator",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1673,
"end": 1691,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 1674,
"end": 1690,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 1681,
"end": 1690,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"typeArguments": null
}
]
}
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1764,
"end": 1788,
"ctxt": 0
},
"value": "asyncFuncReturnConstCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1749,
"end": 1812,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1791,
"end": 1812,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1793,
"end": 1810,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1800,
"end": 1809,
"ctxt": 0
},
"value": "constCall",
"optional": false
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1828,
"end": 1850,
"ctxt": 0
},
"value": "asyncFuncReturnLetCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1813,
"end": 1872,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1853,
"end": 1872,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1855,
"end": 1870,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1862,
"end": 1869,
"ctxt": 0
},
"value": "letCall",
"optional": false
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1888,
"end": 1910,
"ctxt": 0
},
"value": "asyncFuncReturnVarCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1873,
"end": 1932,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1913,
"end": 1932,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1915,
"end": 1930,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1922,
"end": 1929,
"ctxt": 0
},
"value": "varCall",
"optional": false
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1994,
"end": 2020,
"ctxt": 0
},
"value": "asyncGenFuncYieldConstCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1978,
"end": 2043,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2023,
"end": 2043,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2025,
"end": 2041,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 2025,
"end": 2040,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2031,
"end": 2040,
"ctxt": 0
},
"value": "constCall",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2060,
"end": 2084,
"ctxt": 0
},
"value": "asyncGenFuncYieldLetCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 2044,
"end": 2105,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2087,
"end": 2105,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2089,
"end": 2103,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 2089,
"end": 2102,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2095,
"end": 2102,
"ctxt": 0
},
"value": "letCall",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2122,
"end": 2146,
"ctxt": 0
},
"value": "asyncGenFuncYieldVarCall",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 2106,
"end": 2167,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2149,
"end": 2167,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2151,
"end": 2165,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 2151,
"end": 2164,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2157,
"end": 2164,
"ctxt": 0
},
"value": "varCall",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2186,
"end": 2187,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 2180,
"end": 2482,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 2194,
"end": 2240,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2210,
"end": 2228,
"ctxt": 0
},
"value": "readonlyStaticCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 2231,
"end": 2239,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2231,
"end": 2237,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 2245,
"end": 2295,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2261,
"end": 2279,
"ctxt": 0
},
"value": "readonlyStaticType",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2279,
"end": 2294,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 2281,
"end": 2294,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2288,
"end": 2294,
"ctxt": 0
},
"kind": "symbol"
}
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 2300,
"end": 2368,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2316,
"end": 2341,
"ctxt": 0
},
"value": "readonlyStaticTypeAndCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 2359,
"end": 2367,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2359,
"end": 2365,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2341,
"end": 2356,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 2343,
"end": 2356,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2350,
"end": 2356,
"ctxt": 0
},
"kind": "symbol"
}
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 2373,
"end": 2411,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2380,
"end": 2399,
"ctxt": 0
},
"value": "readwriteStaticCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 2402,
"end": 2410,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2402,
"end": 2408,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 2417,
"end": 2450,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2426,
"end": 2438,
"ctxt": 0
},
"value": "readonlyCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 2441,
"end": 2449,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2441,
"end": 2447,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 2455,
"end": 2480,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2455,
"end": 2468,
"ctxt": 0
},
"value": "readwriteCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 2471,
"end": 2479,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2471,
"end": 2477,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "VariableDeclaration",
"span": {
"start": 2483,
"end": 2502,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2497,
"end": 2501,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2497,
"end": 2498,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2498,
"end": 2501,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2500,
"end": 2501,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2500,
"end": 2501,
"ctxt": 0
},
"value": "C",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2504,
"end": 2564,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2510,
"end": 2563,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2510,
"end": 2540,
"ctxt": 0
},
"value": "constInitToCReadonlyStaticCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2543,
"end": 2563,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2543,
"end": 2544,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2545,
"end": 2563,
"ctxt": 0
},
"value": "readonlyStaticCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2565,
"end": 2625,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2571,
"end": 2624,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2571,
"end": 2601,
"ctxt": 0
},
"value": "constInitToCReadonlyStaticType",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2604,
"end": 2624,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2604,
"end": 2605,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2606,
"end": 2624,
"ctxt": 0
},
"value": "readonlyStaticType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2626,
"end": 2700,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2632,
"end": 2699,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2632,
"end": 2669,
"ctxt": 0
},
"value": "constInitToCReadonlyStaticTypeAndCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2672,
"end": 2699,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2672,
"end": 2673,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2674,
"end": 2699,
"ctxt": 0
},
"value": "readonlyStaticTypeAndCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2701,
"end": 2763,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2707,
"end": 2762,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2707,
"end": 2738,
"ctxt": 0
},
"value": "constInitToCReadwriteStaticCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2741,
"end": 2762,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2741,
"end": 2742,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2743,
"end": 2762,
"ctxt": 0
},
"value": "readwriteStaticCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2765,
"end": 2867,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2771,
"end": 2866,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2771,
"end": 2814,
"ctxt": 0
},
"value": "constInitToCReadonlyStaticCallWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2814,
"end": 2843,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 2816,
"end": 2843,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 2823,
"end": 2824,
"ctxt": 0
},
"value": "C",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 2825,
"end": 2843,
"ctxt": 0
},
"value": "readonlyStaticCall",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2846,
"end": 2866,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2846,
"end": 2847,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2848,
"end": 2866,
"ctxt": 0
},
"value": "readonlyStaticCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2868,
"end": 2970,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2874,
"end": 2969,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2874,
"end": 2917,
"ctxt": 0
},
"value": "constInitToCReadonlyStaticTypeWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2917,
"end": 2946,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 2919,
"end": 2946,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 2926,
"end": 2927,
"ctxt": 0
},
"value": "C",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 2928,
"end": 2946,
"ctxt": 0
},
"value": "readonlyStaticType",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2949,
"end": 2969,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2949,
"end": 2950,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2951,
"end": 2969,
"ctxt": 0
},
"value": "readonlyStaticType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2971,
"end": 3094,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2977,
"end": 3093,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2977,
"end": 3027,
"ctxt": 0
},
"value": "constInitToCReadonlyStaticTypeAndCallWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3027,
"end": 3063,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 3029,
"end": 3063,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 3036,
"end": 3037,
"ctxt": 0
},
"value": "C",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 3038,
"end": 3063,
"ctxt": 0
},
"value": "readonlyStaticTypeAndCall",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3066,
"end": 3093,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3066,
"end": 3067,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3068,
"end": 3093,
"ctxt": 0
},
"value": "readonlyStaticTypeAndCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3095,
"end": 3200,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3101,
"end": 3199,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3101,
"end": 3145,
"ctxt": 0
},
"value": "constInitToCReadwriteStaticCallWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3145,
"end": 3175,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 3147,
"end": 3175,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 3154,
"end": 3155,
"ctxt": 0
},
"value": "C",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 3156,
"end": 3175,
"ctxt": 0
},
"value": "readwriteStaticCall",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3178,
"end": 3199,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3178,
"end": 3179,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3180,
"end": 3199,
"ctxt": 0
},
"value": "readwriteStaticCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3202,
"end": 3250,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3208,
"end": 3249,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3208,
"end": 3232,
"ctxt": 0
},
"value": "constInitToCReadonlyCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3235,
"end": 3249,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3235,
"end": 3236,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3237,
"end": 3249,
"ctxt": 0
},
"value": "readonlyCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3251,
"end": 3301,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3257,
"end": 3300,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3257,
"end": 3282,
"ctxt": 0
},
"value": "constInitToCReadwriteCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3285,
"end": 3300,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3285,
"end": 3286,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3287,
"end": 3300,
"ctxt": 0
},
"value": "readwriteCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3302,
"end": 3386,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3308,
"end": 3385,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3308,
"end": 3345,
"ctxt": 0
},
"value": "constInitToCReadonlyCallWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3345,
"end": 3368,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 3347,
"end": 3368,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 3354,
"end": 3355,
"ctxt": 0
},
"value": "c",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 3356,
"end": 3368,
"ctxt": 0
},
"value": "readonlyCall",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3371,
"end": 3385,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3371,
"end": 3372,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3373,
"end": 3385,
"ctxt": 0
},
"value": "readonlyCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3387,
"end": 3474,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3393,
"end": 3473,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3393,
"end": 3431,
"ctxt": 0
},
"value": "constInitToCReadwriteCallWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3431,
"end": 3455,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 3433,
"end": 3455,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 3440,
"end": 3441,
"ctxt": 0
},
"value": "c",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 3442,
"end": 3455,
"ctxt": 0
},
"value": "readwriteCall",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3458,
"end": 3473,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3458,
"end": 3459,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3460,
"end": 3473,
"ctxt": 0
},
"value": "readwriteCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3475,
"end": 3559,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3481,
"end": 3558,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3481,
"end": 3522,
"ctxt": 0
},
"value": "constInitToCReadonlyCallWithIndexedAccess",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3522,
"end": 3541,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsIndexedAccessType",
"span": {
"start": 3524,
"end": 3541,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 3524,
"end": 3525,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3524,
"end": 3525,
"ctxt": 0
},
"value": "C",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 3526,
"end": 3540,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 3526,
"end": 3540,
"ctxt": 0
},
"value": "readonlyCall",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3544,
"end": 3558,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3544,
"end": 3545,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3546,
"end": 3558,
"ctxt": 0
},
"value": "readonlyCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3560,
"end": 3647,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3566,
"end": 3646,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3566,
"end": 3608,
"ctxt": 0
},
"value": "constInitToCReadwriteCallWithIndexedAccess",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3608,
"end": 3628,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsIndexedAccessType",
"span": {
"start": 3610,
"end": 3628,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 3610,
"end": 3611,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3610,
"end": 3611,
"ctxt": 0
},
"value": "C",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 3612,
"end": 3627,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 3612,
"end": 3627,
"ctxt": 0
},
"value": "readwriteCall",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3631,
"end": 3646,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3631,
"end": 3632,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3633,
"end": 3646,
"ctxt": 0
},
"value": "readwriteCall",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3663,
"end": 3720,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3673,
"end": 3674,
"ctxt": 0
},
"value": "I",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3675,
"end": 3720,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3681,
"end": 3718,
"ctxt": 0
},
"readonly": true,
"key": {
"type": "Identifier",
"span": {
"start": 3690,
"end": 3702,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3702,
"end": 3717,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 3704,
"end": 3717,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3711,
"end": 3717,
"ctxt": 0
},
"kind": "symbol"
}
}
},
"typeParams": null
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 3721,
"end": 3740,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3735,
"end": 3739,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3735,
"end": 3736,
"ctxt": 0
},
"value": "i",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3736,
"end": 3739,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3738,
"end": 3739,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3738,
"end": 3739,
"ctxt": 0
},
"value": "I",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3742,
"end": 3790,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3748,
"end": 3789,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3748,
"end": 3772,
"ctxt": 0
},
"value": "constInitToIReadonlyType",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3775,
"end": 3789,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3775,
"end": 3776,
"ctxt": 0
},
"value": "i",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3777,
"end": 3789,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3791,
"end": 3875,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3797,
"end": 3874,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3797,
"end": 3834,
"ctxt": 0
},
"value": "constInitToIReadonlyTypeWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3834,
"end": 3857,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 3836,
"end": 3857,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 3843,
"end": 3844,
"ctxt": 0
},
"value": "i",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 3845,
"end": 3857,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3860,
"end": 3874,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3860,
"end": 3861,
"ctxt": 0
},
"value": "i",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3862,
"end": 3874,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3876,
"end": 3960,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3882,
"end": 3959,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3882,
"end": 3923,
"ctxt": 0
},
"value": "constInitToIReadonlyTypeWithIndexedAccess",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3923,
"end": 3942,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsIndexedAccessType",
"span": {
"start": 3925,
"end": 3942,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 3925,
"end": 3926,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3925,
"end": 3926,
"ctxt": 0
},
"value": "I",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 3927,
"end": 3941,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 3927,
"end": 3941,
"ctxt": 0
},
"value": "readonlyType",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3945,
"end": 3959,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3945,
"end": 3946,
"ctxt": 0
},
"value": "i",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3947,
"end": 3959,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 3979,
"end": 4106,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 3984,
"end": 3985,
"ctxt": 0
},
"value": "L",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3988,
"end": 4105,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3994,
"end": 4031,
"ctxt": 0
},
"readonly": true,
"key": {
"type": "Identifier",
"span": {
"start": 4003,
"end": 4015,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4015,
"end": 4030,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 4017,
"end": 4030,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4024,
"end": 4030,
"ctxt": 0
},
"kind": "symbol"
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 4036,
"end": 4103,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4036,
"end": 4042,
"ctxt": 0
},
"value": "nested",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4042,
"end": 4103,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 4044,
"end": 4103,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 4054,
"end": 4097,
"ctxt": 0
},
"readonly": true,
"key": {
"type": "Identifier",
"span": {
"start": 4063,
"end": 4081,
"ctxt": 0
},
"value": "readonlyNestedType",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4081,
"end": 4096,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 4083,
"end": 4096,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4090,
"end": 4096,
"ctxt": 0
},
"kind": "symbol"
}
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 4107,
"end": 4126,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4121,
"end": 4125,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4121,
"end": 4122,
"ctxt": 0
},
"value": "l",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4122,
"end": 4125,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4124,
"end": 4125,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4124,
"end": 4125,
"ctxt": 0
},
"value": "L",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4128,
"end": 4176,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4134,
"end": 4175,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4134,
"end": 4158,
"ctxt": 0
},
"value": "constInitToLReadonlyType",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4161,
"end": 4175,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4161,
"end": 4162,
"ctxt": 0
},
"value": "l",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4163,
"end": 4175,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4177,
"end": 4244,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4183,
"end": 4243,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4183,
"end": 4213,
"ctxt": 0
},
"value": "constInitToLReadonlyNestedType",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4216,
"end": 4243,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 4216,
"end": 4224,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4216,
"end": 4217,
"ctxt": 0
},
"value": "l",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4218,
"end": 4224,
"ctxt": 0
},
"value": "nested",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 4225,
"end": 4243,
"ctxt": 0
},
"value": "readonlyNestedType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4245,
"end": 4329,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4251,
"end": 4328,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4251,
"end": 4288,
"ctxt": 0
},
"value": "constInitToLReadonlyTypeWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4288,
"end": 4311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 4290,
"end": 4311,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 4297,
"end": 4298,
"ctxt": 0
},
"value": "l",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 4299,
"end": 4311,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4314,
"end": 4328,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4314,
"end": 4315,
"ctxt": 0
},
"value": "l",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4316,
"end": 4328,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4330,
"end": 4446,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4336,
"end": 4445,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4336,
"end": 4379,
"ctxt": 0
},
"value": "constInitToLReadonlyNestedTypeWithTypeQuery",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4379,
"end": 4415,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 4381,
"end": 4415,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 4388,
"end": 4389,
"ctxt": 0
},
"value": "l",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 4390,
"end": 4396,
"ctxt": 0
},
"value": "nested",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 4397,
"end": 4415,
"ctxt": 0
},
"value": "readonlyNestedType",
"optional": false
}
},
"typeArguments": null
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4418,
"end": 4445,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 4418,
"end": 4426,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4418,
"end": 4419,
"ctxt": 0
},
"value": "l",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4420,
"end": 4426,
"ctxt": 0
},
"value": "nested",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 4427,
"end": 4445,
"ctxt": 0
},
"value": "readonlyNestedType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4447,
"end": 4531,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4453,
"end": 4530,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4453,
"end": 4494,
"ctxt": 0
},
"value": "constInitToLReadonlyTypeWithIndexedAccess",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4494,
"end": 4513,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsIndexedAccessType",
"span": {
"start": 4496,
"end": 4513,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 4496,
"end": 4497,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4496,
"end": 4497,
"ctxt": 0
},
"value": "L",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 4498,
"end": 4512,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 4498,
"end": 4512,
"ctxt": 0
},
"value": "readonlyType",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4516,
"end": 4530,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4516,
"end": 4517,
"ctxt": 0
},
"value": "l",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4518,
"end": 4530,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4532,
"end": 4651,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4538,
"end": 4650,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4538,
"end": 4585,
"ctxt": 0
},
"value": "constInitToLReadonlyNestedTypeWithIndexedAccess",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4585,
"end": 4620,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsIndexedAccessType",
"span": {
"start": 4587,
"end": 4620,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsIndexedAccessType",
"span": {
"start": 4587,
"end": 4598,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 4587,
"end": 4588,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4587,
"end": 4588,
"ctxt": 0
},
"value": "L",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 4589,
"end": 4597,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 4589,
"end": 4597,
"ctxt": 0
},
"value": "nested",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 4599,
"end": 4619,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 4599,
"end": 4619,
"ctxt": 0
},
"value": "readonlyNestedType",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4623,
"end": 4650,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 4623,
"end": 4631,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4623,
"end": 4624,
"ctxt": 0
},
"value": "l",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4625,
"end": 4631,
"ctxt": 0
},
"value": "nested",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 4632,
"end": 4650,
"ctxt": 0
},
"value": "readonlyNestedType",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4680,
"end": 4735,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4686,
"end": 4734,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4686,
"end": 4705,
"ctxt": 0
},
"value": "promiseForConstCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 4708,
"end": 4734,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 4708,
"end": 4723,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4708,
"end": 4715,
"ctxt": 0
},
"value": "Promise",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4716,
"end": 4723,
"ctxt": 0
},
"value": "resolve",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 4724,
"end": 4733,
"ctxt": 0
},
"value": "constCall",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4736,
"end": 4773,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4742,
"end": 4772,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4742,
"end": 4758,
"ctxt": 0
},
"value": "arrayOfConstCall",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 4761,
"end": 4772,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 4762,
"end": 4771,
"ctxt": 0
},
"value": "constCall",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4816,
"end": 4847,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4830,
"end": 4846,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4830,
"end": 4831,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4831,
"end": 4846,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 4833,
"end": 4846,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4840,
"end": 4846,
"ctxt": 0
},
"kind": "symbol"
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 4848,
"end": 4895,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 4866,
"end": 4867,
"ctxt": 0
},
"value": "N",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 4868,
"end": 4895,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 4870,
"end": 4893,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4876,
"end": 4892,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4876,
"end": 4877,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4877,
"end": 4892,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 4879,
"end": 4892,
"ctxt": 0
},
"op": "unique",
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4886,
"end": 4892,
"ctxt": 0
},
"kind": "symbol"
}
}
}
},
"init": null,
"definite": false
}
]
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 4896,
"end": 4938,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4910,
"end": 4937,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4910,
"end": 4911,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4911,
"end": 4937,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 4913,
"end": 4937,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 4915,
"end": 4924,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4916,
"end": 4917,
"ctxt": 0
},
"value": "s",
"optional": false
},
"computed": true,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4918,
"end": 4923,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsLiteralType",
"span": {
"start": 4920,
"end": 4923,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 4920,
"end": 4923,
"ctxt": 0
},
"value": "a",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 4925,
"end": 4935,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "MemberExpression",
"span": {
"start": 4926,
"end": 4929,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4926,
"end": 4927,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4928,
"end": 4929,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"computed": true,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4930,
"end": 4935,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsLiteralType",
"span": {
"start": 4932,
"end": 4935,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 4932,
"end": 4935,
"ctxt": 0
},
"value": "b",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4956,
"end": 4957,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 4961,
"end": 4965,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4961,
"end": 4965,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4962,
"end": 4965,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4964,
"end": 4965,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4964,
"end": 4965,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 4939,
"end": 4970,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4957,
"end": 4960,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4958,
"end": 4959,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4958,
"end": 4959,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 4966,
"end": 4969,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4968,
"end": 4969,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4968,
"end": 4969,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4988,
"end": 4989,
"ctxt": 0
},
"value": "g",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 4990,
"end": 5001,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4990,
"end": 5001,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4991,
"end": 5001,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 4993,
"end": 5001,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 5000,
"end": 5001,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 4971,
"end": 5009,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 5002,
"end": 5008,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 5004,
"end": 5008,
"ctxt": 0
},
"kind": "void"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 5027,
"end": 5028,
"ctxt": 0
},
"value": "g",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 5029,
"end": 5042,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5029,
"end": 5042,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5030,
"end": 5042,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 5032,
"end": 5042,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 5039,
"end": 5040,
"ctxt": 0
},
"value": "N",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 5041,
"end": 5042,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"typeArguments": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 5010,
"end": 5050,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 5043,
"end": 5049,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 5045,
"end": 5049,
"ctxt": 0
},
"kind": "void"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5097,
"end": 5102,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 5097,
"end": 5101,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 5097,
"end": 5098,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 5099,
"end": 5100,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5103,
"end": 5110,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 5103,
"end": 5109,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 5103,
"end": 5104,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 5105,
"end": 5108,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5105,
"end": 5106,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5107,
"end": 5108,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5111,
"end": 5121,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 5111,
"end": 5120,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 5111,
"end": 5112,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 5113,
"end": 5119,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5113,
"end": 5114,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5114,
"end": 5119,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5115,
"end": 5118,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5149,
"end": 5153,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 5149,
"end": 5152,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 5150,
"end": 5151,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5154,
"end": 5160,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 5154,
"end": 5159,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 5155,
"end": 5158,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5155,
"end": 5156,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5157,
"end": 5158,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5161,
"end": 5170,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 5161,
"end": 5169,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 5162,
"end": 5168,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5162,
"end": 5163,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5163,
"end": 5168,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5164,
"end": 5167,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 5204,
"end": 5420,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 5210,
"end": 5419,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 5210,
"end": 5212,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 5215,
"end": 5419,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5221,
"end": 5222,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 5224,
"end": 5225,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5231,
"end": 5232,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5234,
"end": 5237,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5234,
"end": 5235,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5236,
"end": 5237,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5243,
"end": 5244,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5246,
"end": 5252,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5246,
"end": 5247,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5247,
"end": 5252,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5248,
"end": 5251,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5259,
"end": 5266,
"ctxt": 0
},
"value": "method1",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 5259,
"end": 5282,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5269,
"end": 5282,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 5271,
"end": 5280,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5278,
"end": 5279,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5294,
"end": 5301,
"ctxt": 0
},
"value": "method2",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 5288,
"end": 5317,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5304,
"end": 5317,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 5306,
"end": 5315,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5313,
"end": 5314,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5331,
"end": 5338,
"ctxt": 0
},
"value": "method3",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 5323,
"end": 5353,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5341,
"end": 5353,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5343,
"end": 5351,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 5343,
"end": 5350,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5349,
"end": 5350,
"ctxt": 0
},
"value": "s",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5361,
"end": 5368,
"ctxt": 0
},
"value": "method4",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 5359,
"end": 5383,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5371,
"end": 5383,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5373,
"end": 5381,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 5373,
"end": 5380,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5379,
"end": 5380,
"ctxt": 0
},
"value": "s",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 5389,
"end": 5396,
"ctxt": 0
},
"value": "method5",
"optional": false
},
"params": [
{
"type": "Parameter",
"span": {
"start": 5397,
"end": 5402,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 5397,
"end": 5402,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 5397,
"end": 5398,
"ctxt": 0
},
"value": "p",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5401,
"end": 5402,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 5389,
"end": 5417,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5404,
"end": 5417,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 5406,
"end": 5415,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5413,
"end": 5414,
"ctxt": 0
},
"value": "p",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
]
},
"definite": false
}
]
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 5453,
"end": 5455,
"ctxt": 0
},
"value": "C0",
"optional": false
},
"declare": false,
"span": {
"start": 5447,
"end": 5878,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 5462,
"end": 5484,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5478,
"end": 5479,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 5482,
"end": 5483,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5489,
"end": 5513,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5505,
"end": 5506,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5509,
"end": 5512,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5509,
"end": 5510,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5511,
"end": 5512,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5518,
"end": 5545,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5534,
"end": 5535,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5538,
"end": 5544,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5538,
"end": 5539,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5539,
"end": 5544,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5540,
"end": 5543,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5551,
"end": 5564,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5558,
"end": 5559,
"ctxt": 0
},
"value": "d",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 5562,
"end": 5563,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5569,
"end": 5584,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5576,
"end": 5577,
"ctxt": 0
},
"value": "e",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5580,
"end": 5583,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5580,
"end": 5581,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5582,
"end": 5583,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5589,
"end": 5607,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5596,
"end": 5597,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5600,
"end": 5606,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5600,
"end": 5601,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5601,
"end": 5606,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5602,
"end": 5605,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5613,
"end": 5628,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5622,
"end": 5623,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 5626,
"end": 5627,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5633,
"end": 5650,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5642,
"end": 5643,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5646,
"end": 5649,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5646,
"end": 5647,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5648,
"end": 5649,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5655,
"end": 5675,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5664,
"end": 5665,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5668,
"end": 5674,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5668,
"end": 5669,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5669,
"end": 5674,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5670,
"end": 5673,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": true,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5681,
"end": 5687,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5681,
"end": 5682,
"ctxt": 0
},
"value": "d",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 5685,
"end": 5686,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5692,
"end": 5700,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5692,
"end": 5693,
"ctxt": 0
},
"value": "e",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5696,
"end": 5699,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5696,
"end": 5697,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5698,
"end": 5699,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 5705,
"end": 5716,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5705,
"end": 5706,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 5709,
"end": 5715,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5709,
"end": 5710,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5710,
"end": 5715,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5711,
"end": 5714,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 5722,
"end": 5745,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5722,
"end": 5729,
"ctxt": 0
},
"value": "method1",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 5722,
"end": 5745,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5732,
"end": 5745,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 5734,
"end": 5743,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5741,
"end": 5742,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 5750,
"end": 5779,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5756,
"end": 5763,
"ctxt": 0
},
"value": "method2",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 5750,
"end": 5779,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5766,
"end": 5779,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 5768,
"end": 5777,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5775,
"end": 5776,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 5784,
"end": 5814,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5792,
"end": 5799,
"ctxt": 0
},
"value": "method3",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 5784,
"end": 5814,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5802,
"end": 5814,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5804,
"end": 5812,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 5804,
"end": 5811,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5810,
"end": 5811,
"ctxt": 0
},
"value": "s",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 5819,
"end": 5843,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5821,
"end": 5828,
"ctxt": 0
},
"value": "method4",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 5819,
"end": 5843,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5831,
"end": 5843,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5833,
"end": 5841,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 5833,
"end": 5840,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5839,
"end": 5840,
"ctxt": 0
},
"value": "s",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 5848,
"end": 5876,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 5848,
"end": 5855,
"ctxt": 0
},
"value": "method5",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 5856,
"end": 5861,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 5856,
"end": 5861,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 5856,
"end": 5857,
"ctxt": 0
},
"value": "p",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5860,
"end": 5861,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 5848,
"end": 5876,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5863,
"end": 5876,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 5865,
"end": 5874,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 5872,
"end": 5873,
"ctxt": 0
},
"value": "p",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ExpressionStatement",
"span": {
"start": 5925,
"end": 5930,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 5925,
"end": 5929,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5925,
"end": 5926,
"ctxt": 0
},
"value": "o",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5926,
"end": 5929,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 5927,
"end": 5928,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5931,
"end": 5938,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 5931,
"end": 5937,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5931,
"end": 5932,
"ctxt": 0
},
"value": "o",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5932,
"end": 5937,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 5933,
"end": 5936,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5933,
"end": 5934,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 5935,
"end": 5936,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5939,
"end": 5949,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 5939,
"end": 5948,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5939,
"end": 5940,
"ctxt": 0
},
"value": "o",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5940,
"end": 5948,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 5941,
"end": 5947,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5941,
"end": 5942,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 5942,
"end": 5947,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 5943,
"end": 5946,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5979,
"end": 5994,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 5979,
"end": 5993,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 5979,
"end": 5980,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 5991,
"end": 5992,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 5980,
"end": 5990,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 5981,
"end": 5989,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 5988,
"end": 5989,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5995,
"end": 6014,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 5995,
"end": 6013,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 5995,
"end": 5996,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 6009,
"end": 6012,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6009,
"end": 6010,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6011,
"end": 6012,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
}
],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 5996,
"end": 6008,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 5997,
"end": 6007,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 6004,
"end": 6005,
"ctxt": 0
},
"value": "N",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 6006,
"end": 6007,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"typeArguments": null
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6015,
"end": 6037,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 6015,
"end": 6036,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 6015,
"end": 6016,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 6029,
"end": 6035,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6029,
"end": 6030,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 6030,
"end": 6035,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 6031,
"end": 6034,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6016,
"end": 6028,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 6017,
"end": 6027,
"ctxt": 0
},
"exprName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 6024,
"end": 6025,
"ctxt": 0
},
"value": "N",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 6026,
"end": 6027,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"typeArguments": null
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6038,
"end": 6043,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 6038,
"end": 6042,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 6038,
"end": 6039,
"ctxt": 0
},
"value": "g",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 6040,
"end": 6041,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6044,
"end": 6051,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 6044,
"end": 6050,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 6044,
"end": 6045,
"ctxt": 0
},
"value": "g",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 6046,
"end": 6049,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6046,
"end": 6047,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6048,
"end": 6049,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6052,
"end": 6062,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 6052,
"end": 6061,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 6052,
"end": 6053,
"ctxt": 0
},
"value": "g",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 6054,
"end": 6060,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6054,
"end": 6055,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 6055,
"end": 6060,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 6056,
"end": 6059,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6085,
"end": 6093,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 6085,
"end": 6092,
"ctxt": 0
},
"operator": "||",
"left": {
"type": "Identifier",
"span": {
"start": 6085,
"end": 6086,
"ctxt": 0
},
"value": "s",
"optional": false
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6090,
"end": 6092,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6094,
"end": 6104,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 6094,
"end": 6103,
"ctxt": 0
},
"operator": "||",
"left": {
"type": "MemberExpression",
"span": {
"start": 6094,
"end": 6097,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6094,
"end": 6095,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6096,
"end": 6097,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6101,
"end": 6103,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6105,
"end": 6118,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 6105,
"end": 6117,
"ctxt": 0
},
"operator": "||",
"left": {
"type": "MemberExpression",
"span": {
"start": 6105,
"end": 6111,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6105,
"end": 6106,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 6106,
"end": 6111,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 6107,
"end": 6110,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6115,
"end": 6117,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6136,
"end": 6164,
"ctxt": 0
},
"expression": {
"type": "ConditionalExpression",
"span": {
"start": 6136,
"end": 6163,
"ctxt": 0
},
"test": {
"type": "BinaryExpression",
"span": {
"start": 6136,
"end": 6153,
"ctxt": 0
},
"operator": "*",
"left": {
"type": "CallExpression",
"span": {
"start": 6136,
"end": 6149,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 6136,
"end": 6147,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6136,
"end": 6140,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6141,
"end": 6147,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 6152,
"end": 6153,
"ctxt": 0
},
"value": 2.0
}
},
"consequent": {
"type": "Identifier",
"span": {
"start": 6156,
"end": 6157,
"ctxt": 0
},
"value": "s",
"optional": false
},
"alternate": {
"type": "StringLiteral",
"span": {
"start": 6160,
"end": 6163,
"ctxt": 0
},
"value": "a",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6165,
"end": 6195,
"ctxt": 0
},
"expression": {
"type": "ConditionalExpression",
"span": {
"start": 6165,
"end": 6194,
"ctxt": 0
},
"test": {
"type": "BinaryExpression",
"span": {
"start": 6165,
"end": 6182,
"ctxt": 0
},
"operator": "*",
"left": {
"type": "CallExpression",
"span": {
"start": 6165,
"end": 6178,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 6165,
"end": 6176,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6165,
"end": 6169,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6170,
"end": 6176,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 6181,
"end": 6182,
"ctxt": 0
},
"value": 2.0
}
},
"consequent": {
"type": "MemberExpression",
"span": {
"start": 6185,
"end": 6188,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6185,
"end": 6186,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6187,
"end": 6188,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"alternate": {
"type": "StringLiteral",
"span": {
"start": 6191,
"end": 6194,
"ctxt": 0
},
"value": "a",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6196,
"end": 6229,
"ctxt": 0
},
"expression": {
"type": "ConditionalExpression",
"span": {
"start": 6196,
"end": 6228,
"ctxt": 0
},
"test": {
"type": "BinaryExpression",
"span": {
"start": 6196,
"end": 6213,
"ctxt": 0
},
"operator": "*",
"left": {
"type": "CallExpression",
"span": {
"start": 6196,
"end": 6209,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 6196,
"end": 6207,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6196,
"end": 6200,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6201,
"end": 6207,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 6212,
"end": 6213,
"ctxt": 0
},
"value": 2.0
}
},
"consequent": {
"type": "MemberExpression",
"span": {
"start": 6216,
"end": 6222,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6216,
"end": 6217,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 6217,
"end": 6222,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 6218,
"end": 6221,
"ctxt": 0
},
"value": "s",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"alternate": {
"type": "StringLiteral",
"span": {
"start": 6225,
"end": 6228,
"ctxt": 0
},
"value": "a",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6258,
"end": 6294,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 6258,
"end": 6293,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 6259,
"end": 6292,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 6265,
"end": 6268,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 6266,
"end": 6267,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"value": {
"type": "StringLiteral",
"span": {
"start": 6270,
"end": 6273,
"ctxt": 0
},
"value": "a",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 6279,
"end": 6284,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 6280,
"end": 6283,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6280,
"end": 6281,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6282,
"end": 6283,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
"value": {
"type": "StringLiteral",
"span": {
"start": 6286,
"end": 6289,
"ctxt": 0
},
"value": "b",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
}
}
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 6302,
"end": 6304,
"ctxt": 0
},
"value": "C1",
"optional": false
},
"declare": false,
"span": {
"start": 6296,
"end": 6383,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 6311,
"end": 6327,
"ctxt": 0
},
"key": {
"type": "Computed",
"span": {
"start": 6318,
"end": 6321,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 6319,
"end": 6320,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6321,
"end": 6326,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsLiteralType",
"span": {
"start": 6323,
"end": 6326,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 6323,
"end": 6326,
"ctxt": 0
},
"value": "a",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 6332,
"end": 6350,
"ctxt": 0
},
"key": {
"type": "Computed",
"span": {
"start": 6339,
"end": 6344,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 6340,
"end": 6343,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6340,
"end": 6341,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6342,
"end": 6343,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6344,
"end": 6349,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsLiteralType",
"span": {
"start": 6346,
"end": 6349,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 6346,
"end": 6349,
"ctxt": 0
},
"value": "b",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 6356,
"end": 6365,
"ctxt": 0
},
"key": {
"type": "Computed",
"span": {
"start": 6356,
"end": 6359,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 6357,
"end": 6358,
"ctxt": 0
},
"value": "s",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6359,
"end": 6364,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsLiteralType",
"span": {
"start": 6361,
"end": 6364,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 6361,
"end": 6364,
"ctxt": 0
},
"value": "a",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 6370,
"end": 6381,
"ctxt": 0
},
"key": {
"type": "Computed",
"span": {
"start": 6370,
"end": 6375,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 6371,
"end": 6374,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 6371,
"end": 6372,
"ctxt": 0
},
"value": "N",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 6373,
"end": 6374,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6375,
"end": 6380,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsLiteralType",
"span": {
"start": 6377,
"end": 6380,
"ctxt": 0
},
"literal": {
"type": "StringLiteral",
"span": {
"start": 6377,
"end": 6380,
"ctxt": 0
},
"value": "b",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 6406,
"end": 6614,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 6416,
"end": 6423,
"ctxt": 0
},
"value": "Context",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 6424,
"end": 6614,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 6430,
"end": 6450,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 6430,
"end": 6437,
"ctxt": 0
},
"value": "method1",
"optional": false
},
"computed": false,
"optional": false,
"params": [],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 6439,
"end": 6449,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 6441,
"end": 6449,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 6448,
"end": 6449,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
},
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 6455,
"end": 6484,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 6455,
"end": 6462,
"ctxt": 0
},
"value": "method2",
"optional": false
},
"computed": false,
"optional": false,
"params": [],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 6464,
"end": 6483,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6466,
"end": 6483,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6466,
"end": 6473,
"ctxt": 0
},
"value": "Promise",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6473,
"end": 6483,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 6474,
"end": 6482,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 6481,
"end": 6482,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
]
}
}
},
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 6489,
"end": 6532,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 6489,
"end": 6496,
"ctxt": 0
},
"value": "method3",
"optional": false
},
"computed": false,
"optional": false,
"params": [],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 6498,
"end": 6531,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6500,
"end": 6531,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6500,
"end": 6521,
"ctxt": 0
},
"value": "AsyncIterableIterator",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6521,
"end": 6531,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 6522,
"end": 6530,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 6529,
"end": 6530,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
]
}
}
},
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 6537,
"end": 6575,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 6537,
"end": 6544,
"ctxt": 0
},
"value": "method4",
"optional": false
},
"computed": false,
"optional": false,
"params": [],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 6546,
"end": 6574,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6548,
"end": 6574,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6548,
"end": 6564,
"ctxt": 0
},
"value": "IterableIterator",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6564,
"end": 6574,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 6565,
"end": 6573,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 6572,
"end": 6573,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
]
}
}
},
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 6580,
"end": 6612,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 6580,
"end": 6587,
"ctxt": 0
},
"value": "method5",
"optional": false
},
"computed": false,
"optional": false,
"params": [
{
"type": "Identifier",
"span": {
"start": 6588,
"end": 6600,
"ctxt": 0
},
"value": "p",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6590,
"end": 6600,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 6592,
"end": 6600,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 6599,
"end": 6600,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
}
}
],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 6601,
"end": 6611,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 6603,
"end": 6611,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 6610,
"end": 6611,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeArguments": null
}
},
"typeParams": null
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 6616,
"end": 7134,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 6622,
"end": 7133,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 6622,
"end": 6624,
"ctxt": 0
},
"value": "o4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6624,
"end": 6633,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6626,
"end": 6633,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6626,
"end": 6633,
"ctxt": 0
},
"value": "Context",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 6636,
"end": 7133,
"ctxt": 0
},
"properties": [
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 6642,
"end": 6649,
"ctxt": 0
},
"value": "method1",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 6642,
"end": 6732,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 6652,
"end": 6732,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 6662,
"end": 6671,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 6669,
"end": 6670,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 6744,
"end": 6751,
"ctxt": 0
},
"value": "method2",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 6738,
"end": 6834,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 6754,
"end": 6834,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 6764,
"end": 6773,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 6771,
"end": 6772,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 6848,
"end": 6855,
"ctxt": 0
},
"value": "method3",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 6840,
"end": 6936,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 6858,
"end": 6936,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 6868,
"end": 6876,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 6868,
"end": 6875,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 6874,
"end": 6875,
"ctxt": 0
},
"value": "s",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 6944,
"end": 6951,
"ctxt": 0
},
"value": "method4",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 6942,
"end": 7032,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 6954,
"end": 7032,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 6964,
"end": 6972,
"ctxt": 0
},
"expression": {
"type": "YieldExpression",
"span": {
"start": 6964,
"end": 6971,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 6970,
"end": 6971,
"ctxt": 0
},
"value": "s",
"optional": false
},
"delegate": false
}
}
]
},
"generator": true,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 7038,
"end": 7045,
"ctxt": 0
},
"value": "method5",
"optional": false
},
"params": [
{
"type": "Parameter",
"span": {
"start": 7046,
"end": 7051,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 7046,
"end": 7051,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 7046,
"end": 7047,
"ctxt": 0
},
"value": "p",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 7050,
"end": 7051,
"ctxt": 0
},
"value": "s",
"optional": false
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 7038,
"end": 7131,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 7053,
"end": 7131,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 7116,
"end": 7125,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 7123,
"end": 7124,
"ctxt": 0
},
"value": "p",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}