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": 19, 33 "column": 3 34 }, 35 "end": { 36 "line": 19, 37 "column": 14 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 { 58 "type": "ExpressionStatement", 59 "expression": { 60 "type": "AssignmentExpression", 61 "operator": "=", 62 "left": { 63 "type": "MemberExpression", 64 "object": { 65 "type": "ThisExpression", 66 "loc": { 67 "start": { 68 "line": 20, 69 "column": 5 70 }, 71 "end": { 72 "line": 20, 73 "column": 9 74 } 75 } 76 }, 77 "property": { 78 "type": "PrivateIdentifier", 79 "name": "bar", 80 "decorators": [], 81 "loc": { 82 "start": { 83 "line": 20, 84 "column": 10 85 }, 86 "end": { 87 "line": 20, 88 "column": 14 89 } 90 } 91 }, 92 "computed": false, 93 "optional": false, 94 "loc": { 95 "start": { 96 "line": 20, 97 "column": 5 98 }, 99 "end": { 100 "line": 20, 101 "column": 14 102 } 103 } 104 }, 105 "right": { 106 "type": "NumberLiteral", 107 "value": 0, 108 "loc": { 109 "start": { 110 "line": 20, 111 "column": 17 112 }, 113 "end": { 114 "line": 20, 115 "column": 18 116 } 117 } 118 }, 119 "loc": { 120 "start": { 121 "line": 20, 122 "column": 5 123 }, 124 "end": { 125 "line": 20, 126 "column": 18 127 } 128 } 129 }, 130 "loc": { 131 "start": { 132 "line": 20, 133 "column": 5 134 }, 135 "end": { 136 "line": 20, 137 "column": 19 138 } 139 } 140 } 141 ], 142 "loc": { 143 "start": { 144 "line": 19, 145 "column": 17 146 }, 147 "end": { 148 "line": 21, 149 "column": 4 150 } 151 } 152 }, 153 "loc": { 154 "start": { 155 "line": 19, 156 "column": 14 157 }, 158 "end": { 159 "line": 21, 160 "column": 4 161 } 162 } 163 }, 164 "loc": { 165 "start": { 166 "line": 19, 167 "column": 14 168 }, 169 "end": { 170 "line": 21, 171 "column": 4 172 } 173 } 174 }, 175 "overloads": [], 176 "decorators": [], 177 "loc": { 178 "start": { 179 "line": 19, 180 "column": 3 181 }, 182 "end": { 183 "line": 21, 184 "column": 4 185 } 186 } 187 }, 188 "body": [ 189 { 190 "type": "ClassProperty", 191 "key": { 192 "type": "PrivateIdentifier", 193 "name": "bar", 194 "decorators": [], 195 "loc": { 196 "start": { 197 "line": 18, 198 "column": 4 199 }, 200 "end": { 201 "line": 18, 202 "column": 7 203 } 204 } 205 }, 206 "value": { 207 "type": "Identifier", 208 "name": "undefined", 209 "decorators": [], 210 "loc": { 211 "start": { 212 "line": 18, 213 "column": 10 214 }, 215 "end": { 216 "line": 18, 217 "column": 19 218 } 219 } 220 }, 221 "static": false, 222 "readonly": false, 223 "declare": false, 224 "optional": false, 225 "computed": false, 226 "definite": false, 227 "decorators": [], 228 "loc": { 229 "start": { 230 "line": 18, 231 "column": 3 232 }, 233 "end": { 234 "line": 18, 235 "column": 19 236 } 237 } 238 } 239 ], 240 "loc": { 241 "start": { 242 "line": 17, 243 "column": 11 244 }, 245 "end": { 246 "line": 22, 247 "column": 2 248 } 249 } 250 }, 251 "loc": { 252 "start": { 253 "line": 17, 254 "column": 1 255 }, 256 "end": { 257 "line": 22, 258 "column": 2 259 } 260 } 261 }, 262 { 263 "type": "ExpressionStatement", 264 "expression": { 265 "type": "CallExpression", 266 "callee": { 267 "type": "Identifier", 268 "name": "eval", 269 "decorators": [], 270 "loc": { 271 "start": { 272 "line": 24, 273 "column": 1 274 }, 275 "end": { 276 "line": 24, 277 "column": 5 278 } 279 } 280 }, 281 "arguments": [], 282 "optional": false, 283 "loc": { 284 "start": { 285 "line": 24, 286 "column": 1 287 }, 288 "end": { 289 "line": 24, 290 "column": 7 291 } 292 } 293 }, 294 "loc": { 295 "start": { 296 "line": 24, 297 "column": 1 298 }, 299 "end": { 300 "line": 24, 301 "column": 8 302 } 303 } 304 } 305 ], 306 "loc": { 307 "start": { 308 "line": 1, 309 "column": 1 310 }, 311 "end": { 312 "line": 25, 313 "column": 1 314 } 315 } 316} 317