Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/member-expr-in-rest/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
16 "operator": "=",
17 "left": {
18 "type": "ArrayPattern",
19 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
20 "elements": [
21 {
22 "type": "RestElement",
23 "start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}},
24 "argument": {
25 "type": "MemberExpression",
26 "start":4,"end":8,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":8,"index":8}},
27 "object": {
28 "type": "Identifier",
29 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"a"},
30 "name": "a"
31 },
32 "computed": true,
33 "property": {
34 "type": "NumericLiteral",
35 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}},
36 "extra": {
37 "rawValue": 0,
38 "raw": "0"
39 },
40 "value": 0
41 }
42 }
43 }
44 ]
45 },
46 "right": {
47 "type": "NumericLiteral",
48 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
49 "extra": {
50 "rawValue": 0,
51 "raw": "0"
52 },
53 "value": 0
54 }
55 }
56 }
57 ],
58 "directives": []
59 }
60 }