src/Language/Parser.php
protected function advance()
    {
        $this->cursor = $this->token->getEnd();
        return $this->token = $this->lexer->readToken($this->cursor);
    }
protected function advance()
    {
        $this->cursor = $this->token->getEnd();
        return $this->token = $this->lexer->readToken($this->cursor);
    }
protected function advance ( ) { $ this -> cursor = $ this -> token -> getEnd ( ) ; return $ this -> token = $ this -> lexer -> readToken ( $ this -> cursor ) ; }
Moves the internal parser object to the next lexed token.
Moves the internal parser object to the next lexed token .