{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "ETSGLOBAL", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "superClass": null, "implements": [], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "main", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "method", "accessibility": "public", "static": true, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "main", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "_$init$_", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "method", "accessibility": "public", "static": true, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "_$init$_", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 6 } } }, "right": { "type": "NumberLiteral", "value": 5, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 10 } } }, "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 10 } } }, "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 10 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "right": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 11 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 11 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 11 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "x", "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 6 } } }, "right": { "type": "ETSNewArrayInstanceExpression", "typeReference": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 16 } } }, "dimension": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 19, "column": 19 } } }, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 20 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 20 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 20 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "y", "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 6 } } }, "right": { "type": "ETSNewMultiDimArrayInstanceExpression", "typeReference": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 16 } } }, "dimensions": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 18 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 21 } } } ], "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 22 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 22 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 22 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "z", "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 6 } } }, "right": { "type": "ETSNewMultiDimArrayInstanceExpression", "typeReference": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 16 } } }, "dimensions": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 18 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 21 } } }, { "type": "BinaryExpression", "operator": "+", "left": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 24 } } }, "right": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 28 } } }, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 28 } } } ], "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 29 } } }, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 29 } } }, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 29 } } } ], "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": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 6 } } }, "value": { "type": "NumberLiteral", "value": 5, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 10 } } }, "accessibility": "public", "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "definite": false, "decorators": [], "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 10 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "value": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 11 } } }, "accessibility": "public", "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "definite": false, "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 11 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "x", "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 6 } } }, "value": { "type": "ETSNewArrayInstanceExpression", "typeReference": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 16 } } }, "dimension": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 19, "column": 19 } } }, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 20 } } }, "accessibility": "public", "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "definite": false, "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 20 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "y", "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 6 } } }, "value": { "type": "ETSNewMultiDimArrayInstanceExpression", "typeReference": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 16 } } }, "dimensions": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 18 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 21 } } } ], "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 22 } } }, "accessibility": "public", "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "definite": false, "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 22 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "z", "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 6 } } }, "value": { "type": "ETSNewMultiDimArrayInstanceExpression", "typeReference": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 16 } } }, "dimensions": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 18 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 21 } } }, { "type": "BinaryExpression", "operator": "+", "left": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 24 } } }, "right": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 28 } } }, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 28 } } } ], "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 29 } } }, "accessibility": "public", "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "definite": false, "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 29 } } } ], "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": 21, "column": 30 } } }