Optimized Lexer::getStepKeywordType