It is generally considered unwise to give a child whatever he or she wants.

问题描述:

It is generally considered unwise to give a child whatever he or she wants.
请问 whatever 在句子中 是作wants的宾语么?
而且也作give的直接宾语?

whatever he or she wants是一个宾语从句,做give的直接宾语
whatever在宾语从句中充当wants的宾语