Student or Learner
I want to know the grammatical rule of me in the following sentence:
"My parents wanted me to do my homework."
And, are all of the analysis correct?!
My:modifier of parents
me: indirect object of wanted and subject of infinitive "to do"
to do my home work:direct object of wanted.
my:modifier of homework
homework : direct object of infinitive "to do".
But on the below link, the teacher said the "me" is only subject of infinitive "to do" and is not indirect object of wanted. Why?!