src/Jade/Lexer.php
public function lookahead($number = 1)
    {
        $fetch = $number - count($this->stash);

        while ($fetch-- > 0) {
            $this->stash[] = $this->next();
        }

        return $this->stash[--$number];
    }
public function lookahead($number = 1)
    {
        $fetch = $number - count($this->stash);

        while ($fetch-- > 0) {
            $this->stash[] = $this->next();
        }

        return $this->stash[--$number];
    }
public function lookahead ( $ number = 1 ) { $ fetch = $ number - count ( $ this -> stash ) ; while ( $ fetch -- > 0 ) { $ this -> stash [ ] = $ this -> next ( ) ; } return $ this -> stash [ -- $ number ] ; }
Lookahead token 'n'.

@param   integer $number number of tokens to predict

@return  Object              predicted token
Lookahead token n .