Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SplootCode/splootcode
/ addChild
Method
addChild
packages/core/src/language/childset.ts:175–178 ·
view source on GitHub ↗
(child: SplootNode)
Source
from the content-addressed store, hash-verified
173
}
174
175
addChild(child: SplootNode) {
176
this.insertNode(child, this.children.length)
177
child.parent = this.childParentRef
178
}
179
180
getChild(index: number) {
181
return
this.children[index]
Callers
15
applySerializedSnapshot
Method · 0.95
deserializeChildSet
Method · 0.80
wrapNode
Method · 0.80
getExpressionFromString
Function · 0.80
generateKeyValuePair
Function · 0.80
getDictionaryTestFile
Function · 0.80
getHelloWorldPythonFile
Function · 0.80
getAssignStatement
Function · 0.80
fragment_insert.test.ts
File · 0.80
getHelloWorldPythonFile
Function · 0.80
getArg
Function · 0.80
getExpressionFromString
Function · 0.80
Calls
1
insertNode
Method · 0.95
Tested by
9
getExpressionFromString
Function · 0.64
generateKeyValuePair
Function · 0.64
getDictionaryTestFile
Function · 0.64
getHelloWorldPythonFile
Function · 0.64
getAssignStatement
Function · 0.64
getHelloWorldPythonFile
Function · 0.64
getArg
Function · 0.64
getExpressionFromString
Function · 0.64
getBreadcrumbsTestFile
Function · 0.64