{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 8 } } }, "superClass": null, "implements": [], "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "$a$aa$$", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 12 } } }, "value": { "type": "BooleanLiteral", "value": false, "loc": { "start": { "line": 17, "column": 24 }, "end": { "line": 17, "column": 29 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 21 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 29 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "$b$bb$$", "decorators": [], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 12 } } }, "value": { "type": "NumberLiteral", "value": 666, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 23 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 17 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 23 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "$c$cc$$", "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 12 } } }, "value": { "type": "StringLiteral", "value": "Hello world", "loc": { "start": { "line": 19, "column": 23 }, "end": { "line": 19, "column": 36 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "string", "decorators": [], "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 20 } } }, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 22 } } }, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 22 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 36 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "component_fun", "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 18 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "component_fun", "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 18 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 22 }, "end": { "line": 20, "column": 29 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 29 } } }, "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 29 } } }, { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "num", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 36 }, "end": { "line": 20, "column": 39 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 20, "column": 39 } } }, "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 20, "column": 39 } } }, { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "str", "typeAnnotation": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "string", "decorators": [], "loc": { "start": { "line": 20, "column": 46 }, "end": { "line": 20, "column": 52 } } }, "loc": { "start": { "line": 20, "column": 46 }, "end": { "line": 20, "column": 53 } } }, "loc": { "start": { "line": 20, "column": 46 }, "end": { "line": 20, "column": 53 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 41 }, "end": { "line": 20, "column": 53 } } }, "loc": { "start": { "line": 20, "column": 41 }, "end": { "line": 20, "column": 53 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 55 }, "end": { "line": 20, "column": 59 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 20, "column": 60 }, "end": { "line": 20, "column": 63 } } }, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 63 } } }, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 63 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 63 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "fun", "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 8 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "fun", "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 8 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 16 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 13 } } }, "property": { "type": "Identifier", "name": "component_fun", "decorators": [], "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 27 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 27 } } }, "arguments": [ { "type": "UnaryExpression", "operator": "$$", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 22, "column": 30 }, "end": { "line": 22, "column": 34 } } }, "property": { "type": "Identifier", "name": "$a$aa$$", "decorators": [], "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 22, "column": 42 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 22, "column": 30 }, "end": { "line": 22, "column": 42 } } }, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 42 } } }, { "type": "UnaryExpression", "operator": "$$", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 22, "column": 46 }, "end": { "line": 22, "column": 50 } } }, "property": { "type": "Identifier", "name": "$b$bb$$", "decorators": [], "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 58 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 22, "column": 46 }, "end": { "line": 22, "column": 58 } } }, "loc": { "start": { "line": 22, "column": 44 }, "end": { "line": 22, "column": 58 } } }, { "type": "UnaryExpression", "operator": "$$", "prefix": true, "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 66 } } }, "property": { "type": "Identifier", "name": "$c$cc$$", "decorators": [], "loc": { "start": { "line": 22, "column": 67 }, "end": { "line": 22, "column": 74 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 22, "column": 62 }, "end": { "line": 22, "column": 74 } } }, "loc": { "start": { "line": 22, "column": 60 }, "end": { "line": 22, "column": 74 } } } ], "optional": false, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 75 } } }, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 75 } } } ], "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 23, "column": 6 } } }, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 23, "column": 6 } } }, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 23, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 23, "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": 24, "column": 2 }, "end": { "line": 24, "column": 2 } } } ], "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 24, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 24, "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": 25, "column": 1 } } }