Lines Matching refs:current
27 private ?Node $current = null;
35 $this->current = $this->root;
46 $current = $this->current;
48 if ($current === null) {
52 if ($entering && ($current instanceof AbstractBlock || $current->hasChildren())) {
53 if ($current->firstChild()) {
54 $this->current = $current->firstChild();
59 } elseif ($current === $this->root) {
60 $this->current = null;
61 } elseif ($current->next() === null) {
62 $this->current = $current->parent();
65 $this->current = $current->next();
69 return new NodeWalkerEvent($current, $entering);
77 $this->current = $node;