{ "type": "Script", "span": { "start": 0, "end": 102, "ctxt": 0 }, "body": [ { "type": "SwitchStatement", "span": { "start": 0, "end": 102, "ctxt": 0 }, "discriminant": { "type": "TemplateLiteral", "span": { "start": 8, "end": 20, "ctxt": 0 }, "expressions": [ { "type": "NumericLiteral", "span": { "start": 14, "end": 15, "ctxt": 0 }, "value": 0.0 } ], "quasis": [ { "type": "TemplateElement", "span": { "start": 9, "end": 12, "ctxt": 0 }, "tail": false, "cooked": { "type": "StringLiteral", "span": { "start": 9, "end": 12, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 9, "end": 12, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } }, { "type": "TemplateElement", "span": { "start": 16, "end": 19, "ctxt": 0 }, "tail": true, "cooked": { "type": "StringLiteral", "span": { "start": 16, "end": 19, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 16, "end": 19, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } } ] }, "cases": [ { "type": "SwitchCase", "span": { "start": 28, "end": 39, "ctxt": 0 }, "test": { "type": "TemplateLiteral", "span": { "start": 33, "end": 38, "ctxt": 0 }, "expressions": [], "quasis": [ { "type": "TemplateElement", "span": { "start": 34, "end": 37, "ctxt": 0 }, "tail": true, "cooked": { "type": "StringLiteral", "span": { "start": 34, "end": 37, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 34, "end": 37, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } } ] }, "consequent": [] }, { "type": "SwitchCase", "span": { "start": 44, "end": 55, "ctxt": 0 }, "test": { "type": "TemplateLiteral", "span": { "start": 49, "end": 54, "ctxt": 0 }, "expressions": [], "quasis": [ { "type": "TemplateElement", "span": { "start": 50, "end": 53, "ctxt": 0 }, "tail": true, "cooked": { "type": "StringLiteral", "span": { "start": 50, "end": 53, "ctxt": 0 }, "value": "123", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 50, "end": 53, "ctxt": 0 }, "value": "123", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } } ] }, "consequent": [] }, { "type": "SwitchCase", "span": { "start": 60, "end": 100, "ctxt": 0 }, "test": { "type": "TemplateLiteral", "span": { "start": 65, "end": 77, "ctxt": 0 }, "expressions": [ { "type": "NumericLiteral", "span": { "start": 71, "end": 72, "ctxt": 0 }, "value": 0.0 } ], "quasis": [ { "type": "TemplateElement", "span": { "start": 66, "end": 69, "ctxt": 0 }, "tail": false, "cooked": { "type": "StringLiteral", "span": { "start": 66, "end": 69, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 66, "end": 69, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } }, { "type": "TemplateElement", "span": { "start": 73, "end": 76, "ctxt": 0 }, "tail": true, "cooked": { "type": "StringLiteral", "span": { "start": 73, "end": 76, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 73, "end": 76, "ctxt": 0 }, "value": "abc", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } } ] }, "consequent": [ { "type": "ExpressionStatement", "span": { "start": 87, "end": 100, "ctxt": 0 }, "expression": { "type": "TemplateLiteral", "span": { "start": 87, "end": 99, "ctxt": 0 }, "expressions": [ { "type": "NumericLiteral", "span": { "start": 93, "end": 94, "ctxt": 0 }, "value": 1.0 } ], "quasis": [ { "type": "TemplateElement", "span": { "start": 88, "end": 91, "ctxt": 0 }, "tail": false, "cooked": { "type": "StringLiteral", "span": { "start": 88, "end": 91, "ctxt": 0 }, "value": "def", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 88, "end": 91, "ctxt": 0 }, "value": "def", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } }, { "type": "TemplateElement", "span": { "start": 95, "end": 98, "ctxt": 0 }, "tail": true, "cooked": { "type": "StringLiteral", "span": { "start": 95, "end": 98, "ctxt": 0 }, "value": "def", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } }, "raw": { "type": "StringLiteral", "span": { "start": 95, "end": 98, "ctxt": 0 }, "value": "def", "hasEscape": false, "kind": { "type": "normal", "containsQuote": false } } } ] } } ] } ] } ], "interpreter": null }