{ "type": "Script", "span": { "start": 20, "end": 617, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 26, "end": 27, "ctxt": 0 }, "value": "K", "optional": false }, "declare": false, "span": { "start": 20, "end": 81, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 34, "end": 41, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 34, "end": 35, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 38, "end": 40, "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": 46, "end": 53, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 46, "end": 47, "ctxt": 0 }, "value": "m", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 46, "end": 53, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 50, "end": 53, "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": 58, "end": 79, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 62, "end": 63, "ctxt": 0 }, "value": "g", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 58, "end": 79, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 66, "end": 79, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 68, "end": 77, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 75, "end": 76, "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": 82, "end": 151, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 92, "end": 93, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 94, "end": 151, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 100, "end": 110, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 100, "end": 101, "ctxt": 0 }, "value": "p", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 101, "end": 109, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 103, "end": 109, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsMethodSignature", "span": { "start": 115, "end": 125, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 115, "end": 116, "ctxt": 0 }, "value": "m", "optional": false }, "computed": false, "optional": false, "params": [], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 118, "end": 124, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 120, "end": 124, "ctxt": 0 }, "kind": "void" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 130, "end": 149, "ctxt": 0 }, "readonly": true, "key": { "type": "Identifier", "span": { "start": 139, "end": 140, "ctxt": 0 }, "value": "g", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 140, "end": 148, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 142, "end": 148, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 153, "end": 168, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 157, "end": 168, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 157, "end": 158, "ctxt": 0 }, "value": "k", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 161, "end": 168, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 165, "end": 166, "ctxt": 0 }, "value": "K", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 169, "end": 187, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 173, "end": 186, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 173, "end": 175, "ctxt": 0 }, "value": "sk", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 178, "end": 186, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 180, "end": 183, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 183, "end": 184, "ctxt": 0 }, "value": "k", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 188, "end": 213, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 192, "end": 212, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 192, "end": 195, "ctxt": 0 }, "value": "ssk", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 198, "end": 212, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 200, "end": 203, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 203, "end": 204, "ctxt": 0 }, "value": "k", "optional": false } }, { "type": "SpreadElement", "spread": { "start": 206, "end": 209, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 209, "end": 210, "ctxt": 0 }, "value": "k", "optional": false } } ] }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 214, "end": 219, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 214, "end": 218, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 214, "end": 216, "ctxt": 0 }, "value": "sk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 217, "end": 218, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 220, "end": 227, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 220, "end": 226, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 220, "end": 224, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 220, "end": 222, "ctxt": 0 }, "value": "sk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 223, "end": 224, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 237, "end": 242, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 237, "end": 241, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 237, "end": 239, "ctxt": 0 }, "value": "sk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 240, "end": 241, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 252, "end": 258, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 252, "end": 257, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 252, "end": 255, "ctxt": 0 }, "value": "ssk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 256, "end": 257, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 259, "end": 267, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 259, "end": 266, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 259, "end": 264, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 259, "end": 262, "ctxt": 0 }, "value": "ssk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 263, "end": 264, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 277, "end": 283, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 277, "end": 282, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 277, "end": 280, "ctxt": 0 }, "value": "ssk", "optional": false }, "property": { "type": "Identifier", "span": { "start": 281, "end": 282, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 294, "end": 347, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 298, "end": 346, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 298, "end": 299, "ctxt": 0 }, "value": "i", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 299, "end": 302, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 301, "end": 302, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 301, "end": 302, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null } } }, "init": { "type": "ObjectExpression", "span": { "start": 305, "end": 346, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 307, "end": 308, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 310, "end": 312, "ctxt": 0 }, "value": 12.0 } }, { "type": "MethodProperty", "key": { "type": "Identifier", "span": { "start": 314, "end": 315, "ctxt": 0 }, "value": "m", "optional": false }, "params": [], "decorators": [], "span": { "start": 314, "end": 321, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 318, "end": 321, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "GetterProperty", "span": { "start": 323, "end": 344, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 327, "end": 328, "ctxt": 0 }, "value": "g", "optional": false }, "typeAnnotation": null, "body": { "type": "BlockStatement", "span": { "start": 331, "end": 344, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 333, "end": 342, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 340, "end": 341, "ctxt": 0 }, "value": 0.0 } } ] } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 348, "end": 366, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 352, "end": 365, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 352, "end": 354, "ctxt": 0 }, "value": "si", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 357, "end": 365, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 359, "end": 362, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 362, "end": 363, "ctxt": 0 }, "value": "i", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 367, "end": 392, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 371, "end": 391, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 371, "end": 374, "ctxt": 0 }, "value": "ssi", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 377, "end": 391, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 379, "end": 382, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 382, "end": 383, "ctxt": 0 }, "value": "i", "optional": false } }, { "type": "SpreadElement", "spread": { "start": 385, "end": 388, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 388, "end": 389, "ctxt": 0 }, "value": "i", "optional": false } } ] }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 393, "end": 398, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 393, "end": 397, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 393, "end": 395, "ctxt": 0 }, "value": "si", "optional": false }, "property": { "type": "Identifier", "span": { "start": 396, "end": 397, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 399, "end": 406, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 399, "end": 405, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 399, "end": 403, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 399, "end": 401, "ctxt": 0 }, "value": "si", "optional": false }, "property": { "type": "Identifier", "span": { "start": 402, "end": 403, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 413, "end": 418, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 413, "end": 417, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 413, "end": 415, "ctxt": 0 }, "value": "si", "optional": false }, "property": { "type": "Identifier", "span": { "start": 416, "end": 417, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 425, "end": 431, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 425, "end": 430, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 425, "end": 428, "ctxt": 0 }, "value": "ssi", "optional": false }, "property": { "type": "Identifier", "span": { "start": 429, "end": 430, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 432, "end": 440, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 432, "end": 439, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 432, "end": 437, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 432, "end": 435, "ctxt": 0 }, "value": "ssi", "optional": false }, "property": { "type": "Identifier", "span": { "start": 436, "end": 437, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 447, "end": 453, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 447, "end": 452, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 447, "end": 450, "ctxt": 0 }, "value": "ssi", "optional": false }, "property": { "type": "Identifier", "span": { "start": 451, "end": 452, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 461, "end": 511, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 465, "end": 510, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 465, "end": 466, "ctxt": 0 }, "value": "o", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 469, "end": 510, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 471, "end": 472, "ctxt": 0 }, "value": "p", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 474, "end": 476, "ctxt": 0 }, "value": 12.0 } }, { "type": "MethodProperty", "key": { "type": "Identifier", "span": { "start": 478, "end": 479, "ctxt": 0 }, "value": "m", "optional": false }, "params": [], "decorators": [], "span": { "start": 478, "end": 485, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 482, "end": 485, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "GetterProperty", "span": { "start": 487, "end": 508, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 491, "end": 492, "ctxt": 0 }, "value": "g", "optional": false }, "typeAnnotation": null, "body": { "type": "BlockStatement", "span": { "start": 495, "end": 508, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 497, "end": 506, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 504, "end": 505, "ctxt": 0 }, "value": 0.0 } } ] } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 512, "end": 530, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 516, "end": 529, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 516, "end": 518, "ctxt": 0 }, "value": "so", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 521, "end": 529, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 523, "end": 526, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 526, "end": 527, "ctxt": 0 }, "value": "o", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 531, "end": 556, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 535, "end": 555, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 535, "end": 538, "ctxt": 0 }, "value": "sso", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 541, "end": 555, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 543, "end": 546, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 546, "end": 547, "ctxt": 0 }, "value": "o", "optional": false } }, { "type": "SpreadElement", "spread": { "start": 549, "end": 552, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 552, "end": 553, "ctxt": 0 }, "value": "o", "optional": false } } ] }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 557, "end": 562, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 557, "end": 561, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 557, "end": 559, "ctxt": 0 }, "value": "so", "optional": false }, "property": { "type": "Identifier", "span": { "start": 560, "end": 561, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 563, "end": 570, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 563, "end": 569, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 563, "end": 567, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 563, "end": 565, "ctxt": 0 }, "value": "so", "optional": false }, "property": { "type": "Identifier", "span": { "start": 566, "end": 567, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 577, "end": 582, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 577, "end": 581, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 577, "end": 579, "ctxt": 0 }, "value": "so", "optional": false }, "property": { "type": "Identifier", "span": { "start": 580, "end": 581, "ctxt": 0 }, "value": "g", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 589, "end": 595, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 589, "end": 594, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 589, "end": 592, "ctxt": 0 }, "value": "sso", "optional": false }, "property": { "type": "Identifier", "span": { "start": 593, "end": 594, "ctxt": 0 }, "value": "p", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 596, "end": 604, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 596, "end": 603, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 596, "end": 601, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 596, "end": 599, "ctxt": 0 }, "value": "sso", "optional": false }, "property": { "type": "Identifier", "span": { "start": 600, "end": 601, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 611, "end": 617, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 611, "end": 616, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 611, "end": 614, "ctxt": 0 }, "value": "sso", "optional": false }, "property": { "type": "Identifier", "span": { "start": 615, "end": 616, "ctxt": 0 }, "value": "g", "optional": false } } } ], "interpreter": null }