Debian Codegraph @

packages/babel-parser/test/fixtures/core/categorized/valid-assignment-pattern-3/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": "Identifier",
23 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"x"},
24 "name": "x",
25 "extra": {
26 "parenthesized": true,
27 "parenStart": 1
28 }
29 }
30 ]
31 },
32 "right": {
33 "type": "Identifier",
34 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"t"},
35 "name": "t"
36 }
37 }
38 }
39 ],
40 "directives": []
41 }
42 }