MCPcopy Index your code
hub / github.com/nodejs/node / endNode

Function endNode

test/fixtures/snapshot/typescript.js:140853–140860  ·  view source on GitHub ↗

Call after calling `startNode` and adding children to it.

()

Source from the content-addressed store, hash-verified

140851 }
140852 /** Call after calling `startNode` and adding children to it. */
140853 function endNode() {
140854 if (parent.children) {
140855 mergeChildren(parent.children, parent);
140856 sortChildren(parent.children);
140857 }
140858 parent = parentsStack.pop();
140859 trackedEs5Classes = trackedEs5ClassesStack.pop();
140860 }
140861 function addNodeWithRecursiveChild(node, child, name) {
140862 startNode(node, name);
140863 addChildrenRecursively(child);

Callers 5

rootNavigationBarNodeFunction · 0.85
endNestedNodesFunction · 0.85
addChildrenRecursivelyFunction · 0.85

Calls 3

mergeChildrenFunction · 0.85
sortChildrenFunction · 0.85
popMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…