Returns the current element.
public function current() : ?AbstractNode { return $this->valid() ? $this->nodes[$this->position] : null; }