是的,介词短语可以同时作状语和定语。以下是一些具体的例子和解释:
作状语
时间状语:I have lived here since 1990.
地点状语:They play football in the park.
原因状语:He was late because of the traffic.
方式状语:She sings beautifully.
作定语
定语修饰名词:The book on the table is mine.
定语修饰代词:A man with a hat is waiting outside.
定语修饰动名词:Swimming is my favorite sport.
结论
介词短语在句子中可以灵活地充当多种成分,包括状语和定语。具体使用哪种成分,主要取决于介词短语在句子中所修饰的对象以及它在句子中的位置。通过观察介词短语所修饰的成分和它在句子中的位置,可以准确地判断出它是作状语还是定语。