{
"type": "Program",
"statements": [
{
"type": "SwitchStatement",
"discriminant": {
"type": "Identifier",
"name": "key",
"loc": {
"start": {
"line": 17,
"column": 9,
"program": "test-switch.js"
},
"end": {
"line": 17,
"column": 12,
"program": "test-switch.js"
}
}
},
"cases": [
{
"type": "SwitchCase",
"test": {
"type": "Identifier",
"name": "value",
"loc": {
"start": {
"line": 18,
"column": 10,
"program": "test-switch.js"
},
"end": {
"line": 18,
"column": 15,
"program": "test-switch.js"
}
}
},
"consequent": [
{
"type": "BreakStatement",
"label": null,
"loc": {
"start": {
"line": 19,
"column": 9,
"program": "test-switch.js"
},
"end": {
"line": 19,
"column": 15,
"program": "test-switch.js"
}
}
}
],
"loc": {
"start": {
"line": 18,
"column": 5,
"program": "test-switch.js"
},
"end": {
"line": 19,
"column": 15,
"program": "test-switch.js"
}
}
},
{
"type": "SwitchCase",
"test": null,
"consequent": [
{
"type": "BreakStatement",
"label": null,
"loc": {
"start": {
"line": 22,
"column": 9,
"program": "test-switch.js"
},
"end": {
"line": 22,
"column": 15,
"program": "test-switch.js"
}
}
}
],
"loc": {
"start": {
"line": 21,
"column": 5,
"program": "test-switch.js"
},
"end": {
"line": 22,
"column": 15,
"program": "test-switch.js"
}
}
}
],
"loc": {
"start": {
"line": 17,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 23,
"column": 2,
"program": "test-switch.js"
}
}
},
{
"type": "SwitchStatement",
"discriminant": {
"type": "Identifier",
"name": "test",
"loc": {
"start": {
"line": 25,
"column": 9,
"program": "test-switch.js"
},
"end": {
"line": 25,
"column": 13,
"program": "test-switch.js"
}
}
},
"cases": [],
"loc": {
"start": {
"line": 25,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 25,
"column": 17,
"program": "test-switch.js"
}
}
},
{
"type": "SwitchStatement",
"discriminant": {
"type": "Identifier",
"name": "t",
"loc": {
"start": {
"line": 27,
"column": 9,
"program": "test-switch.js"
},
"end": {
"line": 27,
"column": 10,
"program": "test-switch.js"
}
}
},
"cases": [
{
"type": "SwitchCase",
"test": null,
"consequent": [],
"loc": {
"start": {
"line": 28,
"column": 5,
"program": "test-switch.js"
},
"end": {
"line": 28,
"column": 13,
"program": "test-switch.js"
}
}
}
],
"loc": {
"start": {
"line": 27,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 29,
"column": 2,
"program": "test-switch.js"
}
}
},
{
"type": "SwitchStatement",
"discriminant": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 32,
"column": 2,
"program": "test-switch.js"
},
"end": {
"line": 32,
"column": 3,
"program": "test-switch.js"
}
}
},
"cases": [
{
"type": "SwitchCase",
"test": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 35,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 35,
"column": 2,
"program": "test-switch.js"
}
}
},
"consequent": [],
"loc": {
"start": {
"line": 34,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 35,
"column": 3,
"program": "test-switch.js"
}
}
},
{
"type": "SwitchCase",
"test": null,
"consequent": [],
"loc": {
"start": {
"line": 36,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 37,
"column": 2,
"program": "test-switch.js"
}
}
}
],
"loc": {
"start": {
"line": 31,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 38,
"column": 2,
"program": "test-switch.js"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "test-switch.js"
},
"end": {
"line": 38,
"column": 2,
"program": "test-switch.js"
}
}
}