163 lines
3.3 KiB
JSON
Executable File

{
"type": "File",
"start": 0,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
},
"sourceType": "script",
"body": [
{
"type": "SwitchStatement",
"start": 0,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
},
"discriminant": {
"type": "Identifier",
"start": 8,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 9
}
},
"name": "a"
},
"cases": [
{
"type": "SwitchCase",
"start": 17,
"end": 39,
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 3,
"column": 14
}
},
"consequent": [
{
"type": "BreakStatement",
"start": 33,
"end": 39,
"loc": {
"start": {
"line": 3,
"column": 8
},
"end": {
"line": 3,
"column": 14
}
},
"label": null,
"leadingComments": null,
"trailingComments": null
}
],
"test": {
"type": "Literal",
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 10
}
},
"value": 1,
"rawValue": 1,
"raw": "1"
},
"trailingComments": [
{
"type": "CommentLine",
"value": "no default",
"start": 44,
"end": 56,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 16
}
},
"range": [
44,
56
]
}
]
}
]
}
]
},
"comments": [
{
"type": "CommentLine",
"value": "no default",
"start": 44,
"end": 56,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 16
}
},
"range": [
44,
56
]
}
]
}