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

Method get_update_mount_node

package/svelte/compiler.js:14735–14737  ·  view source on GitHub ↗
(anchor)

Source from the content-addressed store, hash-verified

14733 return anchor;
14734 }
14735 get_update_mount_node(anchor) {
14736 return this.parent && this.parent.is_dom_node() ? this.parent.var : x`${anchor}.parentNode`;
14737 }
14738 is_dom_node() {
14739 return this.node.type === "Element" || this.node.type === "Text" || this.node.type === "MustacheTag";
14740 }

Callers 6

renderMethod · 0.80
render_compoundMethod · 0.80
render_simpleMethod · 0.80
render_dynamic_keyMethod · 0.80

Calls 2

xFunction · 0.85
is_dom_nodeMethod · 0.80

Tested by

no test coverage detected