The people all wanted a new leader.
In the above example, what is the grammatical function of all? Is it an inversion of 'all of the people' or 'all the people'? Or is it something else entirely?
I have noticed various ambiguous constructions like these, most of which involve a quantifier (e.g. all, both, each, etc.).