What's in the funny poem "Night Thinking"?

The foot of my bed is shining so brightly,

Li Bai slept soundly.

Dream of Niu Wangmo,

I peed my pants with fear.

There is moonlight in front of the bed,

Much like frost on the ground,

Looking at the moon,

I think of my hometown.

This is from our class: there is such bright light at the foot of my bed. Could it have been frosted? . Look up at the moon and look down at the beautiful scenery.