Mā is a preposition in the exclamation.

The Two Exclamatory Verbs: Forms, Rules and Parsing