The moment she saw her mother, she screamed.

Literal

She [topic-は] mother [object-を] see [as soon as-やいなや] loud-voice [with-で] screamed.

~やいなや is a literary conjunction meaning 'as soon as / the instant that.' More emphatic and literary than ~とすぐに or ~たとたん. Common in narrative prose for dramatic effect.