MCPcopy
hub / github.com/sveltejs/svelte / assign_nodes

Function assign_nodes

packages/svelte/src/internal/client/dom/template.js:40–45  ·  view source on GitHub ↗
(start, end)

Source from the content-addressed store, hash-verified

38 * @param {TemplateNode | null} end
39 */
40export function assign_nodes(start, end) {
41 var effect = /** @type {Effect} */ (active_effect);
42 if (effect.nodes === null) {
43 effect.nodes = { start, end, a: null, t: null };
44 }
45}
46
47/**
48 * @param {string} content

Callers 10

_mountFunction · 0.90
elementFunction · 0.90
asyncFunction · 0.90
createRawSnippetFunction · 0.90
htmlFunction · 0.90
from_htmlFunction · 0.85
from_namespaceFunction · 0.85
from_treeFunction · 0.85
textFunction · 0.85
commentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected