Home / Function/ Skip_static_subtree() — svelte Function Reference

Skip_static_subtree() — svelte Function Reference

Architecture documentation for the Skip_static_subtree() function in index.svelte.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  0ae85144_6ff2_122d_202d_35ed1f2d2a2a["Skip_static_subtree()"]
  1acf461e_6345_5fcc_3b07_e90d7392540c["index.svelte.js"]
  0ae85144_6ff2_122d_202d_35ed1f2d2a2a -->|defined in| 1acf461e_6345_5fcc_3b07_e90d7392540c
  style 0ae85144_6ff2_122d_202d_35ed1f2d2a2a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/tests/snapshot/samples/skip-static-subtree/_expected/client/index.svelte.js lines 6–49

export default function Skip_static_subtree($$anchor, $$props) {
	var fragment = root();
	var main = $.sibling($.first_child(fragment), 2);
	var h1 = $.child(main);
	var text = $.child(h1, true);

	$.reset(h1);

	var node = $.sibling(h1, 10);

	$.html(node, () => $$props.content);
	$.next(14);
	$.reset(main);

	var cant_skip = $.sibling(main, 2);
	var custom_elements = $.child(cant_skip);

	$.set_custom_element_data(custom_elements, 'with', 'attributes');
	$.reset(cant_skip);

	var div = $.sibling(cant_skip, 2);
	var input = $.child(div);

	$.autofocus(input, true);
	$.reset(div);

	var div_1 = $.sibling(div, 2);
	var source = $.child(div_1);

	source.muted = true;
	$.reset(div_1);

	var select = $.sibling(div_1, 2);
	var option = $.child(select);

	option.value = option.__value = 'a';
	$.reset(select);

	var img = $.sibling(select, 2);

	$.next(2);
	$.template_effect(() => $.set_text(text, $$props.title));
	$.append($$anchor, fragment);
}

Domain

Subdomains

Frequently Asked Questions

What does Skip_static_subtree() do?
Skip_static_subtree() is a function in the svelte codebase, defined in packages/svelte/tests/snapshot/samples/skip-static-subtree/_expected/client/index.svelte.js.
Where is Skip_static_subtree() defined?
Skip_static_subtree() is defined in packages/svelte/tests/snapshot/samples/skip-static-subtree/_expected/client/index.svelte.js at line 6.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free