Simplify creating a parser from a token tree

Closes #15306