{ "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": "_$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": 16, "column": 10 }, "end": { "line": 16, "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": 16, "column": 10 }, "end": { "line": 16, "column": 14 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 22 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "values", "typeAnnotation": { "type": "TSArrayType", "elementType": { "type": "ETSUnionType", "types": [ { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "string", "decorators": [], "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 24 } } }, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 25 } } }, "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 25 } } }, { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "Int", "decorators": [], "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 28 } } }, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 29 } } }, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 29 } } }, { "type": "ETSNullType", "loc": { "start": { "line": 17, "column": 29 }, "end": { "line": 17, "column": 33 } } } ], "loc": { "start": { "line": 17, "column": 17 }, "end": { "line": 17, "column": 33 } } }, "loc": { "start": { "line": 17, "column": 37 }, "end": { "line": 17, "column": 38 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 } } }, "init": { "type": "ArrayExpression", "elements": [ { "type": "StringLiteral", "value": "Test", "loc": { "start": { "line": 17, "column": 40 }, "end": { "line": 17, "column": 46 } } }, { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 17, "column": 48 }, "end": { "line": 17, "column": 49 } } }, { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 17, "column": 51 }, "end": { "line": 17, "column": 52 } } }, { "type": "NullLiteral", "value": null, "loc": { "start": { "line": 17, "column": 54 }, "end": { "line": 17, "column": 58 } } }, { "type": "NumberLiteral", "value": 5, "loc": { "start": { "line": 17, "column": 60 }, "end": { "line": 17, "column": 61 } } }, { "type": "NumberLiteral", "value": 10, "loc": { "start": { "line": 17, "column": 63 }, "end": { "line": 17, "column": 65 } } }, { "type": "NullLiteral", "value": null, "loc": { "start": { "line": 17, "column": 67 }, "end": { "line": 17, "column": 71 } } } ], "loc": { "start": { "line": 17, "column": 39 }, "end": { "line": 17, "column": 72 } } }, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 72 } } } ], "kind": "let", "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 73 } } } ], "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 18, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 18, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 18, "column": 2 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 18, "column": 2 } } } ], "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": 19, "column": 1 } } }