| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "ClassDeclaration", |
| 12 | "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}}, |
| 13 | "id": { |
| 14 | "type": "Identifier", |
| 15 | "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"}, |
| 16 | "name": "Foo" |
| 17 | }, |
| 18 | "superClass": null, |
| 19 | "body": { |
| 20 | "type": "ClassBody", |
| 21 | "start":10,"end":31,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":31,"index":31}}, |
| 22 | "body": [ |
| 23 | { |
| 24 | "type": "ClassProperty", |
| 25 | "start":12,"end":29,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":29,"index":29}}, |
| 26 | "decorators": [ |
| 27 | { |
| 28 | "type": "Decorator", |
| 29 | "start":12,"end":16,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":16,"index":16}}, |
| 30 | "expression": { |
| 31 | "type": "Identifier", |
| 32 | "start":13,"end":16,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":16,"index":16},"identifierName":"bar"}, |
| 33 | "name": "bar" |
| 34 | } |
| 35 | } |
| 36 | ], |
| 37 | "static": false, |
| 38 | "key": { |
| 39 | "type": "Identifier", |
| 40 | "start":17,"end":20,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":20,"index":20},"identifierName":"foo"}, |
| 41 | "name": "foo" |
| 42 | }, |
| 43 | "computed": false, |
| 44 | "value": { |
| 45 | "type": "StringLiteral", |
| 46 | "start":23,"end":28,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":28,"index":28}}, |
| 47 | "extra": { |
| 48 | "rawValue": "bar", |
| 49 | "raw": "\"bar\"" |
| 50 | }, |
| 51 | "value": "bar" |
| 52 | } |
| 53 | } |
| 54 | ] |
| 55 | } |
| 56 | } |
| 57 | ], |
| 58 | "directives": [] |
| 59 | } |
| 60 | } |