{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "AssignmentsTest", "decorators": [], "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 22 } } }, "superClass": null, "implements": [], "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 11 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 11 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 11 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 11 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "Test", "decorators": [], "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 17 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "Test", "decorators": [], "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 17 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 25 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 20 } } }, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 20 } } }, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "+=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 21, "column": 14 }, "end": { "line": 21, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 20 } } }, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 20 } } }, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "-=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 20 } } }, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 20 } } }, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "*=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 20 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 20 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "/=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 4, "loc": { "start": { "line": 24, "column": 19 }, "end": { "line": 24, "column": 20 } } }, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 20 } } }, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "%=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 25, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 5, "loc": { "start": { "line": 25, "column": 19 }, "end": { "line": 25, "column": 20 } } }, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 20 } } }, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 20 } } }, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 20 } } }, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": ">>=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 27, "column": 14 }, "end": { "line": 27, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 27, "column": 20 }, "end": { "line": 27, "column": 21 } } }, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 21 } } }, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 22 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": ">>>=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 22 } } }, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 22 } } }, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 23 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "<<=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 29, "column": 14 }, "end": { "line": 29, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 29, "column": 20 }, "end": { "line": 29, "column": 21 } } }, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 21 } } }, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 22 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 30, "column": 14 }, "end": { "line": 30, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 20 } } }, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 20 } } }, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "&=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 31, "column": 14 }, "end": { "line": 31, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 31, "column": 19 }, "end": { "line": 31, "column": 20 } } }, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 20 } } }, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "|=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 32, "column": 14 }, "end": { "line": 32, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 20 } } }, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 20 } } }, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "^=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 13 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 33, "column": 14 }, "end": { "line": 33, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 4, "loc": { "start": { "line": 33, "column": 19 }, "end": { "line": 33, "column": 20 } } }, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 20 } } }, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 13 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 34, "column": 14 }, "end": { "line": 34, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 15 } } }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 22 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 34, "column": 23 }, "end": { "line": 34, "column": 24 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 24 } } }, "right": { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 34, "column": 27 }, "end": { "line": 34, "column": 29 } } }, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 29 } } }, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 29 } } }, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 30 } } } ], "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 35, "column": 6 } } }, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 35, "column": 6 } } }, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 35, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 35, "column": 6 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "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": { "type": "Identifier", "name": "constructor", "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": 36, "column": 2 }, "end": { "line": 36, "column": 2 } } } ], "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 36, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 36, "column": 2 } } }, { "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": "_$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": [], "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 } } } ], "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": 37, "column": 1 } } }