Lines Matching refs:Child
73 void syntax::Tree::prependChildLowLevel(Node *Child, NodeRole Role) {
74 assert(Child->role() == NodeRole::Detached);
77 Child->setRole(Role);
78 prependChildLowLevel(Child);
81 void syntax::Tree::prependChildLowLevel(Node *Child) {
82 assert(Child->Parent == nullptr);
83 assert(Child->NextSibling == nullptr);
84 assert(Child->role() != NodeRole::Detached);
86 Child->Parent = this;
87 Child->NextSibling = this->FirstChild;
88 this->FirstChild = Child;