Lines Matching refs:null
31 protected ?Node $parent = null;
34 protected ?Node $previous = null;
37 protected ?Node $next = null;
40 protected ?Node $firstChild = null;
43 protected ?Node $lastChild = null;
67 protected function setParent(?Node $node = null): void
70 $this->depth = $node === null ? 0 : $node->depth + 1;
136 $this->parent = null;
137 $this->next = null;
138 $this->previous = null;
144 return $this->firstChild !== null;
163 for ($current = $this->firstChild; $current !== null; $current = $current->next) {
201 $children->setParent(null);
204 $this->firstChild = $this->lastChild = null;
243 $this->parent = null;
244 $this->previous = null;
245 $this->next = null;