Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-in-arrow-param/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "AssignmentPattern",
22 "start":1,"end":33,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":33,"index":33}},
23 "left": {
24 "type": "Identifier",
25 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2},"identifierName":"a"},
26 "name": "a"
27 },
28 "right": {
29 "type": "FunctionExpression",
30 "start":5,"end":33,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":33,"index":33}},
31 "id": null,
32 "generator": false,
33 "async": false,
34 "params": [
35 {
36 "type": "Identifier",
37 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"a"},
38 "name": "a"
39 }
40 ],
41 "body": {
42 "type": "BlockStatement",
43 "start":18,"end":33,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":33,"index":33}},
44 "body": [
45 {
46 "type": "ExpressionStatement",
47 "start":20,"end":31,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":31,"index":31}},
48 "expression": {
49 "type": "AssignmentExpression",
50 "start":20,"end":31,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":31,"index":31}},
51 "operator": "=",
52 "left": {
53 "type": "ArrayPattern",
54 "start":20,"end":25,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":25,"index":25}},
55 "elements": [
56 {
57 "type": "Identifier",
58 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"a"},
59 "name": "a",
60 "extra": {
61 "parenthesized": true,
62 "parenStart": 21
63 }
64 }
65 ]
66 },
67 "right": {
68 "type": "ArrayExpression",
69 "start":28,"end":31,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":31,"index":31}},
70 "elements": [
71 {
72 "type": "NumericLiteral",
73 "start":29,"end":30,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":30,"index":30}},
74 "extra": {
75 "rawValue": 0,
76 "raw": "0"
77 },
78 "value": 0
79 }
80 ]
81 }
82 }
83 }
84 ],
85 "directives": []
86 }
87 }
88 }
89 ],
90 "body": {
91 "type": "BlockStatement",
92 "start":38,"end":40,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":40,"index":40}},
93 "body": [],
94 "directives": []
95 }
96 }
97 }
98 ],
99 "directives": []
100 }
101 }