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