Optimize validation of current token parser