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