{ "type": "File", "start":0,"end":60,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":60}}, "program": { "type": "Program", "start":0,"end":60,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":60}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "SwitchStatement", "start":0,"end":60,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":60}}, "discriminant": { "type": "Identifier", "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9},"identifierName":"x"}, "name": "x" }, "cases": [ { "type": "SwitchCase", "start":15,"end":43,"loc":{"start":{"line":2,"column":2,"index":15},"end":{"line":3,"column":20,"index":43}}, "consequent": [ { "type": "ExpressionStatement", "start":27,"end":43,"loc":{"start":{"line":3,"column":4,"index":27},"end":{"line":3,"column":20,"index":43}}, "expression": { "type": "CallExpression", "start":27,"end":43,"loc":{"start":{"line":3,"column":4,"index":27},"end":{"line":3,"column":20,"index":43}}, "callee": { "type": "MemberExpression", "start":27,"end":38,"loc":{"start":{"line":3,"column":4,"index":27},"end":{"line":3,"column":15,"index":38}}, "object": { "type": "Identifier", "start":27,"end":34,"loc":{"start":{"line":3,"column":4,"index":27},"end":{"line":3,"column":11,"index":34},"identifierName":"console"}, "name": "console" }, "computed": false, "property": { "type": "Identifier", "start":35,"end":38,"loc":{"start":{"line":3,"column":12,"index":35},"end":{"line":3,"column":15,"index":38},"identifierName":"log"}, "name": "log" } }, "arguments": [ { "type": "StringLiteral", "start":39,"end":42,"loc":{"start":{"line":3,"column":16,"index":39},"end":{"line":3,"column":19,"index":42}}, "extra": { "rawValue": "1", "raw": "'1'" }, "value": "1" } ] } } ], "test": { "type": "NumericLiteral", "start":20,"end":21,"loc":{"start":{"line":2,"column":7,"index":20},"end":{"line":2,"column":8,"index":21}}, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "trailingComments": [ { "type": "CommentLine", "value": " comment", "start":48,"end":58,"loc":{"start":{"line":4,"column":4,"index":48},"end":{"line":4,"column":14,"index":58}} } ] } ] } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " comment", "start":48,"end":58,"loc":{"start":{"line":4,"column":4,"index":48},"end":{"line":4,"column":14,"index":58}} } ] }