What is the modern grammarian's part-of-speech for all in
Collect them all!
What is the modern grammarian's part-of-speech for all in
Collect them all!
A dictionary shows that all can function as an adverb or a determiner (with a couple of minor uses). In this sentence, it is an adverb, roughly synonymous with "entirely" or "completely". It modifies the imperative verb "Collect".
I don't know modern grammar, but The Teacher's Grammar of English suggests it's a determiner functioning as a quantifier. And the process of moving it to the final position is called a quantifier-pronoun flip.
Collect all of them
Collect them all Quantifier-pronoun flip
This quantifier-pronoun flip applies to a pronoun that is not a subject of the sentence.
Collect [them all].
Here them all is a Compound-Pronoun.
In general, a compound word is formed by multiple lexemes, and hence individual lexemes can be classified into various known word-classes.
But here in them all, it's really hard to determine the word class of all. However, we have no problem identifying the Personal Pronoun - them. If pressed, I would call this all a Determinitive. But I'm not 100 percent sure about this.