Lines Matching refs:parent
31 protected ?Node $parent = null;
62 public function parent(): ?Node
64 return $this->parent;
69 $this->parent = $node;
87 $sibling->setParent($this->parent);
89 if (! $sibling->next && $sibling->parent) {
90 $sibling->parent->lastChild = $sibling;
108 $sibling->setParent($this->parent);
110 if (! $sibling->previous && $sibling->parent) {
111 $sibling->parent->firstChild = $sibling;
126 } elseif ($this->parent) {
127 $this->parent->firstChild = $this->next;
132 } elseif ($this->parent) {
133 $this->parent->lastChild = $this->previous;
136 $this->parent = null;
243 $this->parent = null;