{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "MultiFoo", "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 15 } } }, "superClass": null, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "constructor", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "overloads": [], "decorators": [], "annotations": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 28, "column": 2 } } }, "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "prop", "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 14 } } }, "value": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 26 } } }, "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 22 } } }, "decorators": [], "loc": { "start": { "line": 18, "column": 3 }, "end": { "line": 18, "column": 26 } } }, { "type": "ClassStaticBlock", "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "print", "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 10 } } }, "arguments": [ { "type": "BinaryExpression", "operator": "+", "left": { "type": "StringLiteral", "value": "hi ", "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 16 } } }, "right": { "type": "UpdateExpression", "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "MultiFoo", "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 27 } } }, "property": { "type": "Identifier", "name": "prop", "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 32 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 32 } } }, "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 34 } } }, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 34 } } } ], "optional": false, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 35 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 36 } } } ], "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 21, "column": 4 } } }, "loc": { "start": { "line": 19, "column": 3 }, "end": { "line": 21, "column": 4 } } }, { "type": "ClassStaticBlock", "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "print", "loc": { "start": { "line": 23, "column": 5 }, "end": { "line": 23, "column": 10 } } }, "arguments": [ { "type": "BinaryExpression", "operator": "+", "left": { "type": "StringLiteral", "value": "hello ", "loc": { "start": { "line": 23, "column": 11 }, "end": { "line": 23, "column": 19 } } }, "right": { "type": "UpdateExpression", "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "MultiFoo", "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 30 } } }, "property": { "type": "Identifier", "name": "prop", "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 35 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 35 } } }, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 37 } } }, "loc": { "start": { "line": 23, "column": 11 }, "end": { "line": 23, "column": 37 } } } ], "optional": false, "loc": { "start": { "line": 23, "column": 5 }, "end": { "line": 23, "column": 38 } } }, "loc": { "start": { "line": 23, "column": 5 }, "end": { "line": 23, "column": 39 } } } ], "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 24, "column": 4 } } }, "loc": { "start": { "line": 22, "column": 3 }, "end": { "line": 24, "column": 4 } } }, { "type": "ClassStaticBlock", "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "print", "loc": { "start": { "line": 26, "column": 5 }, "end": { "line": 26, "column": 10 } } }, "arguments": [ { "type": "BinaryExpression", "operator": "+", "left": { "type": "StringLiteral", "value": "world ", "loc": { "start": { "line": 26, "column": 11 }, "end": { "line": 26, "column": 19 } } }, "right": { "type": "UpdateExpression", "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "MultiFoo", "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 30 } } }, "property": { "type": "Identifier", "name": "prop", "loc": { "start": { "line": 26, "column": 31 }, "end": { "line": 26, "column": 35 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 35 } } }, "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 37 } } }, "loc": { "start": { "line": 26, "column": 11 }, "end": { "line": 26, "column": 37 } } } ], "optional": false, "loc": { "start": { "line": 26, "column": 5 }, "end": { "line": 26, "column": 38 } } }, "loc": { "start": { "line": 26, "column": 5 }, "end": { "line": 26, "column": 39 } } } ], "loc": { "start": { "line": 25, "column": 10 }, "end": { "line": 27, "column": 4 } } }, "loc": { "start": { "line": 25, "column": 3 }, "end": { "line": 27, "column": 4 } } } ], "indexSignatures": [], "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 28, "column": 2 } } }, "decorators": [], "isAnnotationDeclaration": false, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 28, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 28, "column": 2 } } }