public function readCurrent()
    {
        if ($this->hasCurrent()) {
            $char = $this->input[$this->position];
        } else {
            $char = null;
        }

        return $char;
    }