{ "type": "Script", "span": { "start": 55, "end": 652, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 61, "end": 62, "ctxt": 0 }, "value": "K", "optional": false }, "declare": false, "span": { "start": 55, "end": 116, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 69, "end": 76, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 69, "end": 70, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 73, "end": 75, "ctxt": 0 }, "value": 12.0 }, "typeAnnotation": null, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 81, "end": 88, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 81, "end": 82, "ctxt": 0 }, "value": "m", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 81, "end": 88, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 85, "end": 88, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 93, "end": 114, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 97, "end": 98, "ctxt": 0 }, "value": "g", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 93, "end": 114, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 101, "end": 114, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 103, "end": 112, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 110, "end": 111, "ctxt": 0 }, "value": 0.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 117, "end": 186, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 127, "end": 128, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 129, "end": 186, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 135, "end": 145, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 135, "end": 136, "ctxt": 0 }, "value": "p", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 136, "end": 144, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 138, "end": 144, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsMethodSignature", "span": { "start": 150, "end": 160, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 150, "end": 151, "ctxt": 0 }, "value": "m", "optional": false }, "computed": false, "optional": false, "params": [], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 153, "end": 159, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 155, "end": 159, "ctxt": 0 }, "kind": "void" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 165, "end": 184, "ctxt": 0 }, "readonly": true, "key": { "type": "Identifier", "span": { "start": 174, "end": 175, "ctxt": 0 }, "value": "g", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 175, "end": 183, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 177, "end": 183, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 188, "end": 203, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 192, "end": 203, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 192, "end": 193, "ctxt": 0 }, "value": "k", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 196, "end": 203, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 200, "end": 201, "ctxt": 0 }, "value": "K", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 204, "end": 222, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 208, "end": 221, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 208, "end": 210, "ctxt": 0 }, "value": "sk", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 213, "end": 221, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 215, "end": 218, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 218, "end": 219, "ctxt": 0 }, "value": "k", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 223, "end": 248, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 227, "end": 247, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 227, "end": 230, "ctxt": 0 }, "value": "ssk", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 233, "end": 247, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 235, "end": 238, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 238, "end": 239, "ctxt": 0 }, "value": "k", "optional": false } }, { "type": "SpreadElement", "spread": { "start": 241, "end": 244, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 244, "end": 245, "ctxt": 0 }, "value": "k", "optional": false } } ] }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 249, "end": 254, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 249, "end": 253, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 249, "end": 251, "ctxt": 0 }, "value": "sk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 252, "end": 253, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 255, "end": 262, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 255, "end": 261, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 255, "end": 259, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 255, "end": 257, "ctxt": 0 }, "value": "sk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 258, "end": 259, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 272, "end": 277, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 272, "end": 276, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 272, "end": 274, "ctxt": 0 }, "value": "sk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 275, "end": 276, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 287, "end": 293, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 287, "end": 292, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 287, "end": 290, "ctxt": 0 }, "value": "ssk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 291, "end": 292, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 294, "end": 302, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 294, "end": 301, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 294, "end": 299, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 294, "end": 297, "ctxt": 0 }, "value": "ssk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 298, "end": 299, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 312, "end": 318, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 312, "end": 317, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 312, "end": 315, "ctxt": 0 }, "value": "ssk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 316, "end": 317, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 329, "end": 382, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 333, "end": 381, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 333, "end": 334, "ctxt": 0 }, "value": "i", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 334, "end": 337, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 336, "end": 337, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 336, "end": 337, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null } } }, "init": { "type": "ObjectExpression", "span": { "start": 340, "end": 381, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 342, "end": 343, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 345, "end": 347, "ctxt": 0 }, "value": 12.0 } }, { "type": "MethodProperty", "key": { "type": "Identifier", "span": { "start": 349, "end": 350, "ctxt": 0 }, "value": "m", "optional": false }, "params": [], "decorators": [], "span": { "start": 349, "end": 356, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 353, "end": 356, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "GetterProperty", "span": { "start": 358, "end": 379, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 362, "end": 363, "ctxt": 0 }, "value": "g", "optional": false }, "typeAnnotation": null, "body": { "type": "BlockStatement", "span": { "start": 366, "end": 379, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 368, "end": 377, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 375, "end": 376, "ctxt": 0 }, "value": 0.0 } } ] } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 383, "end": 401, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 387, "end": 400, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 387, "end": 389, "ctxt": 0 }, "value": "si", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 392, "end": 400, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 394, "end": 397, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 397, "end": 398, "ctxt": 0 }, "value": "i", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 402, "end": 427, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 406, "end": 426, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 406, "end": 409, "ctxt": 0 }, "value": "ssi", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 412, "end": 426, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 414, "end": 417, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 417, "end": 418, "ctxt": 0 }, "value": "i", "optional": false } }, { "type": "SpreadElement", "spread": { "start": 420, "end": 423, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 423, "end": 424, "ctxt": 0 }, "value": "i", "optional": false } } ] }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 428, "end": 433, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 428, "end": 432, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 428, "end": 430, "ctxt": 0 }, "value": "si", "optional": false }, "property": { "type": "Identifier", "span": { "start": 431, "end": 432, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 434, "end": 441, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 434, "end": 440, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 434, "end": 438, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 434, "end": 436, "ctxt": 0 }, "value": "si", "optional": false }, "property": { "type": "Identifier", "span": { "start": 437, "end": 438, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 448, "end": 453, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 448, "end": 452, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 448, "end": 450, "ctxt": 0 }, "value": "si", "optional": false }, "property": { "type": "Identifier", "span": { "start": 451, "end": 452, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 460, "end": 466, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 460, "end": 465, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 460, "end": 463, "ctxt": 0 }, "value": "ssi", "optional": false }, "property": { "type": "Identifier", "span": { "start": 464, "end": 465, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 467, "end": 475, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 467, "end": 474, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 467, "end": 472, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 467, "end": 470, "ctxt": 0 }, "value": "ssi", "optional": false }, "property": { "type": "Identifier", "span": { "start": 471, "end": 472, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 482, "end": 488, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 482, "end": 487, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 482, "end": 485, "ctxt": 0 }, "value": "ssi", "optional": false }, "property": { "type": "Identifier", "span": { "start": 486, "end": 487, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 496, "end": 546, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 500, "end": 545, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 500, "end": 501, "ctxt": 0 }, "value": "o", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 504, "end": 545, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 506, "end": 507, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 509, "end": 511, "ctxt": 0 }, "value": 12.0 } }, { "type": "MethodProperty", "key": { "type": "Identifier", "span": { "start": 513, "end": 514, "ctxt": 0 }, "value": "m", "optional": false }, "params": [], "decorators": [], "span": { "start": 513, "end": 520, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 517, "end": 520, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "GetterProperty", "span": { "start": 522, "end": 543, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 526, "end": 527, "ctxt": 0 }, "value": "g", "optional": false }, "typeAnnotation": null, "body": { "type": "BlockStatement", "span": { "start": 530, "end": 543, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 532, "end": 541, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 539, "end": 540, "ctxt": 0 }, "value": 0.0 } } ] } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 547, "end": 565, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 551, "end": 564, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 551, "end": 553, "ctxt": 0 }, "value": "so", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 556, "end": 564, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 558, "end": 561, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 561, "end": 562, "ctxt": 0 }, "value": "o", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 566, "end": 591, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 570, "end": 590, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 570, "end": 573, "ctxt": 0 }, "value": "sso", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 576, "end": 590, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 578, "end": 581, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 581, "end": 582, "ctxt": 0 }, "value": "o", "optional": false } }, { "type": "SpreadElement", "spread": { "start": 584, "end": 587, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 587, "end": 588, "ctxt": 0 }, "value": "o", "optional": false } } ] }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 592, "end": 597, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 592, "end": 596, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 592, "end": 594, "ctxt": 0 }, "value": "so", "optional": false }, "property": { "type": "Identifier", "span": { "start": 595, "end": 596, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 598, "end": 605, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 598, "end": 604, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 598, "end": 602, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 598, "end": 600, "ctxt": 0 }, "value": "so", "optional": false }, "property": { "type": "Identifier", "span": { "start": 601, "end": 602, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 612, "end": 617, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 612, "end": 616, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 612, "end": 614, "ctxt": 0 }, "value": "so", "optional": false }, "property": { "type": "Identifier", "span": { "start": 615, "end": 616, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 624, "end": 630, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 624, "end": 629, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 624, "end": 627, "ctxt": 0 }, "value": "sso", "optional": false }, "property": { "type": "Identifier", "span": { "start": 628, "end": 629, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 631, "end": 639, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 631, "end": 638, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 631, "end": 636, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 631, "end": 634, "ctxt": 0 }, "value": "sso", "optional": false }, "property": { "type": "Identifier", "span": { "start": 635, "end": 636, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 646, "end": 652, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 646, "end": 651, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 646, "end": 649, "ctxt": 0 }, "value": "sso", "optional": false }, "property": { "type": "Identifier", "span": { "start": 650, "end": 651, "ctxt": 0 }, "value": "g", "optional": false } } } ], "interpreter": null }