I'm glad to have so many friends.

问题描述:

I'm glad to have so many friends.
句中的"to have so many friends" 是什么句子成分?
如果作状语是什么状语?

前面是系表结构,to have so many friends是不定式作表语的补足语