| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "VariableDeclaration", |
| 12 | "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}, |
| 13 | "declarations": [ |
| 14 | { |
| 15 | "type": "VariableDeclarator", |
| 16 | "start":4,"end":45,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":45,"index":45}}, |
| 17 | "id": { |
| 18 | "type": "ObjectPattern", |
| 19 | "start":4,"end":39,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":39,"index":39}}, |
| 20 | "properties": [ |
| 21 | { |
| 22 | "type": "ObjectProperty", |
| 23 | "start":5,"end":38,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":38,"index":38}}, |
| 24 | "key": { |
| 25 | "type": "Identifier", |
| 26 | "start":5,"end":13,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":13,"index":13},"identifierName":"propName"}, |
| 27 | "name": "propName" |
| 28 | }, |
| 29 | "computed": false, |
| 30 | "method": false, |
| 31 | "shorthand": false, |
| 32 | "value": { |
| 33 | "type": "AssignmentPattern", |
| 34 | "start":15,"end":38,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":38,"index":38}}, |
| 35 | "left": { |
| 36 | "type": "Identifier", |
| 37 | "start":15,"end":23,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":23,"index":23},"identifierName":"localVar"}, |
| 38 | "name": "localVar" |
| 39 | }, |
| 40 | "right": { |
| 41 | "type": "Identifier", |
| 42 | "start":26,"end":38,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":38,"index":38},"identifierName":"defaultValue"}, |
| 43 | "name": "defaultValue" |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | ] |
| 48 | }, |
| 49 | "init": { |
| 50 | "type": "Identifier", |
| 51 | "start":42,"end":45,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":45,"index":45},"identifierName":"obj"}, |
| 52 | "name": "obj" |
| 53 | } |
| 54 | } |
| 55 | ], |
| 56 | "kind": "var" |
| 57 | } |
| 58 | ], |
| 59 | "directives": [] |
| 60 | } |
| 61 | } |