public function moveNext()
    {
        $this->peek = 0;
        $this->token = $this->next;
        $this->next = isset($this->tokens[++$this->i]) ? $this->tokens[$this->i] : null;

        return null !== $this->next;
    }
public function moveNext()
    {
        $this->peek = 0;
        $this->token = $this->next;
        $this->next = isset($this->tokens[++$this->i]) ? $this->tokens[$this->i] : null;

        return null !== $this->next;
    }
public function moveNext ( ) { $ this -> peek = 0 ; $ this -> token = $ this -> next ; $ this -> next = isset ( $ this -> tokens [ ++ $ this -> i ] ) ? $ this -> tokens [ $ this -> i ] : null ; return null !== $ this -> next ; }
Moves the pointer one token forward.

@return boolean if we have not yet reached the end of the input
Moves the pointer one token forward .