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