英语中的 spend sth doing sth 是一个常用句式,意思是“花费……做某事”,如:
I spent hours browsing in the bookshop. 我花了几个小时在书店里翻阅图书。
They spent the day cleaning out the garage. 他们一天都在清理车库。
I spent some time trying to convince her. 我花了不少时间试图说服她。
He spent his spare time gardening, to the exclusion of all other interests. 他把余暇时间用于养花弄草,没有别的兴趣。
请问这类句子中的 doing sth 在句子中用作什么成分?