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

Method is_dom_node

package/svelte/compiler.js:14738–14740  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 }
14741 render(_block, _parent_node, _parent_nodes) {
14742 throw Error("Wrapper class is not renderable");
14743 }

Callers 4

get_or_create_anchorMethod · 0.80
get_update_mount_nodeMethod · 0.80
renderMethod · 0.80
render_keyedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected