MCPcopy
hub / github.com/lebab/lebab / withComments

Function withComments

src/transform/forOf.js:40–44  ·  view source on GitHub ↗
(node, forOf)

Source from the content-addressed store, hash-verified

38}
39
40function withComments(node, forOf) {
41 copyComments({from: node, to: forOf});
42 copyComments({from: node.body.body[0], to: forOf});
43 return forOf;
44}
45
46function createForOf({item, itemKind, array, body}) {
47 return {

Callers 1

enterFunction · 0.70

Calls 1

copyCommentsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…