1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "o", 12 "decorators": [], 13 "loc": { 14 "start": { 15 "line": 17, 16 "column": 5 17 }, 18 "end": { 19 "line": 17, 20 "column": 6 21 } 22 } 23 }, 24 "init": { 25 "type": "ObjectExpression", 26 "properties": [ 27 { 28 "type": "Property", 29 "method": false, 30 "shorthand": false, 31 "computed": false, 32 "key": { 33 "type": "Identifier", 34 "name": "a", 35 "decorators": [], 36 "loc": { 37 "start": { 38 "line": 18, 39 "column": 5 40 }, 41 "end": { 42 "line": 18, 43 "column": 6 44 } 45 } 46 }, 47 "value": { 48 "type": "NumberLiteral", 49 "value": 1, 50 "loc": { 51 "start": { 52 "line": 18, 53 "column": 8 54 }, 55 "end": { 56 "line": 18, 57 "column": 9 58 } 59 } 60 }, 61 "kind": "init", 62 "loc": { 63 "start": { 64 "line": 18, 65 "column": 5 66 }, 67 "end": { 68 "line": 18, 69 "column": 9 70 } 71 } 72 } 73 ], 74 "loc": { 75 "start": { 76 "line": 17, 77 "column": 9 78 }, 79 "end": { 80 "line": 19, 81 "column": 2 82 } 83 } 84 }, 85 "loc": { 86 "start": { 87 "line": 17, 88 "column": 5 89 }, 90 "end": { 91 "line": 19, 92 "column": 2 93 } 94 } 95 } 96 ], 97 "kind": "var", 98 "loc": { 99 "start": { 100 "line": 17, 101 "column": 1 102 }, 103 "end": { 104 "line": 19, 105 "column": 2 106 } 107 } 108 }, 109 { 110 "type": "VariableDeclaration", 111 "declarations": [ 112 { 113 "type": "VariableDeclarator", 114 "id": { 115 "type": "Identifier", 116 "name": "a", 117 "decorators": [], 118 "loc": { 119 "start": { 120 "line": 21, 121 "column": 5 122 }, 123 "end": { 124 "line": 21, 125 "column": 6 126 } 127 } 128 }, 129 "init": { 130 "type": "TSAsExpression", 131 "expression": { 132 "type": "ObjectExpression", 133 "properties": [ 134 { 135 "type": "SpreadElement", 136 "argument": { 137 "type": "Identifier", 138 "name": "o", 139 "decorators": [], 140 "loc": { 141 "start": { 142 "line": 21, 143 "column": 13 144 }, 145 "end": { 146 "line": 21, 147 "column": 14 148 } 149 } 150 }, 151 "loc": { 152 "start": { 153 "line": 21, 154 "column": 10 155 }, 156 "end": { 157 "line": 21, 158 "column": 14 159 } 160 } 161 } 162 ], 163 "loc": { 164 "start": { 165 "line": 21, 166 "column": 9 167 }, 168 "end": { 169 "line": 21, 170 "column": 15 171 } 172 } 173 }, 174 "typeAnnotation": { 175 "type": "TSTypeReference", 176 "typeName": { 177 "type": "Identifier", 178 "name": "const", 179 "decorators": [], 180 "loc": { 181 "start": { 182 "line": 21, 183 "column": 19 184 }, 185 "end": { 186 "line": 21, 187 "column": 24 188 } 189 } 190 }, 191 "loc": { 192 "start": { 193 "line": 21, 194 "column": 19 195 }, 196 "end": { 197 "line": 21, 198 "column": 24 199 } 200 } 201 }, 202 "loc": { 203 "start": { 204 "line": 21, 205 "column": 9 206 }, 207 "end": { 208 "line": 21, 209 "column": 25 210 } 211 } 212 }, 213 "loc": { 214 "start": { 215 "line": 21, 216 "column": 5 217 }, 218 "end": { 219 "line": 21, 220 "column": 25 221 } 222 } 223 } 224 ], 225 "kind": "var", 226 "loc": { 227 "start": { 228 "line": 21, 229 "column": 1 230 }, 231 "end": { 232 "line": 21, 233 "column": 25 234 } 235 } 236 }, 237 { 238 "type": "ExpressionStatement", 239 "expression": { 240 "type": "AssignmentExpression", 241 "operator": "=", 242 "left": { 243 "type": "MemberExpression", 244 "object": { 245 "type": "Identifier", 246 "name": "a", 247 "decorators": [], 248 "loc": { 249 "start": { 250 "line": 22, 251 "column": 1 252 }, 253 "end": { 254 "line": 22, 255 "column": 2 256 } 257 } 258 }, 259 "property": { 260 "type": "Identifier", 261 "name": "a", 262 "decorators": [], 263 "loc": { 264 "start": { 265 "line": 22, 266 "column": 3 267 }, 268 "end": { 269 "line": 22, 270 "column": 4 271 } 272 } 273 }, 274 "computed": false, 275 "optional": false, 276 "loc": { 277 "start": { 278 "line": 22, 279 "column": 1 280 }, 281 "end": { 282 "line": 22, 283 "column": 4 284 } 285 } 286 }, 287 "right": { 288 "type": "NumberLiteral", 289 "value": 1, 290 "loc": { 291 "start": { 292 "line": 22, 293 "column": 7 294 }, 295 "end": { 296 "line": 22, 297 "column": 8 298 } 299 } 300 }, 301 "loc": { 302 "start": { 303 "line": 22, 304 "column": 1 305 }, 306 "end": { 307 "line": 22, 308 "column": 8 309 } 310 } 311 }, 312 "loc": { 313 "start": { 314 "line": 22, 315 "column": 1 316 }, 317 "end": { 318 "line": 22, 319 "column": 9 320 } 321 } 322 } 323 ], 324 "loc": { 325 "start": { 326 "line": 1, 327 "column": 1 328 }, 329 "end": { 330 "line": 22, 331 "column": 9 332 } 333 } 334} 335