Extract function to parse axes
Extract function to parse node tests
Create method to consume tokens
Support axis and node test at the same time