1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "arg", 12 "decorators": [], 13 "loc": { 14 "start": { 15 "line": 16, 16 "column": 5 17 }, 18 "end": { 19 "line": 16, 20 "column": 8 21 } 22 } 23 }, 24 "init": { 25 "type": "UnaryExpression", 26 "operator": "-", 27 "prefix": true, 28 "argument": { 29 "type": "NumberLiteral", 30 "value": 1, 31 "loc": { 32 "start": { 33 "line": 16, 34 "column": 12 35 }, 36 "end": { 37 "line": 16, 38 "column": 13 39 } 40 } 41 }, 42 "loc": { 43 "start": { 44 "line": 16, 45 "column": 11 46 }, 47 "end": { 48 "line": 16, 49 "column": 13 50 } 51 } 52 }, 53 "loc": { 54 "start": { 55 "line": 16, 56 "column": 5 57 }, 58 "end": { 59 "line": 16, 60 "column": 13 61 } 62 } 63 } 64 ], 65 "kind": "var", 66 "loc": { 67 "start": { 68 "line": 16, 69 "column": 1 70 }, 71 "end": { 72 "line": 16, 73 "column": 14 74 } 75 } 76 }, 77 { 78 "type": "SwitchStatement", 79 "discriminant": { 80 "type": "Identifier", 81 "name": "arg", 82 "decorators": [], 83 "loc": { 84 "start": { 85 "line": 17, 86 "column": 9 87 }, 88 "end": { 89 "line": 17, 90 "column": 12 91 } 92 } 93 }, 94 "cases": [ 95 { 96 "type": "SwitchCase", 97 "test": { 98 "type": "NumberLiteral", 99 "value": 0, 100 "loc": { 101 "start": { 102 "line": 18, 103 "column": 6 104 }, 105 "end": { 106 "line": 18, 107 "column": 7 108 } 109 } 110 }, 111 "consequent": [], 112 "loc": { 113 "start": { 114 "line": 18, 115 "column": 1 116 }, 117 "end": { 118 "line": 18, 119 "column": 8 120 } 121 } 122 }, 123 { 124 "type": "SwitchCase", 125 "test": { 126 "type": "NumberLiteral", 127 "value": 1, 128 "loc": { 129 "start": { 130 "line": 19, 131 "column": 6 132 }, 133 "end": { 134 "line": 19, 135 "column": 7 136 } 137 } 138 }, 139 "consequent": [], 140 "loc": { 141 "start": { 142 "line": 19, 143 "column": 1 144 }, 145 "end": { 146 "line": 19, 147 "column": 8 148 } 149 } 150 }, 151 { 152 "type": "SwitchCase", 153 "test": null, 154 "consequent": [ 155 { 156 "type": "ExpressionStatement", 157 "expression": { 158 "type": "AssignmentExpression", 159 "operator": "=", 160 "left": { 161 "type": "Identifier", 162 "name": "arg", 163 "decorators": [], 164 "loc": { 165 "start": { 166 "line": 21, 167 "column": 4 168 }, 169 "end": { 170 "line": 21, 171 "column": 7 172 } 173 } 174 }, 175 "right": { 176 "type": "NumberLiteral", 177 "value": 1, 178 "loc": { 179 "start": { 180 "line": 21, 181 "column": 8 182 }, 183 "end": { 184 "line": 21, 185 "column": 9 186 } 187 } 188 }, 189 "loc": { 190 "start": { 191 "line": 21, 192 "column": 4 193 }, 194 "end": { 195 "line": 21, 196 "column": 9 197 } 198 } 199 }, 200 "loc": { 201 "start": { 202 "line": 21, 203 "column": 4 204 }, 205 "end": { 206 "line": 21, 207 "column": 9 208 } 209 } 210 }, 211 { 212 "type": "BreakStatement", 213 "label": null, 214 "loc": { 215 "start": { 216 "line": 22, 217 "column": 4 218 }, 219 "end": { 220 "line": 22, 221 "column": 10 222 } 223 } 224 } 225 ], 226 "loc": { 227 "start": { 228 "line": 20, 229 "column": 1 230 }, 231 "end": { 232 "line": 22, 233 "column": 10 234 } 235 } 236 } 237 ], 238 "loc": { 239 "start": { 240 "line": 17, 241 "column": 1 242 }, 243 "end": { 244 "line": 23, 245 "column": 2 246 } 247 } 248 } 249 ], 250 "loc": { 251 "start": { 252 "line": 1, 253 "column": 1 254 }, 255 "end": { 256 "line": 24, 257 "column": 1 258 } 259 } 260} 261