{ "type": "Script", "span": { "start": 94, "end": 568, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 100, "end": 101, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 94, "end": 279, "ctxt": 0 }, "decorators": [], "body": [ { "type": "Constructor", "span": { "start": 137, "end": 205, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 137, "end": 148, "ctxt": 0 }, "value": "constructor", "optional": false }, "params": [ { "type": "Parameter", "span": { "start": 149, "end": 150, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 149, "end": 150, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } } ], "body": { "type": "BlockStatement", "span": { "start": 152, "end": 205, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 162, "end": 172, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 162, "end": 172, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 162, "end": 168, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 162, "end": 166, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 167, "end": 168, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 171, "end": 172, "ctxt": 0 }, "value": "x", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 181, "end": 199, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 181, "end": 199, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 181, "end": 193, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 181, "end": 185, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 186, "end": 193, "ctxt": 0 }, "value": "exports", "optional": false } }, "right": { "type": "ArrayExpression", "span": { "start": 196, "end": 199, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 197, "end": 198, "ctxt": 0 }, "value": "x", "optional": false } } ] } } } ] }, "accessibility": null, "isOptional": false }, { "type": "ClassMethod", "span": { "start": 239, "end": 277, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 239, "end": 240, "ctxt": 0 }, "value": "m", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 241, "end": 242, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 241, "end": 242, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 239, "end": 277, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 244, "end": 277, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 254, "end": 271, "ctxt": 0 }, "argument": { "type": "BinaryExpression", "span": { "start": 261, "end": 271, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 261, "end": 267, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 261, "end": 265, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 266, "end": 267, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 270, "end": 271, "ctxt": 0 }, "value": "y", "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": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 289, "end": 293, "ctxt": 0 }, "value": "exec", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 280, "end": 410, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 296, "end": 410, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 302, "end": 327, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 308, "end": 326, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 308, "end": 314, "ctxt": 0 }, "value": "module", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 317, "end": 326, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 321, "end": 322, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 323, "end": 325, "ctxt": 0 }, "value": 12.0, "raw": "12" } } ], "typeArguments": null }, "definite": false } ] }, { "type": "ReturnStatement", "span": { "start": 332, "end": 354, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 339, "end": 353, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 339, "end": 345, "ctxt": 0 }, "value": "module", "optional": false }, "property": { "type": "Identifier", "span": { "start": 346, "end": 353, "ctxt": 0 }, "value": "exports", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 421, "end": 427, "ctxt": 0 }, "value": "tricky", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 412, "end": 568, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 430, "end": 568, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 485, "end": 510, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 491, "end": 509, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 491, "end": 497, "ctxt": 0 }, "value": "module", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 500, "end": 509, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 504, "end": 505, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 506, "end": 508, "ctxt": 0 }, "value": 12.0, "raw": "12" } } ], "typeArguments": null }, "definite": false } ] }, { "type": "ReturnStatement", "span": { "start": 515, "end": 566, "ctxt": 0 }, "argument": { "type": "ArrowFunctionExpression", "span": { "start": 522, "end": 566, "ctxt": 0 }, "params": [], "body": { "type": "BlockStatement", "span": { "start": 528, "end": 566, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 538, "end": 560, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 545, "end": 559, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 545, "end": 551, "ctxt": 0 }, "value": "module", "optional": false }, "property": { "type": "Identifier", "span": { "start": 552, "end": 559, "ctxt": 0 }, "value": "exports", "optional": false } } } ] }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }