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": 20, 95 "column": 2 96 }, 97 "end": { 98 "line": 20, 99 "column": 2 100 } 101 } 102 }, 103 "body": [ 104 { 105 "type": "MethodDefinition", 106 "key": { 107 "type": "NumberLiteral", 108 "value": 1, 109 "loc": { 110 "start": { 111 "line": 18, 112 "column": 5 113 }, 114 "end": { 115 "line": 18, 116 "column": 6 117 } 118 } 119 }, 120 "kind": "method", 121 "static": false, 122 "optional": false, 123 "computed": false, 124 "value": { 125 "type": "FunctionExpression", 126 "function": { 127 "type": "ScriptFunction", 128 "id": null, 129 "generator": false, 130 "async": false, 131 "expression": false, 132 "params": [], 133 "loc": { 134 "start": { 135 "line": 18, 136 "column": 6 137 }, 138 "end": { 139 "line": 18, 140 "column": 9 141 } 142 } 143 }, 144 "loc": { 145 "start": { 146 "line": 18, 147 "column": 6 148 }, 149 "end": { 150 "line": 18, 151 "column": 9 152 } 153 } 154 }, 155 "overloads": [], 156 "decorators": [], 157 "loc": { 158 "start": { 159 "line": 18, 160 "column": 5 161 }, 162 "end": { 163 "line": 18, 164 "column": 9 165 } 166 } 167 }, 168 { 169 "type": "MethodDefinition", 170 "key": { 171 "type": "NumberLiteral", 172 "value": 2, 173 "loc": { 174 "start": { 175 "line": 19, 176 "column": 5 177 }, 178 "end": { 179 "line": 19, 180 "column": 6 181 } 182 } 183 }, 184 "kind": "method", 185 "static": false, 186 "optional": false, 187 "computed": false, 188 "value": { 189 "type": "FunctionExpression", 190 "function": { 191 "type": "ScriptFunction", 192 "id": null, 193 "generator": false, 194 "async": false, 195 "expression": false, 196 "params": [], 197 "body": { 198 "type": "BlockStatement", 199 "statements": [], 200 "loc": { 201 "start": { 202 "line": 19, 203 "column": 9 204 }, 205 "end": { 206 "line": 19, 207 "column": 12 208 } 209 } 210 }, 211 "loc": { 212 "start": { 213 "line": 19, 214 "column": 6 215 }, 216 "end": { 217 "line": 19, 218 "column": 12 219 } 220 } 221 }, 222 "loc": { 223 "start": { 224 "line": 19, 225 "column": 6 226 }, 227 "end": { 228 "line": 19, 229 "column": 12 230 } 231 } 232 }, 233 "overloads": [], 234 "decorators": [], 235 "loc": { 236 "start": { 237 "line": 19, 238 "column": 5 239 }, 240 "end": { 241 "line": 19, 242 "column": 12 243 } 244 } 245 } 246 ], 247 "loc": { 248 "start": { 249 "line": 17, 250 "column": 11 251 }, 252 "end": { 253 "line": 20, 254 "column": 2 255 } 256 } 257 }, 258 "loc": { 259 "start": { 260 "line": 17, 261 "column": 1 262 }, 263 "end": { 264 "line": 20, 265 "column": 2 266 } 267 } 268 } 269 ], 270 "loc": { 271 "start": { 272 "line": 1, 273 "column": 1 274 }, 275 "end": { 276 "line": 20, 277 "column": 2 278 } 279 } 280} 281