Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-nested-cover-grammar/output.json

raw
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": "ArrowFunctionExpression",
15 "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":50,"index":50}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "ArrayPattern",
22 "start":1,"end":46,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":46,"index":46}},
23 "elements": [
24 {
25 "type": "ArrayPattern",
26 "start":2,"end":45,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":45,"index":45}},
27 "elements": [
28 {
29 "type": "ArrayPattern",
30 "start":3,"end":44,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":44,"index":44}},
31 "elements": [
32 {
33 "type": "ArrayPattern",
34 "start":4,"end":43,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":43,"index":43}},
35 "elements": [
36 {
37 "type": "ArrayPattern",
38 "start":5,"end":42,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":42,"index":42}},
39 "elements": [
40 {
41 "type": "ArrayPattern",
42 "start":6,"end":41,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":41,"index":41}},
43 "elements": [
44 {
45 "type": "ArrayPattern",
46 "start":7,"end":40,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":40,"index":40}},
47 "elements": [
48 {
49 "type": "ArrayPattern",
50 "start":8,"end":39,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":39,"index":39}},
51 "elements": [
52 {
53 "type": "ArrayPattern",
54 "start":9,"end":38,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":38,"index":38}},
55 "elements": [
56 {
57 "type": "ArrayPattern",
58 "start":10,"end":37,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":37,"index":37}},
59 "elements": [
60 {
61 "type": "ArrayPattern",
62 "start":11,"end":36,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":36,"index":36}},
63 "elements": [
64 {
65 "type": "ArrayPattern",
66 "start":12,"end":35,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":35,"index":35}},
67 "elements": [
68 {
69 "type": "ArrayPattern",
70 "start":13,"end":34,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":34,"index":34}},
71 "elements": [
72 {
73 "type": "ArrayPattern",
74 "start":14,"end":33,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":33,"index":33}},
75 "elements": [
76 {
77 "type": "ArrayPattern",
78 "start":15,"end":32,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":32,"index":32}},
79 "elements": [
80 {
81 "type": "ArrayPattern",
82 "start":16,"end":31,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":31,"index":31}},
83 "elements": [
84 {
85 "type": "ArrayPattern",
86 "start":17,"end":30,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":30,"index":30}},
87 "elements": [
88 {
89 "type": "ArrayPattern",
90 "start":18,"end":29,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":29,"index":29}},
91 "elements": [
92 {
93 "type": "ArrayPattern",
94 "start":19,"end":28,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":28,"index":28}},
95 "elements": [
96 {
97 "type": "ArrayPattern",
98 "start":20,"end":27,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":27,"index":27}},
99 "elements": [
100 {
101 "type": "ObjectPattern",
102 "start":21,"end":26,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":26,"index":26}},
103 "properties": [
104 {
105 "type": "ObjectProperty",
106 "start":22,"end":25,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":25,"index":25}},
107 "method": false,
108 "key": {
109 "type": "Identifier",
110 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"a"},
111 "name": "a"
112 },
113 "computed": false,
114 "shorthand": true,
115 "value": {
116 "type": "AssignmentPattern",
117 "start":22,"end":25,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":25,"index":25}},
118 "left": {
119 "type": "Identifier",
120 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"a"},
121 "name": "a"
122 },
123 "right": {
124 "type": "Identifier",
125 "start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"b"},
126 "name": "b"
127 }
128 },
129 "extra": {
130 "shorthand": true
131 }
132 }
133 ]
134 }
135 ]
136 }
137 ]
138 }
139 ]
140 }
141 ]
142 }
143 ]
144 }
145 ]
146 }
147 ]
148 }
149 ]
150 }
151 ]
152 }
153 ]
154 }
155 ]
156 }
157 ]
158 }
159 ]
160 }
161 ]
162 }
163 ]
164 }
165 ]
166 }
167 ]
168 }
169 ]
170 }
171 ]
172 }
173 ]
174 }
175 ],
176 "body": {
177 "type": "NumericLiteral",
178 "start":49,"end":50,"loc":{"start":{"line":1,"column":49,"index":49},"end":{"line":1,"column":50,"index":50}},
179 "extra": {
180 "rawValue": 0,
181 "raw": "0"
182 },
183 "value": 0
184 }
185 }
186 }
187 ],
188 "directives": []
189 }
190 }