Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/svelte
/ append
Method
append
packages/svelte/src/compiler/phases/1-parse/index.js:317–320 ·
view source on GitHub ↗
* @template {AST.Fragment['nodes'][number]} T * @param {T} node * @returns {T}
(node)
Source
from the content-addressed store, hash-verified
315
* @returns {T}
316
*/
317
append(node) {
318
this.fragments.at(-1)?.nodes.push(node);
319
return
node;
320
}
321
}
322
323
/**
Callers
15
tag
Function · 0.45
open
Function · 0.45
next
Function · 0.45
special
Function · 0.45
element
Function · 0.45
text
Function · 0.45
block
Function · 0.45
attributes
Function · 0.45
base_element
Function · 0.45
Fragment
Function · 0.45
DeclarationTag
Function · 0.45
fragment_from_tree
Function · 0.45
Calls
1
push
Method · 0.80
Tested by
2
test
Function · 0.36
test
Function · 0.36