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