MCPcopy
hub / github.com/livebud/bud / leave

Function leave

package/svelte/compiler.js:5455–5462  ·  view source on GitHub ↗
(node2)

Source from the content-addressed store, hash-verified

5453 }
5454 },
5455 leave(node2) {
5456 if (comments[0]) {
5457 const slice2 = raw.slice(node2.end, comments[0].start);
5458 if (/^[,) \t]*$/.test(slice2)) {
5459 node2.trailingComments = [comments.shift()];
5460 }
5461 }
5462 }
5463 });
5464 function is_reference(node2, parent) {
5465 if (node2.type === "MemberExpression") {

Callers

nothing calls this directly

Calls 10

flatten_bodyFunction · 0.85
flatten_propertiesFunction · 0.85
flatten$1Function · 0.85
extract_namesFunction · 0.85
invalidateFunction · 0.85
hasMethod · 0.80
replaceMethod · 0.80
stringifyMethod · 0.80
getMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected