{ "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": "MethodDefinition", "key": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 8 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 8 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 16 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 20 } } }, "decorators": [], "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 14 } } }, "init": { "type": "NumberLiteral", "value": 60000000000, "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 34 } } }, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 34 } } } ], "kind": "let", "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 35 } } }, { "type": "SwitchStatement", "discriminant": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 17 } } }, "cases": [ { "type": "SwitchCase", "test": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 19 } } }, "consequent": [ { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 23 } } } ], "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 21, "column": 23 } } }, { "type": "SwitchCase", "test": { "type": "NumberLiteral", "value": 200, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 21 } } }, "consequent": [ { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 23 } } } ], "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 23, "column": 23 } } }, { "type": "SwitchCase", "test": { "type": "NumberLiteral", "value": 200000, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 24 } } }, "consequent": [ { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 23 } } } ], "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 25, "column": 23 } } }, { "type": "SwitchCase", "test": { "type": "NumberLiteral", "value": 200000000000, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 30 } } }, "consequent": [ { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 23 } } } ], "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 27, "column": 23 } } }, { "type": "SwitchCase", "test": { "type": "CharLiteral", "value": "l", "loc": { "start": { "line": 28, "column": 18 }, "end": { "line": 28, "column": 22 } } }, "consequent": [ { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 23 } } } ], "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 29, "column": 23 } } } ], "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 30, "column": 10 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "Int", "decorators": [], "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 19 } } }, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 21 } } }, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 21 } } }, "decorators": [], "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 14 } } }, "init": { "type": "NumberLiteral", "value": 200000, "loc": { "start": { "line": 32, "column": 22 }, "end": { "line": 32, "column": 28 } } }, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 28 } } } ], "kind": "let", "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 29 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "c", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 33, "column": 18 }, "end": { "line": 33, "column": 21 } } }, "decorators": [], "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 16 } } }, "init": { "type": "NumberLiteral", "value": 210000, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 30 } } }, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 30 } } } ], "kind": "const", "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 31 } } }, { "type": "SwitchStatement", "discriminant": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 17 } } }, "cases": [ { "type": "SwitchCase", "test": { "type": "NumberLiteral", "value": 300000, "loc": { "start": { "line": 35, "column": 18 }, "end": { "line": 35, "column": 24 } } }, "consequent": [ { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 36, "column": 17 }, "end": { "line": 36, "column": 23 } } } ], "loc": { "start": { "line": 35, "column": 13 }, "end": { "line": 36, "column": 23 } } }, { "type": "SwitchCase", "test": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 37, "column": 18 }, "end": { "line": 37, "column": 19 } } }, "consequent": [ { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 38, "column": 17 }, "end": { "line": 38, "column": 23 } } } ], "loc": { "start": { "line": 37, "column": 13 }, "end": { "line": 38, "column": 23 } } } ], "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 39, "column": 10 } } } ], "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 40, "column": 6 } } }, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 40, "column": 6 } } }, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 40, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 40, "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": 41, "column": 2 }, "end": { "line": 41, "column": 2 } } } ], "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 41, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 41, "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": 42, "column": 1 } } }