| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":78,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":78,"index":78}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":78,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":78,"index":78}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "ClassDeclaration", |
| 12 | "start":0,"end":78,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":78,"index":78}}, |
| 13 | "id": { |
| 14 | "type": "Identifier", |
| 15 | "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"}, |
| 16 | "name": "A" |
| 17 | }, |
| 18 | "superClass": null, |
| 19 | "body": { |
| 20 | "type": "ClassBody", |
| 21 | "start":8,"end":78,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":78,"index":78}}, |
| 22 | "body": [ |
| 23 | { |
| 24 | "type": "ClassMethod", |
| 25 | "start":10,"end":29,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":29,"index":29}}, |
| 26 | "static": true, |
| 27 | "key": { |
| 28 | "type": "Identifier", |
| 29 | "start":21,"end":24,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":24,"index":24},"identifierName":"foo"}, |
| 30 | "name": "foo" |
| 31 | }, |
| 32 | "computed": false, |
| 33 | "kind": "get", |
| 34 | "id": null, |
| 35 | "generator": false, |
| 36 | "async": false, |
| 37 | "params": [], |
| 38 | "body": { |
| 39 | "type": "BlockStatement", |
| 40 | "start":27,"end":29,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":29,"index":29}}, |
| 41 | "body": [], |
| 42 | "directives": [] |
| 43 | } |
| 44 | }, |
| 45 | { |
| 46 | "type": "ClassMethod", |
| 47 | "start":30,"end":50,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":50,"index":50}}, |
| 48 | "static": true, |
| 49 | "key": { |
| 50 | "type": "Identifier", |
| 51 | "start":41,"end":44,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":44,"index":44},"identifierName":"foo"}, |
| 52 | "name": "foo" |
| 53 | }, |
| 54 | "computed": false, |
| 55 | "kind": "set", |
| 56 | "id": null, |
| 57 | "generator": false, |
| 58 | "async": false, |
| 59 | "params": [ |
| 60 | { |
| 61 | "type": "Identifier", |
| 62 | "start":45,"end":46,"loc":{"start":{"line":1,"column":45,"index":45},"end":{"line":1,"column":46,"index":46},"identifierName":"v"}, |
| 63 | "name": "v" |
| 64 | } |
| 65 | ], |
| 66 | "body": { |
| 67 | "type": "BlockStatement", |
| 68 | "start":48,"end":50,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":50,"index":50}}, |
| 69 | "body": [], |
| 70 | "directives": [] |
| 71 | } |
| 72 | }, |
| 73 | { |
| 74 | "type": "ClassMethod", |
| 75 | "start":51,"end":63,"loc":{"start":{"line":1,"column":51,"index":51},"end":{"line":1,"column":63,"index":63}}, |
| 76 | "static": false, |
| 77 | "key": { |
| 78 | "type": "Identifier", |
| 79 | "start":55,"end":58,"loc":{"start":{"line":1,"column":55,"index":55},"end":{"line":1,"column":58,"index":58},"identifierName":"foo"}, |
| 80 | "name": "foo" |
| 81 | }, |
| 82 | "computed": false, |
| 83 | "kind": "get", |
| 84 | "id": null, |
| 85 | "generator": false, |
| 86 | "async": false, |
| 87 | "params": [], |
| 88 | "body": { |
| 89 | "type": "BlockStatement", |
| 90 | "start":61,"end":63,"loc":{"start":{"line":1,"column":61,"index":61},"end":{"line":1,"column":63,"index":63}}, |
| 91 | "body": [], |
| 92 | "directives": [] |
| 93 | } |
| 94 | }, |
| 95 | { |
| 96 | "type": "ClassMethod", |
| 97 | "start":64,"end":77,"loc":{"start":{"line":1,"column":64,"index":64},"end":{"line":1,"column":77,"index":77}}, |
| 98 | "static": false, |
| 99 | "key": { |
| 100 | "type": "Identifier", |
| 101 | "start":68,"end":71,"loc":{"start":{"line":1,"column":68,"index":68},"end":{"line":1,"column":71,"index":71},"identifierName":"foo"}, |
| 102 | "name": "foo" |
| 103 | }, |
| 104 | "computed": false, |
| 105 | "kind": "set", |
| 106 | "id": null, |
| 107 | "generator": false, |
| 108 | "async": false, |
| 109 | "params": [ |
| 110 | { |
| 111 | "type": "Identifier", |
| 112 | "start":72,"end":73,"loc":{"start":{"line":1,"column":72,"index":72},"end":{"line":1,"column":73,"index":73},"identifierName":"v"}, |
| 113 | "name": "v" |
| 114 | } |
| 115 | ], |
| 116 | "body": { |
| 117 | "type": "BlockStatement", |
| 118 | "start":75,"end":77,"loc":{"start":{"line":1,"column":75,"index":75},"end":{"line":1,"column":77,"index":77}}, |
| 119 | "body": [], |
| 120 | "directives": [] |
| 121 | } |
| 122 | } |
| 123 | ] |
| 124 | } |
| 125 | } |
| 126 | ], |
| 127 | "directives": [] |
| 128 | } |
| 129 | } |