{ "type": "Program", "statements": [ { "type": "ImportDeclaration", "source": { "type": "StringLiteral", "value": "dynamic_js_import_tests", "loc": { "start": { "line": 27, "column": 19 }, "end": { "line": 27, "column": 44 } } }, "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 27, "column": 10 }, "end": { "line": 27, "column": 11 } } }, "imported": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 27, "column": 10 }, "end": { "line": 27, "column": 11 } } }, "loc": { "start": { "line": 27, "column": 10 }, "end": { "line": 27, "column": 11 } } } ], "loc": { "start": { "line": 27, "column": 1 }, "end": { "line": 27, "column": 44 } } }, { "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 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "main", "decorators": [], "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 14 } } }, "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": 29, "column": 10 }, "end": { "line": 29, "column": 14 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 29, "column": 18 }, "end": { "line": 29, "column": 22 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 13 } } }, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 15 } } }, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 15 } } }, "decorators": [], "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 10 } } }, "init": { "type": "ObjectExpression", "properties": [ { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "name", "decorators": [], "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 22 } } }, "value": { "type": "StringLiteral", "value": "Edalyn", "loc": { "start": { "line": 30, "column": 24 }, "end": { "line": 30, "column": 32 } } }, "kind": "init", "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 32 } } }, { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 30, "column": 34 }, "end": { "line": 30, "column": 37 } } }, "value": { "type": "NumberLiteral", "value": 30, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 41 } } }, "kind": "init", "loc": { "start": { "line": 30, "column": 34 }, "end": { "line": 30, "column": 41 } } }, { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "location", "decorators": [], "loc": { "start": { "line": 30, "column": 43 }, "end": { "line": 30, "column": 51 } } }, "value": { "type": "StringLiteral", "value": "Boiling_isles", "loc": { "start": { "line": 30, "column": 53 }, "end": { "line": 30, "column": 68 } } }, "kind": "init", "loc": { "start": { "line": 30, "column": 43 }, "end": { "line": 30, "column": 68 } } } ], "loc": { "start": { "line": 30, "column": 16 }, "end": { "line": 30, "column": 70 } } }, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 70 } } } ], "kind": "let", "loc": { "start": { "line": 30, "column": 5 }, "end": { "line": 30, "column": 71 } } } ], "loc": { "start": { "line": 29, "column": 23 }, "end": { "line": 31, "column": 2 } } }, "loc": { "start": { "line": 29, "column": 14 }, "end": { "line": 31, "column": 2 } } }, "loc": { "start": { "line": 29, "column": 14 }, "end": { "line": 31, "column": 2 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 31, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "$dynmodule", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "superClass": null, "implements": [], "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "dynamic_js_import_tests0", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "accessibility": "public", "static": true, "readonly": true, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "OpaqueType", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, { "type": "ClassStaticBlock", "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": true, "params": [], "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "$dynmodule", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "property": { "type": "Identifier", "name": "dynamic_js_import_tests0", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "right": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "JSRuntime", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "property": { "type": "Identifier", "name": "loadModule", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "arguments": [ { "type": "StringLiteral", "value": "dynamic_js_import_tests", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "optional": false, "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": 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": 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": [], "returnType": { "type": "OpaqueType", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": 32, "column": 1 } } }