MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / removeFromParent

Method removeFromParent

Source/Node/Node.cpp:586–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586void Node::removeFromParent(bool cleanup) {
587 if (_parent) {
588 _parent->removeChild(this, cleanup);
589 } else if (cleanup) {
590 this->cleanup();
591 }
592}
593
594void Node::moveToParent(Node* parent) {
595 AssertIf(parent == nullptr, "can not move node to an invalid parent (nullptr).");

Callers 15

unmountHostElementFunction · 0.80
destroyMethod · 0.80
runSingleTsTranspileFunction · 0.80
YarnTester.tsFile · 0.80
displayClipsFunction · 0.80
generateClipsFunction · 0.80
compileTSFunction · 0.80
setBatchedMethod · 0.80
_removeDisplayMethod · 0.80
setShowDebugMethod · 0.80
setSlotMethod · 0.80
renderMethod · 0.80

Calls 2

cleanupMethod · 0.95
removeChildMethod · 0.45

Tested by

no test coverage detected