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