MCPcopy 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

deserializeChildSetMethod · 0.80
wrapNodeMethod · 0.80
getExpressionFromStringFunction · 0.80
generateKeyValuePairFunction · 0.80
getDictionaryTestFileFunction · 0.80
getHelloWorldPythonFileFunction · 0.80
getAssignStatementFunction · 0.80
getHelloWorldPythonFileFunction · 0.80
getArgFunction · 0.80
getExpressionFromStringFunction · 0.80

Calls 1

insertNodeMethod · 0.95

Tested by 9

getExpressionFromStringFunction · 0.64
generateKeyValuePairFunction · 0.64
getDictionaryTestFileFunction · 0.64
getHelloWorldPythonFileFunction · 0.64
getAssignStatementFunction · 0.64
getHelloWorldPythonFileFunction · 0.64
getArgFunction · 0.64
getExpressionFromStringFunction · 0.64
getBreadcrumbsTestFileFunction · 0.64