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