{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "unary_operations", "decorators": [], "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 30 } } }, "superClass": null, "implements": [], "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 14 } } }, "value": { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 23 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 19 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 23 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "pref1", "decorators": [], "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 18 } } }, "value": { "type": "UnaryExpression", "operator": "+", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 31 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 18, "column": 32 }, "end": { "line": 18, "column": 33 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 33 } } }, "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 33 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 33 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "pref2", "decorators": [], "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 18 } } }, "value": { "type": "UnaryExpression", "operator": "-", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 31 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 19, "column": 32 }, "end": { "line": 19, "column": 33 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 33 } } }, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 33 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 33 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "pref3", "decorators": [], "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 18 } } }, "value": { "type": "UpdateExpression", "operator": "++", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 32 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 34 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 34 } } }, "loc": { "start": { "line": 20, "column": 26 }, "end": { "line": 20, "column": 34 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 34 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "pref4", "decorators": [], "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 18 } } }, "value": { "type": "UpdateExpression", "operator": "--", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 32 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 34 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 34 } } }, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 34 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 34 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "pref5", "decorators": [], "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 18 } } }, "value": { "type": "UnaryExpression", "operator": "~", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 31 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 33 } } }, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 33 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 33 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } } }, "value": { "type": "BooleanLiteral", "value": false, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 31 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 31 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "pref6", "decorators": [], "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 18 } } }, "value": { "type": "UnaryExpression", "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 24, "column": 31 }, "end": { "line": 24, "column": 35 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 24, "column": 36 }, "end": { "line": 24, "column": 37 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 24, "column": 31 }, "end": { "line": 24, "column": 37 } } }, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 37 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 27 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 37 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "post1", "decorators": [], "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 18 } } }, "value": { "type": "UpdateExpression", "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 30 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 25, "column": 31 }, "end": { "line": 25, "column": 32 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 32 } } }, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 34 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 25, "column": 20 }, "end": { "line": 25, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 34 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "post2", "decorators": [], "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 18 } } }, "value": { "type": "UpdateExpression", "operator": "--", "prefix": false, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 30 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 26, "column": 31 }, "end": { "line": 26, "column": 32 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 32 } } }, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 34 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 26, "column": 20 }, "end": { "line": 26, "column": 23 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 34 } } }, { "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": 27, "column": 2 }, "end": { "line": 27, "column": 2 } } } ], "loc": { "start": { "line": 16, "column": 32 }, "end": { "line": 27, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 27, "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": 28, "column": 1 } } }