The sentences below prove that the infinitive form of verbs as well as the gerund form can be used in the object position of the sentence structure S-V-O.
I like toys. (toys = object)
I like to play. (to play = object)
I want to play. (to play = object)
I like playing. (playing = object)
In the following sentences, you can see that the direct objects are 'a message', 'a question', 'the answer' and 'something important' respectively.
And the indirect objects would be 'them', 'him', 'her' and 'my mum' respectively.
I sent them a message. OR I sent a message to them.
I asked him a question. OR I asked a question to him.
I told her the answer. OR I told the answer to her.
I told my mum something important. OR I told something important to my mum.
However, EXAMINE this sentence:
I TOLD MY MUM TO COME NOW.
Remembering that the infinitive "to come" is possible as a verb object, [ e.g. They want to come now. ]
and remembering the "I told my mum something important." example,
it seems that "something important" can be replaced by "to come now", so I assume that "my mum" is the indirect object and "to come now" is the direct object.
Is my analyzing soundly right in this regard - that the sentence structure terminology of "to come now" is DIRECT OBJECT, or am I mistaken and is this phrase classed as something else?