move getTokenType() up so white-spaces are skipped before rawTokenIndex() call