إعراب جملة “سهرت والقمر”:
سهرت: (سهر) فعل ماض مبني على السكون لاتصاله بتاء الفاعل والتاء ضمير متصل مبني على الضم في محل رفع فاعل
و: الواو حرف عطف مبني على الفتح لا محل له من الإعراب
القمر: اسم معطوف مرفوع وعلامة رفعه الضمة الظاهرة على آخره
The sentence “سهرت والقمر” can be analyzed as follows: “سهرت” is a past tense verb with the subject pronoun تاء الفاعل and the object pronoun تاء ضمير. The و in between is a conjunction without a specific grammatical function. “القمر” is a noun in the accusative case with a visible dhamma indicating its status as the object of the verb.