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 "annotations": [], 91 "loc": { 92 "start": { 93 "line": 17, 94 "column": 1 95 }, 96 "end": { 97 "line": 20, 98 "column": 2 99 } 100 } 101 }, 102 "body": [ 103 { 104 "type": "ClassProperty", 105 "key": { 106 "type": "Identifier", 107 "name": "set", 108 "loc": { 109 "start": { 110 "line": 18, 111 "column": 5 112 }, 113 "end": { 114 "line": 18, 115 "column": 8 116 } 117 } 118 }, 119 "value": { 120 "type": "NumberLiteral", 121 "value": 0, 122 "loc": { 123 "start": { 124 "line": 18, 125 "column": 19 126 }, 127 "end": { 128 "line": 18, 129 "column": 20 130 } 131 } 132 }, 133 "static": false, 134 "readonly": false, 135 "declare": false, 136 "optional": false, 137 "computed": false, 138 "typeAnnotation": { 139 "type": "TSNumberKeyword", 140 "loc": { 141 "start": { 142 "line": 18, 143 "column": 10 144 }, 145 "end": { 146 "line": 18, 147 "column": 16 148 } 149 } 150 }, 151 "decorators": [], 152 "loc": { 153 "start": { 154 "line": 18, 155 "column": 5 156 }, 157 "end": { 158 "line": 18, 159 "column": 20 160 } 161 } 162 }, 163 { 164 "type": "ClassProperty", 165 "key": { 166 "type": "Identifier", 167 "name": "get", 168 "loc": { 169 "start": { 170 "line": 19, 171 "column": 5 172 }, 173 "end": { 174 "line": 19, 175 "column": 8 176 } 177 } 178 }, 179 "value": { 180 "type": "NumberLiteral", 181 "value": 1, 182 "loc": { 183 "start": { 184 "line": 19, 185 "column": 20 186 }, 187 "end": { 188 "line": 19, 189 "column": 21 190 } 191 } 192 }, 193 "static": false, 194 "readonly": false, 195 "declare": false, 196 "optional": true, 197 "computed": false, 198 "typeAnnotation": { 199 "type": "TSNumberKeyword", 200 "loc": { 201 "start": { 202 "line": 19, 203 "column": 11 204 }, 205 "end": { 206 "line": 19, 207 "column": 17 208 } 209 } 210 }, 211 "decorators": [], 212 "loc": { 213 "start": { 214 "line": 19, 215 "column": 5 216 }, 217 "end": { 218 "line": 19, 219 "column": 21 220 } 221 } 222 } 223 ], 224 "indexSignatures": [], 225 "loc": { 226 "start": { 227 "line": 17, 228 "column": 9 229 }, 230 "end": { 231 "line": 20, 232 "column": 2 233 } 234 } 235 }, 236 "decorators": [], 237 "isAnnotationDeclaration": false, 238 "loc": { 239 "start": { 240 "line": 17, 241 "column": 1 242 }, 243 "end": { 244 "line": 20, 245 "column": 2 246 } 247 } 248 } 249 ], 250 "loc": { 251 "start": { 252 "line": 1, 253 "column": 1 254 }, 255 "end": { 256 "line": 21, 257 "column": 1 258 } 259 } 260} 261