Lines Matching defs:next
37 protected ?Node $next = null;
57 public function next(): ?Node
59 return $this->next;
79 $sibling->next = $this->next;
81 if ($sibling->next) {
82 $sibling->next->previous = $sibling;
86 $this->next = $sibling;
89 if (! $sibling->next && $sibling->parent) {
103 $sibling->previous->next = $sibling;
106 $sibling->next = $this;
125 $this->previous->next = $this->next;
127 $this->parent->firstChild = $this->next;
130 if ($this->next) {
131 $this->next->previous = $this->previous;
137 $this->next = null;
163 for ($current = $this->firstChild; $current !== null; $current = $current->next) {
245 $this->next = null;