| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "ExpressionStatement", |
| 12 | "start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}}, |
| 13 | "expression": { |
| 14 | "type": "ObjectExpression", |
| 15 | "start":1,"end":50,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":50,"index":50}}, |
| 16 | "properties": [ |
| 17 | { |
| 18 | "type": "ObjectMethod", |
| 19 | "start":3,"end":48,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":48,"index":48}}, |
| 20 | "method": true, |
| 21 | "key": { |
| 22 | "type": "Identifier", |
| 23 | "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"x"}, |
| 24 | "name": "x" |
| 25 | }, |
| 26 | "computed": false, |
| 27 | "kind": "method", |
| 28 | "id": null, |
| 29 | "generator": false, |
| 30 | "async": false, |
| 31 | "params": [ |
| 32 | { |
| 33 | "type": "ObjectPattern", |
| 34 | "start":5,"end":31,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":31,"index":31}}, |
| 35 | "properties": [ |
| 36 | { |
| 37 | "type": "ObjectProperty", |
| 38 | "start":7,"end":18,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":18,"index":18}}, |
| 39 | "key": { |
| 40 | "type": "Identifier", |
| 41 | "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"a"}, |
| 42 | "name": "a" |
| 43 | }, |
| 44 | "computed": false, |
| 45 | "method": false, |
| 46 | "shorthand": false, |
| 47 | "value": { |
| 48 | "type": "ObjectPattern", |
| 49 | "start":10,"end":18,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":18,"index":18}}, |
| 50 | "properties": [ |
| 51 | { |
| 52 | "type": "ObjectProperty", |
| 53 | "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}}, |
| 54 | "key": { |
| 55 | "type": "Identifier", |
| 56 | "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"w"}, |
| 57 | "name": "w" |
| 58 | }, |
| 59 | "computed": false, |
| 60 | "method": false, |
| 61 | "shorthand": true, |
| 62 | "value": { |
| 63 | "type": "Identifier", |
| 64 | "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"w"}, |
| 65 | "name": "w" |
| 66 | }, |
| 67 | "extra": { |
| 68 | "shorthand": true |
| 69 | } |
| 70 | }, |
| 71 | { |
| 72 | "type": "ObjectProperty", |
| 73 | "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16}}, |
| 74 | "key": { |
| 75 | "type": "Identifier", |
| 76 | "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"x"}, |
| 77 | "name": "x" |
| 78 | }, |
| 79 | "computed": false, |
| 80 | "method": false, |
| 81 | "shorthand": true, |
| 82 | "value": { |
| 83 | "type": "Identifier", |
| 84 | "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"x"}, |
| 85 | "name": "x" |
| 86 | }, |
| 87 | "extra": { |
| 88 | "shorthand": true |
| 89 | } |
| 90 | } |
| 91 | ] |
| 92 | } |
| 93 | }, |
| 94 | { |
| 95 | "type": "ObjectProperty", |
| 96 | "start":20,"end":29,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":29,"index":29}}, |
| 97 | "key": { |
| 98 | "type": "Identifier", |
| 99 | "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"b"}, |
| 100 | "name": "b" |
| 101 | }, |
| 102 | "computed": false, |
| 103 | "method": false, |
| 104 | "shorthand": false, |
| 105 | "value": { |
| 106 | "type": "ArrayPattern", |
| 107 | "start":23,"end":29,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":29,"index":29}}, |
| 108 | "elements": [ |
| 109 | { |
| 110 | "type": "Identifier", |
| 111 | "start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"y"}, |
| 112 | "name": "y" |
| 113 | }, |
| 114 | { |
| 115 | "type": "Identifier", |
| 116 | "start":27,"end":28,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":28,"index":28},"identifierName":"z"}, |
| 117 | "name": "z" |
| 118 | } |
| 119 | ] |
| 120 | } |
| 121 | } |
| 122 | ] |
| 123 | }, |
| 124 | { |
| 125 | "type": "RestElement", |
| 126 | "start":33,"end":45,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":45,"index":45}}, |
| 127 | "argument": { |
| 128 | "type": "ArrayPattern", |
| 129 | "start":36,"end":45,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":45,"index":45}}, |
| 130 | "elements": [ |
| 131 | { |
| 132 | "type": "Identifier", |
| 133 | "start":37,"end":38,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":38,"index":38},"identifierName":"a"}, |
| 134 | "name": "a" |
| 135 | }, |
| 136 | { |
| 137 | "type": "Identifier", |
| 138 | "start":40,"end":41,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":41,"index":41},"identifierName":"b"}, |
| 139 | "name": "b" |
| 140 | }, |
| 141 | { |
| 142 | "type": "Identifier", |
| 143 | "start":43,"end":44,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":44,"index":44},"identifierName":"c"}, |
| 144 | "name": "c" |
| 145 | } |
| 146 | ] |
| 147 | } |
| 148 | } |
| 149 | ], |
| 150 | "body": { |
| 151 | "type": "BlockStatement", |
| 152 | "start":46,"end":48,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":48,"index":48}}, |
| 153 | "body": [], |
| 154 | "directives": [] |
| 155 | } |
| 156 | } |
| 157 | ], |
| 158 | "extra": { |
| 159 | "parenthesized": true, |
| 160 | "parenStart": 0 |
| 161 | } |
| 162 | } |
| 163 | } |
| 164 | ], |
| 165 | "directives": [] |
| 166 | } |
| 167 | } |