Test panic message needs a format string to print something useful
Parse the axis name and double colon as a single token
Use the AxisName enum instead of a String
Extract a method to parse literals, allowing reuse
Parse node-type tests as an enum
Parse functions directly, no longer need to disambiguate
Parse variable references directly, not as multiple tokens
Combine PrefixedName and String into NameTest