Lines Matching refs:src
75 function copyPropsRenamed(src, dest, prefix) {
76 for (const key of ReflectOwnKeys(src)) {
78 const desc = ReflectGetOwnPropertyDescriptor(src, key);
87 // `src` is bound as the `this` so that the static `this` points
90 value: applyBind(desc.value, src),
97 function copyPropsRenamedBound(src, dest, prefix) {
98 for (const key of ReflectOwnKeys(src)) {
100 const desc = ReflectGetOwnPropertyDescriptor(src, key);
106 desc.value = value.bind(src);
114 value: applyBind(value, src),
121 function copyPrototype(src, dest, prefix) {
122 for (const key of ReflectOwnKeys(src)) {
124 const desc = ReflectGetOwnPropertyDescriptor(src, key);
357 const copyProps = (src, dest) => {
358 ArrayPrototypeForEach(ReflectOwnKeys(src), (key) => {
363 { __proto__: null, ...ReflectGetOwnPropertyDescriptor(src, key) });