IElementType (IElementType type, Lexer originalLexer) { if (!IDENTIFIER_TOKENS.contains(type)) { return type; } while (true) { final IElementType tokenType = originalLexer.getTokenType(); if (!IDENTIFIER_TOKENS.contains(tokenType)) break; originalLexer.advance(); } return EditorConfigElementTypes.IDENTIFIER; }