The idea to eat in the restaurant sounds wonderfuls.请帮助分析一下句子成分、

问题描述:

The idea to eat in the restaurant sounds wonderfuls.请帮助分析一下句子成分、
to eat in the restaurant 这个在句中是什么啊?
-3L
不定式不可以做同位语的吧?

sorry,
刚没看清楚,确实说错了
to eat in the restaurant是作idea的定语
sound是谓语
wonderful是补语