{ "type": "Program", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "arg", "decorators": [], "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 8 } } }, "init": { "type": "UnaryExpression", "operator": "-", "prefix": true, "argument": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 13 } } }, "loc": { "start": { "line": 16, "column": 11 }, "end": { "line": 16, "column": 13 } } }, "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 13 } } } ], "kind": "var", "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 16, "column": 14 } } }, { "type": "SwitchStatement", "discriminant": { "type": "Identifier", "name": "arg", "decorators": [], "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 12 } } }, "cases": [ { "type": "SwitchCase", "test": { "type": "NumberLiteral", "value": 0, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 7 } } }, "consequent": [], "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 8 } } }, { "type": "SwitchCase", "test": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 7 } } }, "consequent": [], "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 8 } } }, { "type": "SwitchCase", "test": null, "consequent": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "arg", "decorators": [], "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 7 } } }, "right": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 9 } } }, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 9 } } }, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 9 } } }, { "type": "BreakStatement", "label": null, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 10 } } } ], "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 22, "column": 10 } } } ], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 23, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 24, "column": 1 } } }