Debian Codegraph @

packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-rest/parameters/output.js

raw
1 const _excluded = ["a1"],
2 _excluded2 = ["a2", "b2"],
3 _excluded3 = ["a5"],
4 _excluded4 = ["a3"],
5 _excluded5 = ["ba1"],
6 _excluded6 = ["a3", "b2"],
7 _excluded7 = ["ba1"],
8 _excluded8 = ["a1"],
9 _excluded9 = ["a1"];
10 function a(_ref) {
11 let a34 = babelHelpers.extends({}, (babelHelpers.objectDestructuringEmpty(_ref), _ref));
12 }
13 function a2(_ref2) {
14 let {
15 a1
16 } = _ref2,
17 b1 = babelHelpers.objectWithoutProperties(_ref2, _excluded);
18 }
19 function a3(_ref3) {
20 let {
21 a2,
22 b2
23 } = _ref3,
24 c2 = babelHelpers.objectWithoutProperties(_ref3, _excluded2);
25 }
26 function a4(_ref4, _ref5) {
27 let {
28 a5
29 } = _ref5,
30 c5 = babelHelpers.objectWithoutProperties(_ref5, _excluded3);
31 let {
32 a3
33 } = _ref4,
34 c3 = babelHelpers.objectWithoutProperties(_ref4, _excluded4);
35 }
36 function a5(_ref6) {
37 let {
38 a3,
39 b2: {
40 ba1
41 }
42 } = _ref6,
43 ba2 = babelHelpers.objectWithoutProperties(_ref6.b2, _excluded5),
44 c3 = babelHelpers.objectWithoutProperties(_ref6, _excluded6);
45 }
46 function a6(_ref7) {
47 let {
48 a3,
49 b2: {
50 ba1
51 }
52 } = _ref7,
53 ba2 = babelHelpers.objectWithoutProperties(_ref7.b2, _excluded7);
54 }
55 function a7(_ref8 = {}) {
56 let {
57 a1 = 1
58 } = _ref8,
59 b1 = babelHelpers.objectWithoutProperties(_ref8, _excluded8);
60 }
61 function a8([_ref9]) {
62 let a1 = babelHelpers.extends({}, (babelHelpers.objectDestructuringEmpty(_ref9), _ref9));
63 }
64 function a9([_ref10]) {
65 let {
66 a1
67 } = _ref10,
68 a2 = babelHelpers.objectWithoutProperties(_ref10, _excluded9);
69 }
70 function a10([a1, _ref11]) {
71 let a2 = babelHelpers.extends({}, (babelHelpers.objectDestructuringEmpty(_ref11), _ref11));
72 }
73 // Unchanged
74 function b(a) {}
75 function b2(a, ...b) {}
76 function b3({
77 b
78 }) {}